Peter Speltz wrote:
On 9/29/05, Dave Howorth <[EMAIL PROTECTED]> wrote:
-1- Add it to Maypole.pm as you suggest. PRO - simple for everybody to
use. CON - creates another dependency (Class::Inspector) and slows down
every CGI request.
Good break down dave. I'm not saying actually use it. Do you mean it
slows down cgi requests because it is compiling the code every
request ?
Exactly.
To me it makes sense to have it in Maypole.pm because it is what
defines an "action".
If it were a plugin where would it go?
Not sure what you mean. It would just be a very small plugin
(Maypole::Plugin::ModelActions ?) and the method would appear in the
driver as though it was hard-coded in Maypole.pm. So the only difference
from the user's point of view would be the need to say
use Maypole::Application qw(ModelActions);
Cheers, Dave
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users