I think Manuel has a point here that I was trying to get to earlier. PHP being a stateless non compiled language will require some key differences exactly when it comes to the point of persistance. You can either solve this in a very un-PHP kind of way by using something like an application server and thereby essentially making PHP stateful or you can take a path like MetaStorage which essentially moves all the brains into a separate generation stage. The end result is not really a persistance layer in the classic java sense but more a code generator that creates the code necessary to communicate with your storage layer. So its not really what the thread tried to achieve. The question is just if the goal of the thread is feasible in PHP. Only time will tell :-)