Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.872.794 Times

Apache2::Ajax 0.1

  Date Added: July 09, 2010  |  Visits: 750

Apache2::Ajax

Report Broken Link
Printer Friendly Version


Product Homepage
Download (79 downloads)



Apache2::Ajax is a mod_perl interface to CGI::Ajax. SYNOPSIS ###################################################### # in httpd.conf PerlLoadModule Apache2::MyAjaxApp < Location /ajax > SetHandler perl-script PerlResponseHandler Apache2::MyAjaxApp PJX_fn js_function_name perl_function_name PJX_html Show_Form_sub PJX_JSDEBUG 2 PJX_DEBUG 1 < /Location > ###################################################### ###################################################### # module file Apache2/MyAjaxApp.pm package Apache2::MyAjaxApp use Apache2::Ajax; # use whatever else sub perl_function_name { my @params = @_; # do whatever return $return_value; } sub Show_Form_sub { my $html = ; # construct html string return $html; } sub handler { my $r = shift; # do stuff my $ajax = Apache2::Ajax->new($r); $r->print($ajax->build_html()); return Apache2::Const::OK; } 1; ################################################## This module is a mod_perl2 interface to CGI::Ajax, which provides a mechanism for using perl code asynchronously from javascript-enhanced HTML pages. As well as mod_perl2, this package requires CGI::Ajax, as well as a CGI.pm-compatible CGI module for supplying the param() and header() methods. If available, CGI::Apache2::Wrapper will be used, which is a minimal module that uses methods of mod_perl2 and Apache2::Request to provide these methods; if this is not available, CGI (version 2.93 or greater) will be used. Setting things up can be illustrated by the following example of CGI::Ajax, which contains a more thorough discussion, as well as a number of illustrative example scripts..

Requirements: No special requirements
Platforms: Linux
Keyword: Cgi Html Interface Libraries Mod Myajaxapp Perl Pjx Programming Return Sub
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


APACHE2::AJAX RELATED
Libraries  -  CGI::Application::Plugin::PageBuilder 0.93
CGI::Application::Plugin::PageBuilder is a Perl module that simplifies building pages with multiple templates. SYNOPSIS This module simplifies building complex web pages with many small piecemeal templates. Instead of sub run_mode { my...
4.1 KB  
Libraries  -  HTML::Widgets::NavMenu 1.0001
HTML::Widgets::NavMenu is a Perl module for Generating HTML Navigation Menus. SYNOPSIS use HTML::Widgets::NavMenu; my $nav_menu = HTML::Widgets::NavMenu->new( path_info => "/me/", current_host => "default", hosts => { default => {...
41.98 KB  
FTP Clients  -  PHTP 2.0 beta1
PHTP is a simple, effective, and highly customizable FTP client with an HTML interface. It can be implemented on a remote server to allow files to be downloaded directly to it, as it is able to make connections with any FTP server.
125.95 KB  
Libraries  -  HTML::WikiConverter::Dialects 0.61
HTML::WikiConverter::Dialects is a Perl module which contains a tutorial on how to add a dialect. SYNOPSIS # In your dialect module: package HTML::WikiConverter::MySlimWiki; use HTML::WikiConverter -dialect; rule b => { start => **, end...
34.82 KB  
Libraries  -  HTML::WikiConverter::Oddmuse 0.52
HTML::WikiConverter::Oddmuse is a Perl module that can convert HTML to Oddmuse markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => Oddmuse ); print $wc->html2wiki( $html ); This module contains rules for...
6.14 KB  
Libraries  -  CGI::Builder::Auth::GroupAdmin 0.06
CGI::Builder::Auth::GroupAdmin is a Perl module for the management of HTTP server group databases. SYNOPSIS use CGI::Builder::Auth::GroupAdmin (); Pay no attention to that man behind the curtain! Move along, nothing to see here! This...
51.2 KB  
Libraries  -  CGI::Builder::Auth::UserAdmin 0.06
CGI::Builder::Auth::UserAdmin is a Perl module for the management of HTTP server user databases. SYNOPSIS use CGI::Builder::Auth::UserAdmin (); Pay no attention to that man behind the curtain! Move along, nothing to see here! This module...
51.2 KB  
Libraries  -  CGI::Application::Plugin::ValidateRM 2.1
CGI::Application::Plugin::ValidateRM is a Perl module to help validate CGI::Application run modes using Data::FormValidator. SYNOPSIS use CGI::Application::Plugin::ValidateRM; my $results = $self->check_rm(form_display,_form_profile) ||...
10.24 KB  
Libraries  -  HTML::WikiConverter::MediaWiki 0.55
HTML::WikiConverter::MediaWiki is a Perl module used to convert HTML to MediaWiki markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => MediaWiki ); print $wc->html2wiki( $html ); This module contains rules...
11.26 KB  
Libraries  -  HTML::WikiConverter::Markdown 0.02
HTML::WikiConverter::Markdown is a Perl module to convert HTML to Markdown markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => Markdown ); print $wc->html2wiki( $html ); This module contains rules for...
8.19 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB