Hi there,

obviously an active list :-)

Anyway - I'm so far really liking CGI::Prototype (with its simple MVC implementation) but what I'm not clear on is the best way to incorporate Reusable Components.

Say you've got the following components which all inherit from CGI::Prototype...

Header: (reusable)
        /Header.pm
        /Header.tt

Various Pages:
        /Main.pm
        /Main.tt
        /Login.pm
        /Login.tt
        <...>

Footer: (reusable)
        /Footer.pm
        /Footer.tt

...and somecgi.cgi which basically does
        Main->activate;

What's the best way of including the output of Header and Footer in the render phase - i.e., as if you'd concated the output of:
Header->activate; Main->activate; Footer->activate;


Any thoughts?

Cheers,
LD



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
cgi-prototype-users mailing list
cgi-prototype-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cgi-prototype-users

Reply via email to