Hello all, my name Jan.. I'm Indonesian..
I've used cake in my projects.. I've following cake since in cake
1.1.8 till now.
currently, I'm develop project which a lot of feature and I think in
plugin.. cause, plugin is more independent, I guess.
But, I have a question..
Why cake doesn't make a function to hook Components, Helpers,
Behaviour?
Why only create a attribute var $components, var $helpers , var
$actsAs ?
it's likely will override with child class..
for example, in my project. I have a AutoLogin Component.. I wanna use
this components to all controllers.
So, in AppController I have var $components =
array('AutoLogin','Another', .....);
afterwards, my patner make calendar plugin in my project, and in
calendar plugin, he make CalendarFilter Components. and it's will use
in all controllers calendar plugin. so he make var $components =
array('CalendarFilter','Another');
Well, it's will be override my AutoLogin Component.
Okey, why he don't copy var $components from my AppController?
oh, it's okey.. but do you think if my project is a CMS project?
and users isn't a programmers ?
and users install more than one plugin?
so, Why cake doesn't make a function to Hook components, helpers, and
behaviors?
Please excuse my poor English.. thanks in advance..
Jan
http://jan.web.id
http://idcakephp.org
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php