|
Domain model persistence on the naked CLR
[
bamboo
]
"Assuming that you have no access to tooling, and you don't have the resources to built NHibernate-sque framework, how would you approach building a Domain Driven application on the naked CLR?" The most interesting part of the question for me is "and you don't have the resources to built NHibernate" because it immediately goes to the seemingly basic assumption most people have these days that "Persistence => SQL". Once upon a time a team with 4 people (2 developers, 2 web designers) built the web content management system for the 3rd largest TV station in Brazil on top of System.Runtime.Serialization using the Object Prevalence architecture. Yeah, skin naked CLR. If your specific application can't afford keeping all its objects in memory all the time and you don't mind putting a little clothes on, there's db4o.
DLR seems apropo for not having an entire team to build nhibernate: you no longer have to go to great pains building high performance TransparentProxy, proxy-generator schemes or code instrumentation/modification, be it for prevayler, nhibernate or transparent activation. the ability to perform these kind of manipulations on live objects while retaining a performant primarily-statically-compiled system is potentially greatly simplifying for people wishing to alter their programming models. --rektide, June 7, 2007 09:18 PM
Post a comment
|