node.ext.zodbNode Implementation with ZODB persistence | |
Download |
node.ext.zodb Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- BlueDynamics Alliance
- Publisher web site:
- http://bluedynamics.com
node.ext.zodb Tags
node.ext.zodb Description
node.ext.zodb is a persistent node implementation for the ZODB.With node a unified robust tree structure can be build and with this package this structures can be persisted easily.It provides two implementation types: node.ext.zodb.ZODBNode based on persistent.dict.PersistentDict, node.ext.zodb.OOBTNode based on BTrees.OOBTree.OOBTree.UsageFirst a open DB connection is needed. This may be a naked ZODB install or in an context of Pyramid or Zope2/ Plone or where ever it makes sense for you.Once the DB root object or any other contained persistent object is available adding nodes is as simple as so:>>> from node.ext.zodb import ZODBNode>>> root = ZODBNode()>>> root.attrs = "Willi">>> root = ZODBNode()>>> root.attrs = "Innsbruck, Austria">>> root = ZODBNode()>>> root.attrs = "Hall in Tirol, Austria"Once the transaction is committed all changes are persistent.For more information on node and its usage please refer to the node documentation.Product's homepage
node.ext.zodb Related Software