XIRE (eXtendable Information Rendering Engine) is an extendable DOM-based PHP 5 template engine that takes data provided by PHP and creates XML (or XHTML) documents based on templates.
XIRE is designed to work within other projects and is not anything but a templating engine. It is not a framework and does not provide duplicate routines that may exist elsewhere in your projects. Routines such as error handling (XIRE will throw exceptions), resource fetching, and debuging are assumed to exist elsewhere.
Here are some key features of "XIRE":
· Pure PHP 5 OOP - XIRE is implemented in pure PHP 5 using DOM
· Plugins - XIRE is specifically designed to be extended, if needed, to suit any application
· DOM - Which means that plugin developers have exquisite control for template processing
· XML Templates - There is no PHP in the templates and XIRE Templates are just XML so there is no need to learn any new syntax
· Safe - Again, no PHP also means non-programmer template designers can not accidently (or intentionally) compromise a system
· Simple to use - A template is not more complicated than an XML document.
· WYSIWYG safe - Templates can can be safely loaded into dreamweaver (this is just a guess, not yet tested)
How it works:
XIRE templates are merely XML documents that are processed by XIRE plugins. A plugin handles the processing of all nodes with the XIRE namespace (a node can be an element, ie. a tag, or attribute in your template) that it is registered to (based on the node's local name).
For instance, when a plugin is registered to "zechs" then whenever a XIRE process encounters an element or attribute called "zechs" the plugin is called to handle it. If a plugin is not registered to the node, then XIRE will search in all registered directories for a plugin with the node's name and register it. The process leaves the plugin to handle the node (and all of it's child nodes) and continues the breadth-first search for other nodes to be processed.
· PHP (Version 5 branch)
What's New in This Release:
· Caching was added.