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 ...
Get Sams Teach Yourself CGI in 24 Hours, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.