Dec 18 2002

CGI::Application

Published by Chris McAvoy at 5:48 pm under Blog

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.


Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.

  • del.icio.us
  • digg
  • Reddit
  • StumbleUpon

Trackback URI | Comments RSS

Leave a Reply