Twig. New Django/Liquid style templating engine for PHP with an emphasis on speed, security and flexibility. I like the look of this a lot – although the extension process seems more convoluted than with Smarty.
Posts tagged with “php”
An interesting article over at ParticleTree on hitting PHP’s memory limit when instantiating a lot of objects
It’s hard to imagine pushing the limits of object oriented PHP so far that your web servers choke, but the truth is those limits are reached faster than you think. — Ryan Campbell
I’ve run into this problem a number of times myself, and always with regards to the example Ryan provides – a script that exports a large database table to a CSV. I didn’t realise that it was the object instantiation that was sucking up all the memory – although perhaps this seems obvious in retrospect.
Tags:
(x)HTML @font-face Amazon analogue analytics Apple apps atheism books browsers canvas code CSS css3 dConstruct drag and drop eco electricity email events fail foundries freelancing Google HTML5 IE iphone javascript jQuery miscellaneous mobile MySQL performance personal php programming projects recommendations running Tea The Web tools UI webfonts web standards