About

SubSonic is a .net open source project developed by Rob Conery and a core team of developers including Eric Kemp, Scott Watermasysk, Jon Galloway, Phil Haack, and Gavin Joyce. The current stable release is version 2.0.3. Nightly builds are available in our SVN respository.

Tags

SubSonic: Taking a Look At The New Repository Base Class

Many people have asked over the last few years if it was possible to use SubSonic without Active Record. They didn't like the idea that every object could interact with the database and wanted a more "locked-down" approach. I offered some interim templates to get around this, but with version 2.1 we've advanced this idea further and included the ability to override the object base class entirely.

 

Services, Managers, Helpers, Repositories
There just really isn't a good word for this class but I think people have come to embrace the word "Repository" to refer to your database/data store. Hopefully we can agree on the concept here rather than the wording - if not let me know and I'll do my best to duck responsibility...

If you like ActiveRecord - no worries, it's still our default. If you are curious and want to know more about this Repository thing and how it works - you can watch this screencast.

 

#1 troy on 3.20.2008 at 5:49 PM

love how you guys use the "all your base are belong to us" hype as the slogan for subsonic lol.

Subscribe