New Protoype Plugin for CGI::App and several plugin releases

markjugg on 2005-08-01T03:04:31

Today was a busy day in CGI::Application development. The following plugin updates were sent to CPAN, including a brand new HTML::Prototype plugin:

 CGI-Application-Plugin-Config-General-0.07
 CGI-Application-Plugin-FillInForm-1.10
 CGI-Application-Plugin-Forward-1.01
 CGI-Application-Plugin-HTMLPrototype-0.10
 CGI-Application-Plugin-TT-0.08
 CGI-Application-Plugin-ValidateRM-2.1


Some highlights:

  • The FillInForm plugin was updated so it an accept multiple objects as a sources, which would be useful if you had more than one Class::DBI object to use as form data.

  • The new TT plugin and the HTML::Prototype plugin can work together to make it super easy to AJAX empower your web page when using them both. The following example will create a hidden 'div' tag and a link that will make the div fade in when clicked.

          [% c.prototype.define_javascript_functions %]
          Extra Info
          
            


  • ValidateRM now detects if you are also using the Forward plugin, and tries to play nice if so. This will benefit systems where the standard is to have template names automatically generated based on the run mode.


In other news, it looks like the dev release of Data::FormValidator and CGI::Session may both soon turn into major stable updates. Feedback on both is encouraged!