Filewatcher File Search File Search
Content Search
» » » » » »


Create a CGI application by subclassing

The core of every CGI application seems to be roughly the same:

* Analyze the incoming parameters, cookies, and URLs to determine the state of the application (let's call this "dispatch"). * Based on the current state, analyze the incoming parameters to respond to any form submitted ("respond"). * From there, decide what response page should be generated, and produce it ("render").

CGI::Prototype creates a "Class::Prototyped" engine for doing all this, with the right amount of callback hooks to customize the process. Because I'm biased toward Template Toolkit for rendering HTML, I've also integrated that as my rendering engine of choice. And, being a fan of clean MVC designs, the classes become the controllers, and the templates become the views, with clean separation of responsibilities, and "CGI::Prototype" a sort of "archetypal" controller.

Package version:0.9054

Browse inside perl-CGI-Prototype-0.9054-2.fc17.src.rpm

13.82 KB2014-11-29CGI-Prototype-0.9054.tar.gz  view  738+ mirrors
1.45 KB2014-11-29HEADER  view  20 mirrors
4.31 KB2014-11-29perl-CGI-Prototype.spec  view

Download perl-CGI-Prototype-0.9054-2.fc17.src.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017