Embrace and Extend Existing Products: The Zope 3 Way

With Zope 3 techniques (also available in Zope 2) you can cleanly extend an existing product without changing any of its code directly. In this tutorial we add annotations to a content type based on keywords. The use case we have is: extending Quills. The code is in the keywordadapter product in the collective.

  1. Introduction Use case: extending Quills
  2. Extend with Zope 2 We could extend Quills in the Zope 2 way, but is that the best option here?
  3. Zope 3: A New Hope One general strategy and one Quills specific strategy
  4. Event handler zmcl and code for the event handlers
  5. Utility zcml and code for the utilities
  6. Current Status We take a step back and look where we are.
  7. Adapter zcml and code for the adapters
  8. Annotations Adding and showing annotations
  9. Conclusions Zope 3 is the way to go!

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