Commit 948df571 authored by Paul Winkler's avatar Paul Winkler

Fixed some trivial typos in docs.

parent 69b34b13
...@@ -198,7 +198,13 @@ Zope Installation Frequently Asked Questions ...@@ -198,7 +198,13 @@ Zope Installation Frequently Asked Questions
"AttributeError, _length" when trying to use the ZCatalog? "AttributeError, _length" when trying to use the ZCatalog?
In Zope 2.8 we cleaned up the index implementations and therefore In Zope 2.8 we cleaned up the index implementations and therefore
you need to migrate every single ZCatalog manually: you need to migrate every single ZCatalog manually.
Notice: **YOU SHOULD BACKUP YOUR var/Data.fs file before starting
the migration**, see http://www.zope.org/Wikis/ZODB/FileStorageBackup
for backup instructions.
To perform the migration:
- go to the ZMI - go to the ZMI
...@@ -215,10 +221,7 @@ Zope Installation Frequently Asked Questions ...@@ -215,10 +221,7 @@ Zope Installation Frequently Asked Questions
take a while take a while
- after the conversion a message will appear: "Indexes - after the conversion a message will appear: "Indexes
converted and reindexes" converted and reindexed"
- Notice: **YOU SHOULD BACKUP YOUR var/Data.fs file before
starting the migration**
General General
...@@ -236,3 +239,4 @@ Zope Installation Frequently Asked Questions ...@@ -236,3 +239,4 @@ Zope Installation Frequently Asked Questions
source will contain the last good HTML returned by the request source will contain the last good HTML returned by the request
before the error occurred. This is due to caching by the before the error occurred. This is due to caching by the
browser. Clear your cache and view the HTML source again. browser. Clear your cache and view the HTML source again.
...@@ -2,7 +2,7 @@ Using Zope 3 Components in Zope 2 Applications ...@@ -2,7 +2,7 @@ Using Zope 3 Components in Zope 2 Applications
Background Background
Zope 3 is next major revision of Zope. It is designed to be more Zope 3 is the next major revision of Zope. It is designed to be more
'programmer-centric' and easier to learn, use and extend. Zope 3 'programmer-centric' and easier to learn, use and extend. Zope 3
introduces an interface-centric component architecture that makes introduces an interface-centric component architecture that makes
it easier to develop and deploy components without requiring it easier to develop and deploy components without requiring
...@@ -12,7 +12,7 @@ Using Zope 3 Components in Zope 2 Applications ...@@ -12,7 +12,7 @@ Using Zope 3 Components in Zope 2 Applications
of the zope.org Website at http://dev.zope.org/Zope3/. of the zope.org Website at http://dev.zope.org/Zope3/.
As of Zope 2.8, the "Five" project has been integrated into the As of Zope 2.8, the "Five" project has been integrated into the
Zope 2 core. The "Five" project implements a compatibily layer Zope 2 core. The "Five" project implements a compatibility layer
that allows many Zope 3 components and patterns to be used in that allows many Zope 3 components and patterns to be used in
new and existing Zope 2 applications. This provides a number of new and existing Zope 2 applications. This provides a number of
benefits:: benefits::
...@@ -34,7 +34,7 @@ Using Zope 3 Components in Zope 2 Applications ...@@ -34,7 +34,7 @@ Using Zope 3 Components in Zope 2 Applications
Zope Configuration Markup Language (ZCML), adapters, views, Zope Configuration Markup Language (ZCML), adapters, views,
utilities, schema-driven content, and Zope 3 add and edit forms. utilities, schema-driven content, and Zope 3 add and edit forms.
Note that the Five layer does *not* attempt provide a ZMI user Note that the Five layer does *not* attempt to provide a ZMI user
interface for Zope 3 components. interface for Zope 3 components.
Zope 2.8+ includes the essential Zope 3 packages, so it is not Zope 2.8+ includes the essential Zope 3 packages, so it is not
...@@ -54,7 +54,7 @@ Using Zope 3 Components in Zope 2 Applications ...@@ -54,7 +54,7 @@ Using Zope 3 Components in Zope 2 Applications
work with Zope 2 interfaces. This means you can safely make a class work with Zope 2 interfaces. This means you can safely make a class
declare both a Zope 2 and Zope 3 interface independently from each declare both a Zope 2 and Zope 3 interface independently from each
other. It's a rare case where you need this - you're usually better off other. It's a rare case where you need this - you're usually better off
just switching to ``implements()`` for your application possible. just switching to ``implements()`` for your application if possible.
Switching from Zope 2 interfaces to Zope 3 interfaces is easy -- just Switching from Zope 2 interfaces to Zope 3 interfaces is easy -- just
make your interfaces inherit from ``zope.interface.Interface`` instead make your interfaces inherit from ``zope.interface.Interface`` instead
...@@ -165,6 +165,7 @@ Using Zope 3 Components in Zope 2 Applications ...@@ -165,6 +165,7 @@ Using Zope 3 Components in Zope 2 Applications
interface interface
--------- ---------
Define an interface in ZCML. Define an interface in ZCML.
layer layer
...@@ -269,3 +270,4 @@ Using Zope 3 Components in Zope 2 Applications ...@@ -269,3 +270,4 @@ Using Zope 3 Components in Zope 2 Applications
content classes. Note however that these permissions will be ignored by content classes. Note however that these permissions will be ignored by
views anyway, as they are trusted -- it only serves to protect directly views anyway, as they are trusted -- it only serves to protect directly
exposed methods on content classes (the python scripts and the ZPublisher). exposed methods on content classes (the python scripts and the ZPublisher).
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment