Robert Hicks wrote:
I was just wondering...

Create:

  >>> from worldcookery.recipe import Recipe
  >>> recipe = Recipe()
  >>> folder['dead_chicken'] = recipe

Read:

  >>> folder['dead_chicken']
  <worldcookery.recipe.Recipe object at XXX>

Update:

  >>> recipe = folder['dead_chicken']
  >>> recipe.title = u'Dead chicken'
  >>> recipe.description = u'Beat it to death'

Delete:

  >>> del recipe['dead_chicken']


Welcome to the wonderful world of Zope's object database (ZODB).

Philipp

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to