I wonder cake already does what is wanted. Has anyone considered or
tested using additional controller/view includ paths? It's a genuine
question, I don't know if it solves everything required here.

Imho, this is not transparent enough.  What we're discussing here is
something that i consider not application specific at all and should
-imho- be core functionality. (just like plugins/vendors is).
(how dare i say this, it was only a few days ago that i saw gwoo/nate's
post about how he hates it when we tell *them* how they should make
cakephp do what we want , sorry guys;-)
Also i think there are some good reasons to say that such a feature
would greatly improve working with cake.

it's a nice feature though, that you can just add some code in your
bootstrap to tell cake to load some more models/controllers/.. from the
paths you specify.  But letting cake look automatically in a specific
directory would make much more sense to me. (like it does for
plugins/vendors)

On the other hand, i think the problem is clear by now, if my proposal
isn't worth performing, i would like the method in which the problem
can be solved by using what we have already (i think it can't , but i
don't know very much about the inner workings of cake)

The only possible flaw in this logic (but it's the same for all
solutions), is that if you want to keep all your files in one place for
easy file management (and so you can say put this here, add this to
your bootstrap file), you still have to put the css and js files in the
webroot and remember to delete/update them should you remove/update
your extension. In 1.2 you can use cake to serve css and js files from
the vendors css/js folders - but atm there is no
vendorPaths/cssPaths/jsPaths/ vars (that I am aware of).

yes this indeed is a problem.  But at least the other solutions (like
"merging" in all the files) suffer from it too.
This problem also exists beyond the scope of this problem (eg webroot
files for plugins).
But we (devs/community) will probably figure out something ;-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to