Nordic Perl Workshop 2006

CGI::Prototype

CGI::Prototype

By brian d foy (‎-none-‎) from Chicago.pm
Date: Friday, 16 June 2006 15:30
Duration: 40 minutes
Language:


CGI::Prototype (CGIP) uses prototyped-based MVC
programming to represent a web application. Instead of worrying about the usual banalities of web programming, it breaks the entire process down into the basics: receiving the input, analyzing the input, deciding how to respond, and rendering the result. Most frameworks tie handlers to URLs, but CGIP does away with that. At any point, the handling module can decide who should take care of the next step. This means that you can, for instance, handle the errors at any point (save them up to the end or do it right away), block access at any point, and render the result at any point. Since the framework takes care of the state, the action is simply a matter of choosing the module you want, making for an extremely flexible application.