This is more a question of how to best import/integrate a JS library to use within a Symfony2 application ... I just happen to be using KendoUI as the test library.
I've already generated a bundle that converts and maps my database - including all associations.
$ php app/console generate:bundle namespace=DB/DBImportBundle
this includes some other cli statements for all the mapping and converting (with annotations) ... we can assume that is all working fine. I have generated CRUD for all the tables that I need.
I will now want to make the KendoUI library available to all controllers ... and my first inclination was to ...
$ php app/console generate:bundle namespace=Kendo/KendoBundle
Next step was to move the Kendo's css/js files into the KendoBundle/Resources/public folders ... and then to declare the namespace in all the controllers where I intended to use it ...
use Kendo\KendoBundle;
This still leaves the question of where the php wrappers that come with the library should be placed. The tutorials in the Kendo docs only walk you through a straightforward static implementation of the library.
My question is more general in terms of how properly to integrate different libraries into a Symfony2 application.