• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Part V: Other Components

Part V: Other Components

From earlier chapters, you know that content objects are not the only type of component you want to write. This part covers several of the various other components, such as utilities and resources.

Chapter 25: Building and Storing Annotations

Because it is desirable to leave an object as untouched as possible, Zope 3 provides a mechanism, known as annotations, to associate data with an object. Annotations are commonly stored in a special attribute on the object. This chapter describes how to develop an alternative way to store annotations.

Chapter 26: New Principle-Source Plug-ins

Different people have very different requirements for what mechanism an authentication service should have, and Zope 3 respects this need. There is an authentication service that accepts plug-ins to provide principal data from external data sources.

Chapter 27: Principal Annotations

A common task is to append data to principals. Because principals are often imported from external data sources, they are not attribute annotatable. This chapter makes use of the principal annotation service to store additional data.

Chapter 28: Creating New Browser Resources

This short chapter describes how to implement a new filesystem-based resource (in other words, a context-independent view).

Chapter 29: Registries with Global Utilities

Utilities can be used to implement Zope-wide registries. Because registries are so very useful, this chapter is a must.

Chapter 30: Local Utilities

You have already seen how simple it is to write global utilities, but there is some more work to do for local utilities, as described in this chapter.

Chapter 31: Vocabularies and Related Fields/Widgets

Vocabularies are a powerful extension to the schema framework, and they provide a generic method for creating fields with variable- and context-dependent selection lists.

Chapter 32: Exception Views

In Zope 3, exceptions are simply objects that can have different views. These different views make objects capable of being represented on any output medium (usually the browser). Every exception has a standard view, but for a professional website, you need better screens.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint