Recent Thoughts
- Twitter feed is currently unavailable. View my Twitter
Manual v2.x : Table of Contents
Gears v1.8 (Log)
Uploaded: 02/09/2009
Requires: PHP 5
Tested On: PHP 5.2.5
View Manual:
Gears
Package: Template Engine
Category: PHP & MySQL
Views: 3,331
A PHP class that loads template files, binds variables to a single file or globally without the need for custom placeholders/variables, allows for parent-child hierarchy and parses the template structure.
Gear is a play on words for: Engine + Gears + Structure.
Class Features:
Gear is a play on words for: Engine + Gears + Structure.
Class Features:
- Loads any type of file into the system
- Binds variables to a single file or to all files globally
- Template files DO NOT need custom markup and placeholders for variables
- Can access and use variables in a template just as you would a PHP file
- Allows for parent-child hierarchy
- Parse a parent template to parse all children, and their children, and so on
- Can destroy template indexes on the fly
- No eval() or security flaws
- And much more...