Zope course
Copyright © 2004 Upfront Systems

Zope Cource by Upfront Systems is licensed under a Creative Commons Attribution 3.0 Unported
License.
2004
Table of Contents
- Preface
- 1. Introduction to Zope
- 2. Templating
-
- Templating with DTML
-
- Introduction: what is templating?
- Why template?
- Getting started with templates
- RDBMS interfacing
- Three levels of complexity
- Filling out the template
- A quick detour: debugging a bit deeper
- Asking the Oracle: what is in scope, and where is it documented?
- Acquisition
- Exploring the Zope API
- Templating continued: building a simple user directory.
- Zope security
- Configuring permissions in context (local roles)
- Explicitly checking for a permission
- A nested directory
- Introducing the prompt: Zope from interactive Python
- Failings of DTML
- Templating with ZPT
-
- Introduction: what are Zope Page Templates?
- Components of Zope Page Templates
- Getting started with Zope Page Templates
- The anatomy of an expression
- Path expressions
- ZODB names
- The web request
- Template names
- Special names
- Meta-name
- A string expression
- Defining variables
- Conditional rendering
- Using Python modules
- Templating, continued
- Limiting acquisition
- Composing templates using METAL
- Editing Page Templates using WYSIWYG tools
- Using sub-page templates
- 3. First steps in Python
- 4. Developing Zope Products in Python
- 5. Zope and Relational Databases
List of Figures
- 2.1. Default content
- 2.2. Directory created
- 2.3. Homepages created
- 2.4. Empty homepage
- 2.5. DocFinderTab
- 2.6. objectValues documentation
- 2.7. objectValues online help
- 2.8. Added 'directory_title' property
- 2.9. Some new homepage folders created
- 2.10. Viewing homepages
- 2.11. Added 'body'
- 2.12. Editing Anne's homepage
- 2.13. The Security tab of the root folder
- 2.14. Adding a proxy role for do_add
- 2.15. Adding a user folder for the directory
- 2.16. Adding a local role to a folder
- 2.17. Draft ZPT view
- 2.18. Open page in Composer
- 2.19. Rendered output in Composer
- 2.20. Broken template from Composer
- 2.21. Unparsed template in Composer
- 2.22. Edited templates in Composer
- 2.23. Rendered template
- 2.24. Unexpanded index_html
- 2.25. Expanded index_html
- 2.26. Broken index_html
- 5.1. Adding a ZSQL Method






