# Zope Page Templates

> template system for web pages

**Wikidata**: [Q220400](https://www.wikidata.org/wiki/Q220400)  
**Source**: https://4ort.xyz/entity/zope-page-templates

## Summary
Zope Page Templates (ZPT) is a template system for web pages, used to separate content from presentation in web applications.

## Key Facts
- ZPT is also known as Zope Page Templates
- It has an official website at https://pagetemplates.readthedocs.io/ (in English)
- It is a template language that includes components like Template Attribute Language, Template Attribute Language Expression Syntax, and Macro Expansion Template Attribute Language
- It is classified as a template language
- It has a user manual available at https://zope.readthedocs.io/en/latest/zopebook/ZPT.html (in English)
- It is copyrighted
- It uses Zope page template files as both readable and writable formats
- Its Google Knowledge Graph ID is /g/122z25md
- The source code repository is at https://github.com/zopefoundation/zpt-docs

## FAQs
### Q: What is Zope Page Templates used for?
A: It's a template system for web pages used to separate content from presentation in web applications.

### Q: What file format does Zope Page Templates use?
A: It uses Zope page template files as both readable and writable formats.

### Q: What is its relationship to Template Attribute Language?
A: Zope Page Templates has parts including Template Attribute Language, Template Attribute Language Expression Syntax, and Macro Expansion Template Attribute Language.

### Q: Where can I find documentation for Zope Page Templates?
A: The user manual is available at https://zope.readthedocs.io/en/latest/zopebook/ZPT.html (in English).

## Why It Matters
Zope Page Templates (ZPT) represents an important approach to web development by providing a template system that separates content from presentation. This separation of concerns allows developers to maintain cleaner code, as HTML and other presentation elements are kept separate from application logic. The system enables dynamic web pages by allowing developers to embed Python expressions and statements within HTML-like templates. ZPT has been significant in the Zope web application server ecosystem, contributing to the broader trend of separating presentation from business logic in web applications.

## Notable For
- ZPT is a template language that provides a separation of concerns between content and presentation
- It includes components like Template Attribute Language, which is a key part of its functionality
- It uses Zope page template files as both readable and writable formats
- It has an official documentation website and user manual
- It's maintained under the Zope Foundation with source code available on GitHub

## Body
### Technical Overview
Zope Page Templates (ZPT) is a template system designed for web applications. It allows developers to create dynamic web pages by separating content from presentation. The system uses a template language that can embed Python expressions and statements within HTML-like templates.

### File Formats
ZPT uses Zope page template files as both readable and writable formats. This means templates can be created and modified using text editors and then processed by the Zope application server.

### Components
The ZPT system has several components:
- Template Attribute Language (TAL): A language for expressing conditions and attributes in templates
- Template Attribute Language Expression Syntax (TAL Expression Syntax): Provides additional expression capabilities
- Macro Expansion Template Attribute Language (MACRO Expansion TAL): Allows for reusable template components

### Documentation and Resources
ZPT provides official documentation resources:
- User manual available at https://zope.readthedocs.io/en/latest/zopebook/ZPT.html (in English)
- Official website at https://pagetemplates.readthedocs.io/ (in English)
- Source code repository at https://github.com/zopefoundation/zpt-docs

### Copyright and Licensing
Zope Page Templates is copyrighted material, indicating it's protected by intellectual property laws.

### Language Support
The system has documentation available in multiple languages, including German as indicated by the Wikipedia language listing.