Home     |      Learn AJAX     |      Forum     |      Register     |      Submit Resource     |      Submit Article      |      Contact Us

Home CGI
 

Export perl methods to javascript for AJAX

 
Author: microbee
Category: CGI
Comments (0)

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 names in a specific way - you name them what you want.
Very small overhead - let's you keep thinking Perl and not get bogged down.
Active development community.
Open-source library (Perl/Artistic license) by Brian Thomas.

Read More...





 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links