News Feed
Sections




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

DZone.com:
Assetic JavaScript and CSS files management
August 05, 2011 @ 09:19:26

On DZone.com today Giorgio Sironi introduces you to Assetic, an asset management tool that helps you keep things organized and easily requested by your application.

Assetic is a PHP library for managing the deployment of your assets: JavaScript, CSS and other resources which will be requested by the browser. The library has been created by Kris Wallsmith from OpenSky, an e-shop where many of the active members of the PHP community work, or worked (see Jonathan Wage/Doctrine 1 and Bulat Shakirzyanov/Imagine.)

Giorgio compares it to the more traditional method (putting them in a public folder) and how Assetic gives you an advantage over this setup. The main feature of the tool is to bundle all of your assets into one file that is then sent to the browser and interpreted there reducing the need for HTTP calls to request multiple files. An example is included showing the creation of an asset collection and the output of the files all combined into one string.

1 comment voice your opinion now!
assetic asset management css javascript public organize


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: The ZendCon Sessions Episode 6: Project Management Methods to Maintain IT Stand

Joshua Eichorn\'s Blog: HTML_AJAX Feature of the Week - Javascript Behaviors

PHPBuilder.com: Using XML - A PHP Developer\'s Primer, Part 4 (Subpart 2)

SomeCoders.com: Member Managment System Using PHP, AJAX and script.aculo.us (Part 3)

Community News: Drupal Wins Packt's Overall Open Source Content Management System Award


Community Events

Don't see your event here?
Let us know!


php7 framework interview part2 podcast language configure opinion introduction application project yii2 composer community list symfony example api laravel series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework