Getting started
- Getting started. A quick start guide for ZPT-JS.
Basic concepts
- Replacing content and attributes. The most basic tasks using ZPT-JS are replacing content and attributes.
- Expressions. Expressions in ZPT-JS.
- Variables and scope. How to define variables and their scope.
- Conditionals. Customizing your template depending on conditions.
- Omiting and replacing. Omitting and replacing tags.
- Loops. Repeating structures.
- Macros. Internal and external macros.
Beyond the basics
- More about invoking ZPT-JS. Different choices about how to invoke ZPT-JS.
- More about updating. ZPT-JS makes it easy updating HTML: arrays and objects.
- Updating example. Updating using ZPT-JS.
- I18n. I18n with ZPT-JS.
- Folder dictionaries. Folder dictionaries make it easy to define default values for variables.
- Declaring variables. Avoiding typos in templates.
- Managing errors. About errors and how to manage them.
Advanced topics: customizing and extending ZPT-JS
- Formatters. Registering your own formatters.
- Using ZPT's original tags. Configuring ZPT-JS to use ZPT's original tags.
- Custom expressions. Extending ZPT-JS with custom expressions.
- Building and testing. Building and testing ZPT-JS.