httpwebwitch - 1:47 am on May 27, 2013 (gmt 0)
I'm looking for the best design pattern & solution for asset management. We're using LESS for the CSS, so I'm looking for something robust to handle our jQuery-powered script assets.
- script versioning
- cache control
- minifying & script concatenation
- dependency management
What's the best way to do all this on a large PHP-based project?
I am a fan of:
- Minify (http://code.google.com/p/minify/)
- Assetic (https://github.com/kriswallsmith/assetic/)
Require.js (http://requirejs.org/) looks promising, but I don't understand how to incorporate it into a PHP project... ?