Apr 15 2010

NHibernate Demo - Slides and Code

Category: Software DevelopmentJeff @ 02:05

Here is a link to the code and slides from my recent presentations on NHibernate.

UPDATE: I've changed the link since I've uploaded a more recent version of the demo code that contains a fix for the "minor glitch" I experienced during the presentation last night.  Please update your links:

docs.google.com/l...

UPDATE: Thanks to Mike Baun for pointing out that an edit I made during the presentation caused the source to function incorrectly.

Go to the project "SurveyIt.Specs", open the folder "Config", open the file "NHibernateMapperTester" and check out lines 71 and 72.  These need to be uncommented, or you won't see data in the survey tables.  The "Company" table was added on the fly during the presentation in order to demonstrate the ability to rapidly persist a new class.

 

 

 

 

Tags: , , ,

Comments

1.
Michael Baun United States says:

Great presentation Jeff.

2.
topsy.com says:

Pingback from topsy.com

Twitter Trackbacks for
        
        Agilification | NHibernate Demo - Slides and Code
        [agilification.com]
        on Topsy.com

3.
Phil Derksen United States says:

Very informative talk Jeff. And great networking after. Thanks!

4.
Michael Baun United States says:

Only the company table appears to be populating with Data in SQL. What am I missing?

5.
Jeff Doolittle United States says:

Oy!  Thanks Mike, good find.

Go to the project "SurveyIt.Specs", open the folder "Config", open the file "NHibernateMapperTester" and check out lines 71 and 72.

I left those commented from the presentation.  Doh!  Uncomment them and try again.

--Jeff

6.
Michael Baun United States says:

I made the mistake of looking at the code to find out why it failed the test instead of looking at the test to see why it failed the code.

On another note  Data-Oriented "Big Model Up Front" is a definite high risk  activity. I look forward to avoiding these risks. Your definitely qualified to speak on this subject and I think it would make an interesting presentation. I think the model being at the bottom layer gives the impression that it is the foundation for what is built on and one afterall must build a detailed complete foundation first because the rest of the layers depend on this. Which is of course WRONG WRONG WRONG.

7.
Jeff Doolittle United States says:

@Mike - check out Jeff Palermo's series on the "Onion Architecture"

jeffreypalermo.com/.../
jeffreypalermo.com/.../
jeffreypalermo.com/.../

You'll need a very strong grasp of SOLID (Dependency Injection in particular) to pull this off.  However, it truly makes the Domain Model the core/foundation of your application rather than a database.

8.
Chris Ward United States says:

Very good presentation Jeff. I am also interested in knowing what your development environment is like. You were running a couple of third party tools but I wasn't sure which.
You can take this offline if you don't want to "endorse" anyone!

9.
121.animejin.com says:

Pingback from 121.animejin.com

Chevrolet Caprice Radiator Auto Parts, 1984 1990 Chevy Caprice For Auction

Comments are closed