The ZODB takes a minimalist approach to the services it provides.
ZODB对其提供的服务采用了一种最低要求的方法。
This is a key reason why ZODB is the most popular back end for Zope applications.
这是ZODB成为 Zope 应用程序的最常用后端的关键原因。
An object in a ZODB database is allowed to have any collection of instance attributes.
ZODB数据库中的对象允许具有任何实例属性的集合。
ZODB includes a BTree implementation that allows relation-like structures to be defined and used.
ZODB包括一个BTree实现,允许定义和使用关系样式的结构。
This ability makes the ZODB very popular for programmers implementing content management systems!
此能力使得ZODB在实现内容管理系统的程序员中非常流行!
Instead, a ZODB administrator will typically establish a cron job to perform the operation regularly.
相反,ZODB管理员通常将建立一个cron作业来定期执行该操作。
You need to explicitly tell ZODB about changes to lists or dictionaries because the ZODB cannot see the change being made.
您需要显式地将对列表或字典的更改告诉ZODB,因为ZODB无法了解所做的更改。
For many applications, especially applications involving complex objects, a database like the ZODB is a lot easier to deal with.
对于许多应用程序,尤其是涉及到复杂对象的应用程序,诸如 ZODB 等数据库要容易处理得多。
Now for the other big difference between the ZODB and a relational database: ZODB objects completely lack any schema specification.
下面讨论一下ZODB和关系数据库之间的其他主要区别:ZODB对象完全缺乏任何模式规范。
But the ZODB really comes into its own when container objects are placed into the root object which can then, in turn, hold other objects.
但是在将容器对象放到根对象中,然后根对象反过来又可以包含其他对象时,ZODB就真正派上了用场。
ZODB is a robust, multi-user, object-oriented database system capable of storing and managing arbitrarily complex Python objects with transaction support and concurrency control.
ZODB是一个健壮的、多用户的和面向对象的数据库系统,它能够存储和管理任意复杂的Python对象,并支持事务操作和并发控制。
To show how to use the ZODB, and to illustrate its properties, we will demonstrate three basic operations: First, we will show how to set up and tear down a connection to the ZODB.
为了介绍如何使用ZODB,以及说明其属性,我们将演示三个基本操作:首先,我们将介绍如何建立和断开到ZODB的连接。
Just call your ZODB object containers "Folders" when displaying them for public consumption, and users will happily navigate your object hierarchy as though it were a familiar filesystem.
当显示用于公共使用时,只需将ZODB对象容器称为“文件夹”,用户将非常愉快地导航对象层次结构,就像是导航熟悉的文件系统一样。
Just call your ZODB object containers "Folders" when displaying them for public consumption, and users will happily navigate your object hierarchy as though it were a familiar filesystem.
当显示用于公共使用时,只需将ZODB对象容器称为“文件夹”,用户将非常愉快地导航对象层次结构,就像是导航熟悉的文件系统一样。
应用推荐