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.browserpage 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``).
.. contents::
=======
Changes
=======
3.10.1 (2010-01-04)
-------------------
- Fixed the zope.browserpage imports in the namedtemplate module.
3.10.0 (2009-12-22)
------------------
- Moved named template implementation to zope.browserpage.
3.9.0 (2009-12-22)
------------------
- Moved viewpagetemplatefile, simpleviewclass and metaconfigure.registerType
into the zope.browserpage package, reversing the dependency.
3.8.0 (2009-12-16)
------------------
- Refactored nested macro test from a functional test into a unit test. This
allowed to remove the last outside zope.app dependencies.
- Fixed undeclared testing dependency on zope.app.component.
- Copy trivial NoTraverser class from zope.app.publication to avoid a ZCML
dependency on that package.
- Correct testing dependency to point to zope.securitypolicy instead of its
zope.app variant. The app version is no longer required since 3.4.1.
- Removed the ``inline-evaluation`` extra referring to zope.app.interpreter.
There's no code or ZCML left pointing to that package.
3.7.1 (2009-05-27)
------------------
- Restored ``zope.app.pagetemplate.engine`` module, using BBB imports from
``zope.pagetemplate.engine``.
3.7.0 (2009-05-25)
------------------
- Moved the ``engine`` module and associated testing machinery to
``zope.pagetemplate`` (version 3.5.0).
3.6.0 (2009-05-18)
------------------
* Moved ``namedtemplate.*`` from ``zope.formlib`` here as it is more
about a page template engine than a formular library. This also
breaks some dependencies on ``zope.formlib``.
* Added doctests to long_description to show up on pypi.
3.5.0 (2009-02-01)
------------------
* Use ``zope.container`` instead of ``zope.app.container``.
3.4.1 (2008-07-30)
------------------
* Substitute zope.app.zapi by direct calls to its wrapped apis.
See http://launchpad.net/bugs/219302
* Fix deprecation warning in ftesting.zcml: ZopeSecurityPolicy now lives in
zope.securitypolicy.
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.
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.browserpage 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``).
.. contents::
=======
Changes
=======
3.10.1 (2010-01-04)
-------------------
- Fixed the zope.browserpage imports in the namedtemplate module.
3.10.0 (2009-12-22)
------------------
- Moved named template implementation to zope.browserpage.
3.9.0 (2009-12-22)
------------------
- Moved viewpagetemplatefile, simpleviewclass and metaconfigure.registerType
into the zope.browserpage package, reversing the dependency.
3.8.0 (2009-12-16)
------------------
- Refactored nested macro test from a functional test into a unit test. This
allowed to remove the last outside zope.app dependencies.
- Fixed undeclared testing dependency on zope.app.component.
- Copy trivial NoTraverser class from zope.app.publication to avoid a ZCML
dependency on that package.
- Correct testing dependency to point to zope.securitypolicy instead of its
zope.app variant. The app version is no longer required since 3.4.1.
- Removed the ``inline-evaluation`` extra referring to zope.app.interpreter.
There's no code or ZCML left pointing to that package.
3.7.1 (2009-05-27)
------------------
- Restored ``zope.app.pagetemplate.engine`` module, using BBB imports from
``zope.pagetemplate.engine``.
3.7.0 (2009-05-25)
------------------
- Moved the ``engine`` module and associated testing machinery to
``zope.pagetemplate`` (version 3.5.0).
3.6.0 (2009-05-18)
------------------
* Moved ``namedtemplate.*`` from ``zope.formlib`` here as it is more
about a page template engine than a formular library. This also
breaks some dependencies on ``zope.formlib``.
* Added doctests to long_description to show up on pypi.
3.5.0 (2009-02-01)
------------------
* Use ``zope.container`` instead of ``zope.app.container``.
3.4.1 (2008-07-30)
------------------
* Substitute zope.app.zapi by direct calls to its wrapped apis.
See http://launchpad.net/bugs/219302
* Fix deprecation warning in ftesting.zcml: ZopeSecurityPolicy now lives in
zope.securitypolicy.
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
File details
Details for the file zope.app.pagetemplate-3.10.1.tar.gz.
File metadata
- Download URL: zope.app.pagetemplate-3.10.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb0e48195c61b6639ef926b5f965f8d12f5351ebb9e583153ea3fa35f7ecf9ff
|
|
| MD5 |
d92143a0a9a7cc3a263ce6c7a751db63
|
|
| BLAKE2b-256 |
831fe6fa7ebd9095388b5abc7bec35705cb7c6124dd6140fb31ce50e125658e0
|