Perl Ajax Frameworks
From Ajax Patterns
See also Multi-Language_Ajax_Frameworks and Ajax_Frameworks.
Contents |
Ajax/Javascript Programming and Usability in "Ajax Design Patterns" Book |
[edit]
CGI::Ajax - Export perl methods to javascript for AJAX
CGI::Ajax is a perl module to make it trivial to write AJAX scripts using Perl. The module is object-based Perl, and creating a link from a JavaScript event to your Perl code is as easy as defining the JavaScript function name to Perl subroutine name mapping.
- Can be used to link any Perl code to an HTML event, including fetching other URLs (using LWP, for example).
- Nestable, so an HTML event can start a chain of AJAX events (e.g. onClick="do_this(); now_that(); finally_this()").
- Can handle GET or POST.
- Not necessary to have your exported subroutines named in a specific way - you name them what you want.
- Very small overhead - lets you keep thinking Perl and not get bogged down.
- Active development community.
- Open-source library (Perl/Artistic license) by Brian Thomas.
[edit]
HTML::Prototype - Generate HTML and Javascript for the Prototype library
HTML::Prototype contains some code generators for Prototype, the famous JavaScript OO library and the script.aculous extensions.
- Basically similiar to the Prototype helpers in Ruby Ajax Frameworks#Ruby On Rails.
- Open-source license (GPL and Artistic) by multiple contributors.
Time your website with
WebWait - from the creator of AjaxPatterns.org
