Sunday July 31, 2005
New Protoype Plugin for CGI::App and several plugin releases
Today was a busy day in CGI::Application development. The following
plugin updates were sent to CPAN, including a brand new HTML::Prototype plugin:
- 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.
<a href="#" onclick="[% c.prototype.visual_effect( 'Appear', 'extra_info' ) %]">Extra Info</a>
<div style="display: none" id="extra_info">Here is some more extra info</div>
- 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