Hi, what I would like to do is store not just data, but the actual code running
in a system in something like Og. It would be similar to how Zope (I think)
runs objects from its database. I would like to introduce the concept of
versioning classes. ie. There could be a 'stable' version of a class that the
site is using by default while a developer is testing and modifying a new
version of the class on the same system.
I have been thinking about it for a while and wonder if it is feasible or even a
sane idea and how to implement it.
For specific implementation details:
I think the general idea would be that the normal system would contain the
default set of classes loaded. A 'view' would contain version specific
overrides for a list of some classes. When a view is requested, somehow the
version specific classes are loaded and used instead.
Does anybody see a way to implement this using Binding? (does a context include
the classes defined at that time or just 'live' instances)
Another possibility might be altering .new to return the version specific object
when the view tells it to do so.
Any comments or suggestions are appreciated.