PageTemplate integration for Zope 3
Project description
The zope.app.pagetemplate package integrates the Page Template templating system (zope.pagetemplate) into the Zope 3 application server. In particular, it provides:
a TALES engine implementation that uses Zope’s security system for checking access,
a ViewPageTemplateFile class that can be put on a browser page class as an attribute and will function as a callable method whose result is the rendered template, e.g.:
from zope.publisher import BrowserPage from zope.app.pagetemplate import ViewPageTemplateFile class HelloWorldPage(BrowserPage): __call__ = ViewPageTemplateFile('helloworld.pt')TALES namespace adapters for easy access to DublinCore metadata (e.g. obj/zope:title) and URL quoting (e.g. obj/@@absolute_url/url:quote).
Changes
3.4.0 (2007-09-28)
Initial release as standalone package.
Dependency on zope.app.interpreter moved to an extra [inline-evaluation]. It is only needed by zope.app.pythonpage, which is an oddity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zope.app.pagetemplate-3.4.0.tar.gz.
File metadata
- Download URL: zope.app.pagetemplate-3.4.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4b0113c2fd9eb38b1ab700f7d027706cd5954f351a0474542e2217fc68357c6
|
|
| MD5 |
ffc041c3dec95f0cb532e0afd1b9846d
|
|
| BLAKE2b-256 |
7560576a2db4741d7c36669ad14aa71a6e03aa9b730dbe348e2edf97f4146fc2
|
File details
Details for the file zope.app.pagetemplate-3.4.0-py2.4.egg.
File metadata
- Download URL: zope.app.pagetemplate-3.4.0-py2.4.egg
- Upload date:
- Size: 64.8 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a550cdaccfd5b01fa179e0d002ae33523f8af8da00be5b63376505d8aeb6248
|
|
| MD5 |
1440aaec014b682904b35a6119a40363
|
|
| BLAKE2b-256 |
5f116265d08e39aec0dbda0f9b821ea79ae63be618cd568ef65f452499d91393
|