Dec 23, 2007

Data Persistence Framework - II

To continue from the previous post, I am going to discuss further use cases for such a persistence scheme:
  • The <Meta/> element describes the make up and relationships of the object
  • Each of the child nodes of the <Meta/> element can be treated like a column
  • Relationship to another object can be specified in a child node by the type="dbobject"
  • Other types are simple value types like int32, decimal, string & datetime
Please note that this scheme may not be the only object persistence mechanism. We should also have traditional ORM mechanism for strategic operations (in order to provide better scalability).

This data persistence layer is much more in the spirit of rapid application development which can be built on top of a traditional layer of objects.

No comments: