I have a zend framework project. In the public folder I have js and css folders to deposit the files required by the various actions. However, I have also integrated some other jquery plugins that have their own css and png’s.
For instance JqueryUI has its own css and a bunch of png’s that it uses (apart from the jquery). By default, these all come bundled inside the jquery folder. Fancybox is the same.
It seems like a might break things and cause myself unnecessary work if I try to separate all of the images,css and javascript for each plugin. On the other hand, I like to keep all my different assets separate and under control.
I am really talking about packages like jqueryui. If I move the css out of the jqueryUI folder (which is inside the js folder) then it will break all of the paths the css has to it’s own image directory (which is just below where the css is currently located)….
What is the best way to handle this?
For plugins if they come in a package it will be a pain to separate them out. So I keep them the way they came with, under ThirdParties/
<pluginName>/.