Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

David Abdemoulaie's Blog:
bundle-phu - minify, bundle, and compress your js/css in Zend Framework
Jan 22, 2010 @ 13:37:39

David Abdemoulaie couldn't find just what he was looking for when it came to a minification tool for his Javascript/CSS in his Zend Framework applications so he developed bundle-phu.

I’ve used a few different CSS/JS bundlers, but none have ever fulfilled all that I needed. [...] Thus, I created bundle-phu. Bundle-phu is a set of Zend Framework view helpers that do all of the above. Bundle-phu is inspired by, bundle-fu a Ruby on Rails equivalent. [...] It automagically concatenate, minify, and gzip your javascript and stylesheets into bundles. This reduces the number of HTTP requests to your servers as well as your bandwidth.

He includes how to install it, how to use it in your code and what the end result is when you view the actual HTML source. You can check out the latest version from the project's github account.

tagged: zendframework view helper bundlephu minify