Bridging to other frameworks
There are many standalone components and frameworks that incorporate vast units of functionality, and using them in your project will save you time. But using Symfony requires you to develop in a certain way. Of course, it makes no sense in re-coding the components just to make them fit in with Symfony. Therefore, the Symfony framework provides autoloading, which allows you to plug in and play.
Bridging with eZ Components
eZ Components is a collection of PHP components that can be easily added to any project to provide a vast unit of functionality.
To demonstrate the simplicity of using other libraries such as eZ Components, we are going to use the eZ graph component. This will be used to display a pie chart of the selected milkshake flavors.
To start with, we must download eZ Components from their web site at http://ezcomponents.org/download. Once you have downloaded the libraries, create a new folder called ezcomponents within the lib/vendor directory. Once...