R
RA Jones
Advice & opinions sought. I 'do' web applications - web-browser
interface to MySQL db via Perl applications. These have traditionally
been a (sometimes long) list of if-elsif-else statements with functions
factored out to sub-routines and the final html generated using CGI.pm,
which also handles form processing, etc. All this works well, but is a
little clunky.
Having been impressed with Kake Pugh's article about avoiding writing
code, which promotes the modular approach to developing applications, I
feel it's time to move on a bit and explore the modular/OOP approach,
and have looked at various combinations of HTML::Toolkit,
Template::Toolkit, CGI::Formbuilder, Class:BI, CGI::Application &
Maypole, though I think the latter may a step too far at present.
I have done extensive reading of the documentation on these modules, and
some related tutorials, but have very little practical experience of any
of them. Speed is also an issue as I understand OOP can be slower than
traditional methods, and for various reasons I don't/can't use CGI
accelerators like mod_perl or FastCGI.
Any advice about the relative merits of these modules from folks who
have used them, or any others I should consider using would be most
welcome before I embark on the next (probably steep) phase of the
learning curve.
interface to MySQL db via Perl applications. These have traditionally
been a (sometimes long) list of if-elsif-else statements with functions
factored out to sub-routines and the final html generated using CGI.pm,
which also handles form processing, etc. All this works well, but is a
little clunky.
Having been impressed with Kake Pugh's article about avoiding writing
code, which promotes the modular approach to developing applications, I
feel it's time to move on a bit and explore the modular/OOP approach,
and have looked at various combinations of HTML::Toolkit,
Template::Toolkit, CGI::Formbuilder, Class:BI, CGI::Application &
Maypole, though I think the latter may a step too far at present.
I have done extensive reading of the documentation on these modules, and
some related tutorials, but have very little practical experience of any
of them. Speed is also an issue as I understand OOP can be slower than
traditional methods, and for various reasons I don't/can't use CGI
accelerators like mod_perl or FastCGI.
Any advice about the relative merits of these modules from folks who
have used them, or any others I should consider using would be most
welcome before I embark on the next (probably steep) phase of the
learning curve.