Attention

This document was written for an unsupported version of Plone, Plone 2.1.x, and was last updated 1240 days ago.

For more information, see the version support policy.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

Walking through Five to Zope 3

In this tutorial we start you on your journey to the powerful Zope 3 Component Architecture (CA) by way of Five. You will learn about defining and configuring interfaces and adapters, and the CA programming model. You will also learn how to use our new TreeWalker, that helps you easily define recursive operations on object trees.

Warning: This item is marked as outdated.

  1. Introduction How we came to write this tutorial. An overview of our assumptions, our goals, and the pattern we are going to implement.
  2. Test, tests, and more tests Describes usage of doctests, and why we use them here.
  3. Using TreeWalker A look at the TreeWalker from the point of view of a developer who wants to understand what we did, or even download and use our code.
  4. Implementation Overview of the components we will look at in following sections
  5. Interfaces This section makes explicit the difference between Zope 2 and Zope 3 interfaces, and demonstrates the difference between interfaces implemented in the configure.zcml file and within the class. It's our first look at the ZCML configuration file, so goes into some depth.
  6. Adapters This section covers the rationale for and use of Adapters with a real example, including details of configuration, and a demonstration of adapter lookups in action.
  7. Browser View Here we look at the benefits, use, and configuration of, browser views, and touch on Marker Interfaces.
  8. Events Describes the new way to think about events in Zope 3.
  9. Using Filtering Describe how to define new filters for your own content.
  10. Final Our thanks to reviewers and contributors, and references.

All content on one page (useful for printing, presentation mode etc.)

 

Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.