App::Navegante::CGI - module to implement CGI applicantions in Navegante
Build CGI applications in Navegante framework...
use App::Navegante::CGI; my $app = App::Navegante::CGI->new(%args); ... my $app = $foo->createCGI();
where %args is an hash containig the result of parsing the DSL section of the program.
This is the constructor, we use this function to create new objects for deploying applications. This function receives an hash as an argument which holds the information gathered by the parser after parsing the program file. Internal state of the object is set according to this hash.
This function creates a file that is basically a CGI. This function returns the complete file, so you can do simething like this:
open(FH,">filename.cgi"); print FH $t->createCGI();
In order to create the CGI file, this function starts with the skeleton definition (defined in this module) and substitutes the skeleton's keywords with the correspond keyword extracted from DSL's section of the program. Some sanity checks are made, and defaults set.
* set defaults for everything
This function creates the code needed to render the application's banner based on some defined variables. This function is used in the constructor.
This function creates the code needed to render the application's frame in the banner. This function is used in the constructor.
* use info defined in the DSL to render the form
Please report any bugs or feature requests to
bug-navegante-appcgi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Navegante-AppCGI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2007-2012 Project Natura.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.