On Fri, 2004-10-22 at 07:41, Stede Troisi wrote:
> I realize that about 90% of my time is spent building
> plumbing for data access. I am starting to research
> object-relational mapping frameworks and was wondering
> if anyone has any xp feedback on saving and loading
> objects to a relational database?
On two recent XP Java projects, I've been very happy with A) Hibernate,
and B) Prevayler. The first is a good open-source framework for
automatic OR mapping. The second is based around the realization that if
you can fit all your data in memory, you can simplify your code and
greatly improve efficiency by getting rid of the database.
In both cases, we evolved layers around these persistence frameworks
that better expressed what we were up to and allowed us to easily swap
in a fake persistence layers to make our test code faster and simpler.
Also in both cases, schema migration was the biggest thing getting in
the way of XP, but in both cases a little thought and some elbow grease
gave us a solution that we were happy with.
The thing that made me happiest about these tools is that the
interesting code isn't all cluttered up with persistence plumbing. The
core domain objects are very clear and expressive.
William
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]
ad-free courtesy of objectmentor.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/extremeprogramming/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/