CGI::Screen

Perl extension for easy creation of multi screen CGI scripts
Download

CGI::Screen Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ulrich Pfeifer
  • Publisher web site:
  • http://search.cpan.org/~ulpfr/

CGI::Screen Tags


CGI::Screen Description

Perl extension for easy creation of multi screen CGI scripts CGI::Screen is a Perl subclass of CGI which allows the esay creation of simple multi screen CGI scripts.Developer commentsBy 'multi screen' I mean scripts which present different screens to the user when called with different parameters. This is the common case for scripts linking to themselves.To use CGI::Screen, you have to subclass it. For each screen you want to present to the user, you must create a method screen_namescreen_. This method has to produce the HTML code for the screen. CGI::Screen does generate HTTP headers and an HTML framework for you. The HTML framework already contains the FORM tags. You can customize the HTTP headers and the HTML framework by providing callback methods.CGI::Screen keeps track of the CGI parameters used in your screen and passes old parameters which are not used in the current screen.It highjacks the parameters screen_* to dispatch the different screens the script implements. The screen_user and screen_passwd fields are used if you enable the builtin simple authentication. In general you should advice your HTTP server to do authentication. But sometimes it is convenient to check the authentication at the script level. Especially if you do not have access to your server's configuration.SYNOPSIS use CGI::Screen; use vars qw(@ISA); @ISA = qw(CGI::Screen); my $query = __PACKAGE__->new; $query->dispatch; Requirements: · Perl


CGI::Screen Related Software