PTracker example with NHibernate - is David Dilworth still posting?

PTracker example with NHibernate - is David Dilworth still posting?

Old forum URL: forums.lhotka.net/forums/t/2172.aspx


JustinThirkell posted on Thursday, January 18, 2007

Hi,

I've read through all the forum messages about using NHibernate with CSLA and it looks as though David Dilworth was planning to set up a version of PTracker which used NHibernate for persistance.  Is there such a thing available at all? 

I've had a look on CSLAContrib but nothing there and I'm not sure if David is still active in this space.  A reference implementation would be really helpful if there's one around...

Cheers

Justin      

DavidDilworth replied on Tuesday, January 23, 2007

Hi Justin,

Yes I am still around - mainly as a reader at the moment, rather than as a contributor.

You know the story though - changing project requirements, project deadlines to meet and all that...

Anyway, that's why we haven't been able to get an NHibernate version of the ProjectTracker example up - we've been too busy doing project work instead.

However, we are still using a combination of CSLA and NHibernate and will continue to do so for the foreseeable future.

I still believe that we can (one day) re-work the Project Tracker example in an NHibernate style - it's just not going to be today !

 

chiefy81 replied on Saturday, March 10, 2007

For what its worth, I would love to see this when it is complete.  I think this would be valuable to many CSLAer to see the synergy between nhibernate and csla.  Keep us updated, thanks!


DavidDilworth replied on Monday, March 12, 2007

Thank you for your interest and I have some good news.

We have completed an NHibernate version of the ProjectTracker example project.

I am currently corresponding with Rocky to see if I can get it released as part of the CSLAContrib project on CodePlex.

Watch this space!

JustinThirkell replied on Monday, March 12, 2007

Hey, wow, that’s great news!    Thanks for that.

 

I’ve been working on few things myself – particularly around the testability of CSLA business objects.  I’ve abstracted out all the persistence and using Windsor for IoC so I can inject the persistence mechanism (Mock, ADO.NET, Nhibernate, etc) at runtime.  Works really nicely – you can run unit tests against business objects which don’t have to hit the db layer so you can test property setters/getters/biz logic without the distraction and performance overhead of actual db connections.

 

Anyway, excellent news.

 

Cheers

 

justin

 

From: DavidDilworth [mailto:cslanet@lhotka.net]
Sent: Tuesday, 13 March 2007 1:06 a.m.
To: Justin Thirkell
Subject: Re: [CSLA .NET] PTracker example with NHibernate - is David Dilworth still posting?

 

Thank you for your interest and I have some good news.

We have completed an NHibernate version of the ProjectTracker example project.

I am currently corresponding with Rocky to see if I can get it released as part of the CSLAContrib project on CodePlex.

Watch this space!



RichardETVS replied on Tuesday, March 13, 2007

JustinThirkell:
I’ve been working on few things myself – particularly around the testability of CSLA business objects.  I’ve abstracted out all the persistence and using Windsor for IoC so I can inject the persistence mechanism (Mock, ADO.NET, Nhibernate, etc) at runtime.  Works really nicely – you can run unit tests against business objects which don’t have to hit the db layer so you can test property setters/getters/biz logic without the distraction and performance overhead of actual db connections.

 

That seems really interesting! If you have an example to post, it would be great ;) !

jason2000 replied on Saturday, March 17, 2007

I've read some code snippets about using NHibernate with CSLA in this forum and  I believe David has really set up a great example for it.  I've had a look on CSLAContrib but nothing there and I'm expecting the example very much.

Jason      

DavidDilworth replied on Thursday, May 03, 2007

I can (at last) announce that there is now a ProjectTracker.NHibernate example solution on the CSLAcontrib site on CodePlex.

Can I suggest that all future CSLA / NHibernate questions (especially those related to the ProjectTracker.NHibernate solution) are posted on the CslaContrib forum.

Thank you all for your patience and support.

Copyright (c) Marimer LLC