Well I am trying hard to figure out Object Databases and how to use them. As my previous post humbly points out I am being dated by ORMs. Not that I haven't in the past written my own ORM in python (2 different times). My favorite ORM is SQLAlchemy is great because it provides a relation mapping to tables. After the darks days of EJB and trying to figure out how to write a better ORM I came to the conclusion that Relational data are not OBJECTS or classes, a table is not composed in another table it is related! Round peg square hole is what I started to see and now it seems so clear to me.
There is a problem though. We don't have a language agnostic (that I know of) Object Database. The benifit of RDBMS as the application data usually changes little even though languages and frameworks go out of fashion very quickly. However we would need to store this in something like Corba IDL which describe language agnostic object syntax. We are doing all this work so that we can store the methods along with the data? We don't need to store the method definitions though right. So really all we need to do is store the data structure which our Relation Databases already do very well. Or do they? The advantage of what I have seen form Object Dataabases (include googles app engine storage) is that they provide storage of the data. So really I am looking for data structure storage that is language agnostic, high peformance, transactional and easy to use. Does that exist? Well off to find something (CouchDB?) that I can use.
0 comments:
Post a Comment