I have just started making a plugin for cakephp 1.2 and have noticed a few oddities.
The first was that the official testsuite does not include support for plugin tests. I have put in a ticket on trac (https:// trac.cakephp.org/ticket/2777) with a partial patch that allows you to run tests stored in app/plugins/plugin_name/tests through a browser. (Still worrking on the TextManager). Is this something that the Test Suite team is working on? Or are plugins not going to be supported? The second is that plugins can't load behaviours from within themselves, only application level behaviours. I have not tested but assume that components and helpers are similar. This makes it hard to make a plugin self contained. Third, I think /app/plugins/plugin_name/routes.php should be supported and possibly self contained css, img and js. I have not had a look at doing anything for 2 and 3 so I have no idea how easy/viable this would be, but I think it would be a great help to make plugins as fully self contained as possible. Is this a goal for plugins or am I on my own here? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
