Simple, quick and powerful.
Tierra Templates is a inheritence based templating engine built for PHP 5+. Inspired by Django's templates you can use Tierra Templates within your application/framework or on its own using the bundled template runner.
Framework Features
- Uses Django inspired template inheritance with extensions that allow you to conditionally use blocks and easily append and prepend to parent blocks.
- Features a new code construction called a "conditerator" that combines a conditional test with an iterator to drastically reduce your template code size.
- Template block decorators let you add your own code at compile time. Use the built-in memcached block decorator for fragment cacheing.
- Features a external call syntax that allows you to use functions and class methods or reference variables in external files or back in your application.
- Includes a template "runner" which is a hookable Controller-View framework you can use to display templates without writing supporting code.
- Performs true template parsing and outputs cached PHP code.
- Allows for dynamic template creation, compilation and cacheing.
- Already includes Kohana framework integration and designed to integrate with other frameworks easily.
- Template syntax allows for inline JSON to mock up lists and objects.
Recent Blog Posts
1.25.2010
Lazy loading of jQuery with Tierra Templates
1.11.2010
Initial beta version released
9.10.2009
Taking template inheritance to the next level
9.8.2009
What's a "conditerator"?
9.3.2009
Announcing Tierra Templates
Email Updates
Downloads
Alpha Code Repository
Available at GitHub