Dec 18 2002
CGI::Application
perl.com: Using CGI::Application [Jun. 05, 2001]
I’m not sure how I’ve never heard of this before, but it addresses an issue I’ve been having with my PHP Amazon project, the idea of “run-mode”. A web application has distinct phases, logging in, adding or searching, displaying results. In PHP, these phases are typically either broken up into functions, or seperate files. I’ve worked with both, and found both cumbersome. CGI::Application creates “run-modes”, and delegate the different phases to specific handlers. It sounds like an interesting idea. I’m not sure I’d like to give up the speed of PHP or mod_perl for ease of programming, but it is an interesting idea.



