by Jimmy
1. September 2011 00:51
About Richard
Richard Wilde AKA Rippo is the owner ofwildesoft.net, a software developer and a coordinator for NxtGenUG a developers group in Hereford. He has been developing .Net applications since 2003. You can catch him on twitter @rippo
The Talk
NHibernate is an Object-relational mapping (ORM) solution for the Microsoft .NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database. My NHibernate presentation will be broken up into 4 parts:-
PART 1: Models and mappings - Shows how to model components, inheritance and collections using hbm XMLmappings
PART 2 : Mapping by code - Shows how to model the same model in part 1 using the new sexy mapping by code syntax new to NHibernate 3.2. A simple console application showed how to retrieve some data.
PART 3: Sessions and transactions - Shows how NHibernate can be configured into a MVC 3 application, how a unit of work can implemented and how we can use NHProf.
PART 4: Queries - Shows how we break up a MVC 3 application into layers comprising of a Domain.Model, a service layer, a repository layer and the MVC 3 layer. The application uses Unity to achieve a loosely coupled design. NHProf is used extensively to show how we can optimise the queries. This part also covers eager loading versus lazy loading and how you should be aware of unwanted side effects.
Meeting
The date is 5th October 2011. The meeting will be in the Maxima Forum in Cheltenham and will start at 6.30pm and end at about 9pm. There will be refreshments and hot pizza. Please arrive in time. Details here.