Projects / Cgiapp.class.php

Cgiapp.class.php

Cgiapp.class.php is a port of CGI::Application to PHP. It utilizes Smarty as its default templating engine, much as CGI::Application uses HTML::Template, due to its prevalence and acceptance in the PHP community. Due to PHP's built-in session support, it also adds two methods, s_param() and s_delete(), to handle session parameters. A number of static methods have also been included to facilitate error handling and array/hash conversion.

Tags
Licenses
Implementation

Recent releases

  •  05 Jun 2006 06:18

    Release Notes: This marks the first stable release of the Cgiapp2 series. The 2.x series of Cgiapp completes a PHP5 port of Cgiapp2. Important new features include an extensive, powerful, and flexible callback system. Template engines have now been moved to a plugin system, and Cgiapp2 ships with Smarty, Savant2/3, and XSLT plugins. Extensive error and exception handling was added. A simple, flexible sample front controller class was added.

    •  02 May 2006 04:55

      Release Notes: Strange issues were noticed when overloading applications, particularly in the behaviour of cgiapp_postrun(). As nobody has introduced any third party plugins and the HTML_QuickForm plugin has stagnated, this plugin functionality has been removed.

      •  20 Feb 2006 07:28

        Release Notes: This is the first release candidate of Cgiapp2, the PHP5-only version of Cgiapp.class.php. It adds E_STRICT compatibility, adherence to the CGI::Application 4.x API for callback plugins, and extensive error and exception handling functionality.

        •  20 Feb 2006 00:48

          Release Notes: This is a performance release. The codebase underwent a full audit, with performance improvements in mind. Many methods were made semi-static (e.g. Cgiapp 1.x must support PHP4), and tests were run extensively on both PHP4 and PHP5. This is the last feature release of Cgiapp.class.php; additional releases will be bugfix or security only. Please consider updating to Cgiapp2, the PHP5-only version, for future projects.

          •  22 Nov 2005 17:50

            Release Notes: This release fixes run() in Cgiapp5 to call query() instead of cgiapp_get_query(). __call() has been updated in both Cgiapp and Cgiapp5 to indicate the method called if unable to find a matching action (debugging aid).

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.