In this blogpost, my thought was to gather some useful material on how to manage assets on a Symfony project by using the Assetic bundle.
As a project gets bigger, handling more and more assets can become overwhelming. Assetic can help us in organizing where the assets should load, combine multiple assets into a single file, compile assets (e.g. Less or Sass sources into CSS) and even optimize them e.g. by minification.
This is the first part of our tutorial series on how to configure and deploy a Symfony2 application on Amazon OpsWorks.
At codebender we host our infrastructure under Amazon Web Services and we use Symfony2 for the majority of our web applications. For the application deployment process we use Amazon OpsWorks which is a configuration management service that uses Chef.
Typically, all of the features of a modern PHP application are handled by objects. Each object (i.e. class) does something very specific, which makes the code maintainable and testable. Several objects can easily be attached to your main application using a programming design pattern called