This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
h2o-php / example
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.md | Fri Nov 21 15:45:57 -0800 2008 | |
| |
caching/ | ||
| |
extensions/ | ||
| |
i18n/ | ||
| |
inheritance/ | ||
| |
simple/ |
example/README.md
H2o Template Examples
This directory contains example code covering various aspect of h2o template.
Simple
A simple template displaying a list of users, it demonstrate
- how to setup h2o template and pass view variables to template
- display variables and using build-in tags and filters
- a basic template inheritance setup contains a layout template and page template
Inheritance
Shows example about how to use both template inheritance and inclusion.
Extensions
Demonstrate how to write and include custom tags, filters and loading extensions.
Caching
Demonstrates
- how to use different cache driver
- bundled cache extension to provide fragment cache to speed up resource intensive operations such as loading complex logic from database
I18n
Demo to show how to build a internationalized template with h2o by displaying a template supporting three languages.
I18n extension also bundled message extraction class to extract translatable strings into poedit friendly PO files.









