Subversion repository up and running!

Published October 22, 2006 on adamfortuna

    Dreamhost really does have a lot of extremely useful features. Aside from rails support and the one click install/upgrades for wordpress and phpbb, they have one thing you rarely find — Subversion support! You can create as many repo's as you want. By default when you create a repository you can specify public or private. Public means that only users you create and commit to it, but anyone can read. Private requires authentication to view, and everyone that can view can commit. So for the little project I'm working on I decided to create a public repository. Right now i'm using Eclipse/CFEclipse/Adobe Flex Builder/Subclipsefor the development, and I'm considering buying a Flex 2 license. Perhaps later on I'll be able to get a little help, or maybe some tips, but I'm far from the code review point. If you're interested in seeing the most incomplete Model Glue Unity site out there, check out the svn repo at <http://svn.adamfortuna.com/public/> . Right now I'm working on the security layer, which is pretty standard at this point. It extends Reactors validation and expands on it for my site specific validation, which turned out to be a breeze. For instance, when a user is created, a lot of basic validation on the username is required. Was a username entered (assuming it's not null)? Is it under 50 characters, or whatever the database columns maxlength is? It is full of acceptable characters for this field? All of these are handled by Reactor just by making it a varchar(50) not null in the database, but there's a few more things I want to validate in the username. Reading over the Reactor Mailing List , the solution that seemed the cleanest was to override the validateusername method in the MemberValidator and in it call the super() function. Here's what it looks like now . Email address is also validated in this file to be sure it's unique in about the same way: [cfm] s a better way of handling this, just need to research it a bit.