O'Reilly logo

Professional Plone Development: Building robust, content-centric web applications with Plone 3, an open source Content Management System by Martin Aspeli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2. ZODB Persistence

When working with Zope, developers are largely free from having to worry about persistence. Zope begins a new transaction for each request. If an error occurs (i.e. an uncaught exception is raised), the transaction is rolled back and no changes are written. If no error occurs, the transaction is committed, and any changes to objects connected to the ZODB object graph are saved.

Transactions

Transactions are managed by the transaction module. It is possible to manually begin and end transactions, but in practice the only operation you are likely to perform is to set a savepoint. A savepoint is like a sub-transaction. It is required before certain operations, but it also helps free memory by writing the partial transaction to a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required