Well, i realize this is a bit of a dillema: performance vs. architectural. I just think it would be cleaner if a plugin could also contain its own images, since layout- and viewtemplates are also included in a plugin. But i agree there could be some performance backdraws. I think if this were to be implemented though, a developer could choose to keep the images in the app/webroot for performance sake, or put them in app/plugins/[plugin]/vendors/img for architecturals sake.
It just would be cool to only maintain, tweak and rewrite the plugin from time to time, then just replace the plugin at all of my customers webapps, and updating all those webapps in a really clean and easy way... On 10 apr, 13:08, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > Having things like css, js and images (mostly static content) served > directly by the webserver from the document root (bypassing cakephp > routing) is a good thing in terms of performance, and makes easy to > serve that from a server farm using a light webserver (i.e. lighty). > > On Thu, Apr 10, 2008 at 7:03 AM, MYRZ <[EMAIL PROTECTED]> wrote: > > > Well, if images aren't supported yet, i think i rather wait with the > > whole plugin idea... it is quite a hassle to change everyting for a > > plugin, so if i do it, i really want it to pay off... > > > Isn't this ticket worthy? > > > On 10 apr, 04:06, Gwoo <[EMAIL PROTECTED]> wrote: > > > /plugin/plugin_name/vendors/css/your_css.css > > > > $html->css('/plugin_name/css/your_css.css'); > > > > The only thing that is not added yet is image support. I suppose this > > > could happen easily. > > > > Have a look at the test cases with the changeset. They might help to > > > explain how things work a little bit more. > > > > Bake on. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---