COMPER Template Parser 2 (NEW 2.5 Beta is out!) |
[eluser]Tominator[/eluser]
My testers are lazyyy (very very busy) ![]() I cannot wait any longer, I want to release new version. Right now I have RC3, try to find some bugs in it. What's new? - Just 4 regexps for conditions. Great with combination with cycles (version 2.0 was slowly). So speed is improved by about 60-70% (more conditions, more percentage) - Conditions supports PHP functions. In fact just some of functions, because you are working with strings not variables. That mean, you cannot use empty function. Instead you can use strlen("{variable}" > 0). Parser is still backward compatile, so you can try, and test and I hope it will be useful for you - Support for CSRF protection added - in fact I check how native CSRF protection works in CI, and I tried to make it compatible with Parser. It's buggy for me, but may not be for you ![]() - Support for dynamic paths. I hope it finally solve problem with HMVC environments Usage Dynamic paths: Code: $config['path'] = '%apppath%/views/'; CSRF: http://ellislab.com/codeigniter/user-gui...urity.html Download OK and Parser 2.1 RC3 itself is attached to this post. I hope it make your work much easier! When this version proves to be stable I will make update in project's homepage. Tom |
Welcome Guest, Not a member yet? Register Sign In |