Code generator for DAL:
- Head over to Codeplex
- Download Subsonic 2.1
- Install. No GAC. No add-ins.
- Settings in web.config
- Uses ActiveRecord pattern; 80% of the projects are light-weight, doesn’t use Enterprise patterns
- “I want the developer to go home early”
- Industry strength: can it scale? No?
- nHibernate is excellent at; caching; future query;
- Generally, start with DB; build out your model;
- Migrations can generate database for you. (Define class in .NET code first.)
- Command line tool that can (Sonic.exe AKA Subcommander) generate DAL.
- Use typical repository pattern (returns IList of )
- Generates ANSI-SQL for multiple Database Standards
- LLBLGEN Pro: pocket book constraint; blows doors over Subsonic’s functionality; but it’s edge-case stuff;
- nHibernate: complex to implement;
- Subsonic: for people who aren’t into the tinkering of creating a web site; pragmatic
- example: Subsonic Starter Site (Dot Net Nuke ultra-light); no longer supported
No comments:
Post a Comment