CGI::Application is a Perl framework intended to make it easier to create sophisticated, reusable Web-based applications. This module implements a methodology which can make Web software easier to design, easier to document, easier to write, and easier to evolve. CGI::Application builds on standard, non-proprietary technologies and techniques, such as the Common Gateway Interface and Lincoln D. Stein's excellent CGI.pm module. CGI::Application judiciously avoids employing technologies and techniques which would bind a developer to any one set of tools, operating system, or Web server.
|Tags||Software Development Libraries Application Frameworks Internet Web Dynamic Content CGI Tools/Libraries|
|Licenses||Clarified Artistic Artistic|
|Operating Systems||OS Independent Windows Windows Windows Windows POSIX BSD FreeBSD NetBSD OpenBSD IRIX Linux Other Solaris AIX HP-UX|
Release Notes: Compatibility with CGI::Application::Server was improved. Typographical errors were fixed.
Release Notes: A cgiapp_postrun() hook was added, which allows run-mode output to be "pipelined" through optional filters, modifying the content and HTTP headers, if so desired. header_type("none") was added to suppress HTTP header output. A bug where non-CGI.pm query objects couldn't be set at initialization time via the new() method was fixed. The dump_html default run-mode was changed to be referenced by name instead of sub-ref, allowing it to be overridden in a sub-class. The current run-mode was added to the output of dump() and dump_html().
Release Notes: The run() method was changed to use Perl's built-in dynamic method call for all run modes, whether by name or by code ref. This is intended to improve run-time performance. A new overridable method cgiapp_get_query() was added. It is possible to override the cgiapp_get_query() method to return an object of some other module besides CGI.pm, providing that it is sufficiently compatible. The run_modes() method was changed to allow a list of run-modes to be designated via an array reference. This will automatically create a run-modes table which maps from a run-mode to a run-mode method of the same name.
Release Notes: The capability to change the current run-mode has been added to cgiapp_prerun(). By calling prerun_mode() you can dynamically modify which mode will be called based on specific criteria. The tmpl_path() method has been modified to more intuitively dovetail into HTML::Template's PATH parameter. The documentation has been refined to be more easily understood by new users.
Release Notes: A new API hook, cgiapp_prerun(), has been added. This hook is called just before the run-mode is invoked. This method receives the name of the current run-mode as an argument. A new module, CGI::Application::Mailform, was added. This module is an example of how to use CGI::Application, and it is intended to be very easy to reuse, while still being secure and functional enough to replace some of the more onerous "form mail" scripts.