The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CGI::Prototype::Docs::Resources - links to CGI::Prototype resources

Mailing list

There is now a mailing list for discussing the use of CGI::Prototype, a Perl module which allows for class and prototype-based object-oriented development of CGI applications.

SUBSCRIBING

Via Mailman/Sourceforge

Visit http://lists.sourceforge.net/lists/listinfo/cgi-prototype-users and enter your subscription information.

Via Gmane

You can join the newsgroup gmane.comp.lang.perl.modules.cgi-prototype.user

If you are a Gnus user, here's the subscription string for you: nntp+news.gmane.org:gmane.comp.lang.perl.modules.cgi-prototype.user

ARCHIVES

Tutorials / Overviews

Linux Magazine "Introduction to CGI::Prototype"

http://www.stonehenge.com/merlyn/LinuxMag/col70.html http://www.stonehenge.com/merlyn/LinuxMag/col71.html http://www.stonehenge.com/merlyn/LinuxMag/col72.html

Ourmedia's "Introduction to CGI::Prototype"

http://sourceforge.net/project/showfiles.php?group_id=135173&package_id=149434

"Prototype Programming for Classless Classes"

http://www.stonehenge.com/merlyn/LinuxMag/col56.html

Perlmonks CGI::Protoytpe Posts

"Seeking enlightenment on CGI::Prototype"

http://perlmonks.org/?node_id=442480

"Mixins (problem with CGI::Prototype and Class::Protototyped with subtemplates)"

http://perlmonks.org/?node_id=439974

"Trying to understand how CGI::Prototype::Hidden, Template Toolkit and CGI.pm work together."

http://perlmonks.org/?node_id=438026

"CGI::Prototype - let me clarify the response phase for you"

http://perlmonks.org/?node_id=428222

"A CGI::Prototype respond() subroutine for Data::FormValidator users"

http://perlmonks.org/?node_id=428151

"CGI::Prototype and use base"

http://perlmonks.org/?node_id=426381

"CGI::Prototype: questions and feedback"

http://perlmonks.org/?node_id=426162

"Basic CGI::Prototype::Hidden"

http://perlmonks.org/?node_id=423071

"Try CGI::Prototype"

http://perlmonks.org/?node_id=410803

"Review: CGI::Prototype"

http://perlmonks.org/?node_id=411760

Tips and Tricks

Setting up under mod_perl

startup.pl

 use lib qw( 
  /home/tbrannon/cvs/blue/wagsvr/install/httpd/prefork/modperl 
  /home/tbrannon/cvs/blue/wagsvr 
  /home/tbrannon/cvs/blue/wagsvr/install 
 ); 
 
 warn 'startup complete'; 
 1; 

httpd.conf

 <Location /> 
   SetHandler perl-script 
   PerlResponseHandler Blue::App 
 </Location> 

Blue/App.pm

 package Blue::App; 
 
 use strict; 
 use warnings; 
 
 use Apache2::RequestRec (); 
 use Apache2::RequestIO (); 
 
 use Apache2::Const -compile => qw(OK); 
 
 use base qw(CGI::Prototype); 
 
 sub handler { 
   my $r = shift; 
 
   __PACKAGE__->reflect->addSlot(r => $r); 
   __PACKAGE__->activate; 
 
   return Apache2::Const::OK; 
 }
 
 
 
 1; 

AUTHOR

Terrence Brannon, metaperl@gmail.com

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Terrence Brannon

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.