rafa's blog

Release 3.9 updated

The release 3.9 was updated with minor bugfixes. Please download it again. Now we are working on Div 4.0.

More fast, more features and bugfixes: release 3.9

New features in the release 3.9: custom sub-parsers, macros, custom dialects, and more. See the CHANGELOG.TXT file and read the documentation for more information.

We are working on closing the 3.x series

We are working on closing the 3.x series, doing many performance tests and effectiveness. We are improving some functionalities, especially with template variables, and fixing some bugs on the loops. Version 3.9 will be released very soon.

New version 3.8 with fixes

Version 3.7 was released with a serious error that was corrected in the 3.8. This error occurs in very specific cases where the result is that Div stops processing of the template, and you may not have encountered this obstacle. It was imperative to launch a new version with the fixes. We recommend that you always download the latest version. Excuse the inconvenience this may have caused them.

The new, fast and solid version 3.7 with new features

Custom variable modifiers

New policy: if an object has implemented the method __toString, you can work with the object as a character string. New modifiers of variable: rawurlencode, escape unescaped single quotes, escape quotes and backslashes and newlines, format the value with sprintf PHP function (...)

Pages

Subscribe to RSS - rafa's blog


http://pragres.com

This is such a demonstrative example of the formulas in Div templates in this example data are not passed from PHP but are obtained from the POST.

How to build a component V2
Smarty and Div litte syntax comparison