And we've thus extended Zope in C.
我们就这样用c扩展了Zope。
Test discovery in the Zope framework.
Zope框架中的测试发现。
Zope 2 often made many implicit assumptions.
Zope2经常会有很多隐含的设定。
You might want to extend Zope in C for several reasons.
有几个原因使您可能想用c扩展Zope。
More complex classes can be called from Zope scripts (a new feature in Zope 2.3).
更复杂的类,可以从zope脚本中调用(这是Zope 2.3的一个新功能)。
Several content management systems, including Zope and CityDesk, now support it.
一些内容管理系统,包括Zope和 CityDesk现在也支持它了。
Using External Methods covers the details of creating External Methods for Zope.
使用外部方法详细介绍了为Zope创建外部方法的详细信息。
This is a key reason why ZODB is the most popular back end for Zope applications.
这是ZODB成为 Zope 应用程序的最常用后端的关键原因。
This article only hints at the vast amount of stuff you can do with Zope Products.
本文只是尽量多提供一些您能通过使用Zope Product做到的事的提示。
Once your Python extension is complete, the next step is getting Zope to work with it.
一旦完成了您的Python扩展,下一步就是使Zope 能和它一起工作。
VFS is a major part of the technical infrastructure that gives Zope its renowned power.
VFS是使Zope声名远扬的技术基础结构的主要组成部分。
As usual, the developers working on the Zope project seem to have been early innovators.
通常,从事Zope项目的开发人员就像是早期的拓荒者。
The simplest way to call Python from Zope is to make your Python code an External Method.
从Zope调用Python 的最简单的方式是把您的 Python代码做成外部方法。
You should know how to install Python and Zope 3 (and do so before reading this chapter).
你应当知道如何使用所用操作系统的命令行。
The well-known Zope application server provides a slightly more challenging example of a VFS.
众所周知的Zope应用程序服务器提供了一个颇有挑战性的 VFS示例。
There is a great deal of power and flexibility in the Zope model, and it's well worth exploring.
Zope模型有很强大的功能和很大的灵活性,它们都很值得探究。
After the basic code and interfaces, comes the trick of wiring the content objects into Zope 3.
在编写基本编码和接口之后,接下来就是要将内容对象写入Zope 3了。
A Zope database can store all sorts of Python objects. The following script stores several values.
Zope数据库可以存储所有类型的Python对象。
Zope scripts are a new feature with Python 2.3, and they are intended to supplant External Methods.
zope脚本是Python 2.3的一个想用来代替外部方法的新功能。
py; note that the only thing this does is to tell Zope what the name is of the class we're installing.
请注意它只做了一件事,即告诉Zope我们正在安装的类的名称。
Zope's "acquisition" concept maps programmatic objects to URLs. In Zope, invocation of a method such as
Zope的“获得(acquisition)”概念将程序化的对象映射成URL。
But what we've done so far is setup the Model objects and wired them into the basic Zope 3 application.
但到目前为止我所做的就是设置模型对象并将它们引入到基本的Zope 3应用程序中。
Turning first to the zope.testing framework, you discover something interesting about the zope community.
对于zope. testing框架,您会发现zope社区有一些有意思的现象。
The "minimal" product doesn't do much, but it's easier to understand than the current Zope Developer's Guide.
“最小”product做不了很多事,但它比现有的Zope开发者指南更容易理解。
If you have used zope interfaces, you may have seen examples of class initializers (zope.interface.implements).
如果使用过zope界面,也许见过类初始化器的例子(zope . interface . implements)。
The zope.testing module is, in zope packages, often called by a buildout recipe that specifies default options.
在zope包中,指定默认选项的buildout常常调用zope. testing模块。
For a good real-life example, take a look at the ZCatalog implementation, part of the standard Zope distribution.
要看一个优秀的、现实存在的示例,可以去看Z Catalog实现,它是标准Zope分发的一部分。
Also note, finally, that the Zope test frameworks only support tests that are either UnitTest instances or doctests.
最后注意,Zope测试框架只支持UnitTest实例或doctest。
External Methods are Python functions that have been placed into the "Extensions" directory in the Zope installation.
外部方法是被放到Zope安装目录下的“Extensions”目录中的python函数。
External Methods are Python functions that have been placed into the "Extensions" directory in the Zope installation.
外部方法是被放到Zope安装目录下的“Extensions”目录中的python函数。
应用推荐