Home Company Services Portfolio Contact us nav spacer

Zope course

Zope course

Jean Jordaan

Upfront Systems

Roché Compaan

Upfront Systems

2004

 

Table of Contents

Preface
1. Introduction to Zope
Installing Zope and Python from source
Why install from source?
Step-by-step
Setting up Zope instances
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
Python basics
Basic datatypes
4. Developing Zope Products in Python
Zope Product
What is a Zope Product?
Familiar Python
Interfaces
Zope is still Python
Zopifying our Python classes
Management wants to see you
All classes must register
Organisations in the ZMI
More Zope for our classes
Public faces for our classes
5. Zope and Relational Databases
Zope and relational databases
Zope and relational databases
Database connections
ZSQL Methods
Creating an article database
Calling ZSQL Methods
The Advanced tab of a ZSQL Method
Using a Custom Record Class
Other routes to RDBMS integration