O'Reilly logo

Sams Teach Yourself CGI in 24 Hours, Second Edition by Rafe Colburn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using CGI::Application

A lot of the strategies for writing Web applications that are easy to maintain and provide reusable parts are well known. In fact, not only are there well known methodologies for writing such applications, but there are also various application frameworks that encapsulate a lot of the functionality that is commonly required in building Web applications. An application framework is a set of generic parts that provide structure for a type of application. One such framework is the CGI::Application module. It encapsulates a lot of the ideas that have been discussed in this chapter. CGI::Application is based around a concept called run modes. Each page in an application is associated with a run mode, and your implementation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required