Articles and Tutorials on CGI::Application
Below, C:A:P = CGI::Application::Plugin
Articles and Presentations
External Links
- Rapid Website Development with C:A - Mark Stosberg (2006-10-19)
- Using C:A - Jesse Erlbaum, on Perl.com (2001-06-05)
- Slides from two YAPC::NA 2005 presentations - Michael Peters (Note: they are tar.gz files containing straight html/css/images so you can just unpack them and then open them in your favorite (standards compliant :) browser):
- PPT Slides - Jason Purdy, Raleigh.PM presentation (2005-02-21)
- Why C:A? - sdbarker, perlMonks discussion (2004-01-13)
- PDF Handout & Slides - Jason Purdy, ApacheCon 2003 (2003-11-16)
- C:A Tutorial Slideshow - Mike Fragassi (2003-06-16)
Articles on this Wiki
- C:A Order of Operations - Steve Comrie, explains the order in which C:A hooks are called: cgiapp_init(), setup(), cgiapp_prerun(), runmodes, cgiapp_postrun(), teardown()
- C:A compared to Catalyst, and other frameworks
- FAQ for the Impatient - answers the things you ask first, fast!
Tutorials with Working/Sample code
External Links
- CGI::Application::Demo - Ron Savage, a framework that can be used as the basis of a real application. Covers run modes, sessions, templates, database interaction, using the lighter-weight CGI::Simple query object, and more! There are 5 modules, graduated in complexity from simplistic to complex.
- MVC C:A Tutorial Mark Rajcok, Google doc. Jumpstart a CGI-App project with this reusable MVC object-oriented "starter" application. Includes all of the same topics as C:A:Demo, but also includes user authentication and management (sign in, sign out, forgot password), session expiry, page redirects, data/form validation, clean MVC separation (including a base class for database model classes and a singleton for sharing the $dbh), suggested directory layout, simple (error) logging facility, status message facility. Contains a comparison table with Titanium (2008-11-04)
- A Beginners Guide to C:A - scorpio17, on PerlMonks. Covers many of the same topics as C:A:Demo, but also covers C:A:P:Authentication and how to use SSL for secure authentication (2007-06-19)
- C:A, a simple, extensible web framework - Dan Horne, on sitepoint.com. Walks through a sample application that features C:A:P:ConfigAuto, C:A:P:DBH, and C:A:P:ValidateRM (2005-05-03)
- Authentication with C:A - Tim Gourley. Uses HTML::Template, C:A:P:Session, and a home-grown authentication technique (instead of C:A:P:Authentication) (2004-10-15)
- Introduction to C:A - Mark Fowler, from Perl Advent Calendar 2003 (2003-8th day of advent)
- Validating Web Forms with Perl - Mark Stosberg. Covers Data::FormValidator (2005-10-25)
- Tutorials at Red Antigua
- Online Shopping Cart - Justin Simioni, from perlmonks.org. Covers Template::Toolkit (2002-09-20)
- cgiapp_postrun() & HTML::Lint - Sam Tregar (2003-06-13)
Articles on this Wiki
- (link broken?): Sending Documents Through a Run-Mode for Download - Steve Comrie
- Custom Form Error Message using C:A:P::ValidateRM - Qiang Li (2007-09-05)
- C:A:P:Session - ?? and Mark Rajcok (MySQL examples). Shows how to use sessions with file storage and MySQL/database storage. Also included is a script to delete expired sessions from the database (?? and 2008-10-3)
- Ajax - Mark Rajcok (2008-04-21)