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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access