[Grok-dev] browsing and modifying persistent objects in zodb

cstrong at arielpartners.com cstrong at arielpartners.com
Fri Jun 20 13:42:47 EDT 2008


I apologize in advance as I am sure this is probably a FAQ.

At my day job, I have an application connected to an Oracle database.
One of the screens displays "requests entered today"
I was doing some testing and noticed the table was empty, but remembered
it was full yesterday.
So, I just jumped into SQL Navigator and changed the "submit date" for all
the requests entered yesterday to day = day + 1
Back in my screen, voila!  all my data appears.

I can do that since this is a DEV environment and I have the privilege and
it is all just for testing.

That got me thinking how could I do the equivalent thing for a Grok
application using ZODB for all its persistence?

I envision an automatically generated page that introspects the app, finds
the objects, walks the relationships, and displays view/edit pages
automatically generated enabling the user to change object data in
arbitrary ways.

Obviously that would be a super-user only thing, probably dev mode only.

I vaguely recall something like this being discussed some time ago on
zope3-dev.  I believe that Ruby on Rails does something like this.

Does anyone know the status of this use case?

thanks!

--Craeg



More information about the Grok-dev mailing list