In the past (cake 1.1, and to an extent cake 1.2)  there were
limitations to plugins which prevented their use as a means of
modularizing your app's code.

For example,

- plugins couldn't access or extend app's models
- code in the app couldn't access a plugin's models
- plugin did not have callback capabilities in their appController
like app did (eg. beforeFilter, etc.).
- plugin's views had no way of integrating with cake's theme'ing
- plugin controllers couldn't be managed by Auth/ACL
- etc.

The main reason is that plugins were not originally designed as a tool
for application modularity, but rather were for sharing functionality
across apps. So, there was originally no intent to have them integrate
fully into any app.

As a result,  many people avoided the use of plugins as a means of
modularizing their apps, and instead defined  additional paths to all
the cake pieces using the variables for that purpose in config/
bootstrap. This way, you could have full modularity without any of the
limitations of plugins.

With all the good new development in plugins since cake 1.2 and 1.3,
in particular the ability to have js/css located inside the plugin
they apply to,  I am musing over the possibility of converting all my
"additional paths" folders over to plugins.

However, I am scared that I will trip over some unknown plugin
limitation which will become a showstopper.

So the question is:  in cake 1.3,  are there still limitations to
plugins which native app code doesn't have, or are plugins for all
intents, fully considered as additional controllers/models/views to
the main app, and can integrate freely as any other app code can?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to