Billy has posted his new best practices with asp.net mvc, nhibernate and spring.net. This is the same architecture that I have been using (we have conversed on a few emails) and it’s a good setup.
Those 3 frameworks together can provide a good sound solution. Spring.net handles the dependency injection of controllers and dao/repository objects as well as manage the nhibernate session and transactional support.
As he mentions in the documentation, Ayende’s NHibernate Query Generator is a ‘must have’ for me with nhibernate. It integrates into Visual Studio and gives a ‘linq like’ expression language for your dao/repositories.
Great stuff as always from Billy. Here is a direct link to the codeplex setup: http://www.codeplex.com/SharpArchitecture
(Side note: It would be good to see Spring.NET provide Entity Framework support for handling the DataContext.)
examples of how I’m using jQuery:
- good ajax support – including jQuery forms – allowing forms to be posted via ajax with validation
- validation support
- table sorting/paging support
- tab controls
- date controls
- input masks
- modal popups