During Python Argentina Camp 2010 (PyCamp) i started to work on a set of tools with the aim to make Zope2 developer life easier. The first of those is a ZodbBrowser. On that time the idea was to build something like:
Right now ZodbBrowser let's you browse the whole ZODB content tree and for every object you can get:
- Its class and ancestors source code.
- Its attributes values and callables source code
- Its Interface class source code
These are the features included on the 0.1 experimental version release. Although there are many fixes and improvements to do, there's a minimal set of features working enough to go ahead with a experimental version for testing and to get feedback from community.
Watch it working
Try it!
If you already have a buildout for Zope2.13 or Plone4 running, edit buildout.cfg to add zope2.zodbbrowser to eggs and zcml sections at buildout and instance parts respectively.
[buildout]
...
eggs = zope2.zodbbrowser
...
[instance]
...
zcml = zope2.zodbbrowser
Then run bin/buildout to make the changes effective. To access zodbbrowser add /zodbbrowser in your zope instance url, for example: http://localhost:8080/zodbbrowser.
Acknowledgments
ZodbBrowser wouldn't be possible without the support and help of Python and Plone Community, PyCamp and the 2nd Plone Symposium South America, where it was held the last sprint and i attended to Steve McMahon's JQuery training where i got the "magic knowledge" to get this idea working.
Feedback and issues
If you find an issue you can report it at http://code.google.com/p/zodbbrowser. As always, comments, ideas and questions are very welcome!.