Vemplator Change History 0.6.1 - fix pattern to allow object member accessing inside array brackets - remove unnecessary set of from/to patterns and simplify conversion pattern - now will process conversion pattern a second time to catch those missed previously. the reason for the miss is beyond my ability to explain tonight (i'm tired) - remove lingering output modifier code ... was a stupid idea - addition methods for modifying template variables: append() for string variables and push() for arrays 0.6 - make optional the trailing colons on: else, end, endswitch. they were a result of the previous way I was doing compilation ... no longer necessary - NO MORE OUTPUT MODIFIERS, THEY'VE BEEN SUPERCEDED BY FUNCTION CALLS - output modifiers have been removed because they add needless complexity. no need to confuse users. plus, everybody wants function calls - keys of associative arrays can now be any string. my previous regex only allows a single word - hopefully speed up compilation by avoiding the need for preg_callback_replace() - simplified compilation logic. split compilation into parts: 1. find curly braces surrounding text 2. split on colon 3. if first piece matches: if else switch case endswitch end ... 4. else replace variables - modified example.php and it's template - still 200 lines of code 0.5 - verify that class member variables can be used in templates, simplify variable pattern to check for it - added more to the example - output modifiers 0.4.2 - cache directory defaults to /tmp/HTTP_HOST - updated syntax - smarter parsing of variables - replace [id] that are inside { } with quotes - do pattern match then replace - textual without quotes become variable references - textual with quotes become associate elements - row[0]['name'] to $this->data->row[0]['name'] - row[name] to $this->data->row[ $this->data->name ] 0.4.1 - fix else statement bug - fix include statement bug - compile path now defaults to /tmp - template and compile paths are only prepended with the basePath if they do not start with a slash 0.4 Enhancement and Bugfix release - newer, more flexible compilation algorithm - support for switch statements - more elegant approach to object and array variables - cleaner, more intuitive handling of template and compilation directory paths 0.3 - simple array support. no need to be able to use multiple indices at once for nested arrays - prevent needlesss closing/opening php tags 0.2 - template include support