Main > Programming > Libraries >

AEAE 0.02

AEAE 0.02

Sponsored Links

AEAE 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.010 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 854
Date added: 2007-06-22
Publisher: Jerome Eteve

AEAE 0.02 description

AEAE project is the Ajax Enhanced Asynchroneous Experience.

USAGE:

To use AEAE, you only got two things to write:

The actual server task to do.

For this just make a class that inherits from AEAE::Command, and simply implement the _doIt() method.

See the AEAE::ComandExample :

(extract):
sub _doItReal{
my $self = shift ;
my $mustDie = shift ;
my $i = 0 ;

print "Let us start !n";
local $| = 1 ;
while( $i < 101){

$AEAE::Command::processCommand->oneStep($i);
print STDERR "We are here:".$i."n";
print STDOUT "Step ".$i."n";
$i += 5 ;
sleep(1);
if( ( $i > 70 ) && $mustDie){ confess( "An horrible error" );}
}
print "Now its over!n";
}

See AEAE::Command for full doc and AEAE::CommandExample for full example!

The importants things are:

- All you need to do is to implement your task just as if would be a regular one. Dont worry about synchroneous issues.
- All you write on STDOUT and STDERR will be visible to the final user, so dont be too wordy.
- If you die or confess, the error message will be visible to the user, so be clear!
- You got to use the $AEAE::Command::processCommand->oneStep( ); to gives information to the user on how much your task is complete. If number >= 100, your task will be considered as complete (thus eliminated) by the system, so give number between 1 and 99 !

The CGI that generates the interface.

Once your command is written, you got to write the cgi that will generate your web interface. For that, you will use the AEAE::AsyncCGIPage module.

Just a simple example:

#! /usr/bin/perl -w

use AEAE::AsyncCGIPage ;

use strict ;

use CGI ;

my $c = new CGI ;

my $page = AEAE::AsyncCGIPage->new($c,1);
$page->command(AEAE::CommandExample);
$page->arguments([0]);
$page->debug(1);
print $page->generateAjaxedHTML();

This CGI generates an ajaxed page that will control the AEAE::CommandExample and will give it the argument 0 .

The debug(1) makes ajax call appears in the page.

See AEAE::AsyncCGIPage for full documentation about all features.

AEAE 0.02 Screenshot

Advertisements

AEAE 0.02 Keywords

Bookmark AEAE 0.02

Hyperlink code:
Link for forum:

AEAE 0.02 Copyright

WareSeeker periodically updates pricing and software information of AEAE 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of AEAE 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
StealIt is a service menu to take ownership on selected file/directory. Free Download
mooseekd is a partial fork of Museek+, containing only the standalone daemon needed to connect to the Soulseek P2P network. Free Download
Savane is a web-based free software hosting system. Free Download
Parakeet is a web-based application for managing and reporting on PyKotas print quotas. Free Download
TechnoBar is an extension which provides the ultimate Technorati reverse browsing experience. Free Download
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. Free Download
Simpla project is a concept language for child education. Free Download
XcplayC is a text-GUI for XMMS based on xcplay. Free Download