This post originated from an RSS feed registered with PHP Buzz
by Stephan Schmidt.
Original Post: patTemplate bits and pieces
Feed Title: a programmer's best friend
Feed URL: http://blog.php-tools.net/rss.php?version=1.0
Feed Description: The blog of PHP Application Tools
Well, the code base of patTemplate is pretty majure and new releases quite seldom. Still patTemplate is alive and in heavy use. Working with patTemplate in larger projects always includes writing custom extensions like variable modifier and template functions for it. Every now and then, modules for general use appear and I usually add them to patTemplate's code base. This way patTemplate grows little by little, even if it's core stays the same.
Here are some variable modifiers that were recently added: Calc (like a pocket calculator), Dateformat, Numberformat, Sizeformat (displays human readable file sizes) and Truncate (makes verbose text brief).
This week Torben Egmose provided a template caching driver based on famous Memcache. Now there are five cache backend modules available: File, eAccelerator, Memcache, MMCache and XCache.
As mentioned above, there are no major changes, but as usual, it those little bits and pieces that make life enjoyable.