Wow, thanks to the EDMUG guys... you did a fantastic job of organizing this event and what a great turn out. I think this year had a very cohesive series of sessions and really show that the
Edmonton development community is engaging more and more in ALT.NET and moving away from the MS endorsed drag 'n drop Designer Oriented Architecture (DOA for short... no really). I met a lot of great people (even some nice Calgarians ... heh heh) and had some great conversations. Hope to see you all around!
In case you missed it I did a session on Unit of Work where we implemented a hand rolled Unit of Work to demonstrate all the moving pieces: Object State, Identity Map, Repositories and Workspace. We also talked a bit about some problems inherent in the Unit of Work including how to deal with object state during and after persistence as well as what to do when objects are getting persisted in the wrong order.
You'll be able to download the code using the following two tags representing the start and completion of the session:
http://bourgeois-codecamp.googlecode.com/svn/T4.EdCodeCamp.UnitOfWorkStart
http://bourgeois-codecamp.googlecode.com/svn/T4.EdCodeCamp.UnitOfWorkComplete
My slide deck is posted here (please forgive the tacky background):
http://bourgeois-codecamp.googlecode.com/files/UnitofWork.ppt
The Unit of Work session was actually part of a bigger course. In this SVN repository you will find the entire contents of this day long course which covers the following topics:
- Refactoring out the Code Smells
- Introducing the Model View Presenter
- Inversion of Control using Windsor
- Unit of Work
- Building with NAnt
