Alien::GvaScript - Gva extension to the prototype javascript framework


NAME

Alien::GvaScript - Gva extension to the prototype javascript framework

Back to Top


SYNOPSIS

  use Alien::GvaScript;
  ...
  $path    = Alien::GvaScript->path();
  ...
  Alien::GvaScript->install( $my_destination_directory );

Back to Top


DESCRIPTION

GvaScript (pronounce "gee-vascript") is a javascript framework born in Geneva, Switzerland (GVA is the IATA code for Geneva Cointrin International Airport).

It is built on top of the prototype object-oriented javascript framework (http://prototype.conio.net) and offers a number of extensions and widgets, such as keymap handling, application-specific events, autocompletion on input field, and a tree navigator --- see the Alien::GvaScript::Intro manpage.

GvaScript is distributed using Perl tools, but the actual content of the library is pure javascript; hence its location in the Alien namespace (see the Alien manifesto).

GvaScript runtime library does not need Perl; you can integrate it in any other Web programming framework. Perl is only needed for developers who want to modify GvaScript sources and recreate a distribution package.

Back to Top


INSTALLATION

With usual Perl CPAN tools

Install Alien::GvaScript just as any other CPAN module. Then you can write

  perl -MAlien::GvaScript -e "Alien::GvaScript->install('/my/web/directory')"

to copy the dthml files to your Web server.

Without Perl tools

Unzip and untar this distribution, then grab the files in lib/Alien/GvaScript/lib subdirectory and copy them to your Web server.

Note about the documentation

The documentation sources are written in Perl's "POD" format. An HTML version is automatically generated and included in this distribution, under the lib/Alien/GvaScript/html directory; this documentation uses GvaScript's treeNavigator widget for easier browsing.

If this distribution is installed as a CPAN module, then another HTML version will probably be generated automatically by your CPAN tool (but without the treeNavigator widget).

Back to Top


METHODS

path

Returns the directory where GvaScript files are stored.

html

Returns the directory where GvaScript documentation is stored.

install

Copies GvaScript files into the directory supplied as argument

Back to Top


AUTHORS

Laurent Dami, <laurent.d...@etat.ge.ch>

Jean_Christophe Durand, <jean-christophe.d.....@etat.ge.ch>

Back to Top


ACKNOWLEDGEMENTS

A big thanks to Agent Zhang who helped to find out what was wrong with the CPAN distribution (several people complained about not being able to install, but I couldn't reproduce the problem until Agent investigated and explained me what was going on).

Back to Top


BUGS

Please report any bugs or feature requests to bug-alien-gvascript at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Back to Top


SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Alien::GvaScript

You can also look for information at:

Back to Top


ACKNOWLEDGEMENTS

The packaging as an Alien module was heavily inspired from the Alien::scriptaculous manpage by Graham TerMarsch.

Back to Top


COPYRIGHT & LICENSE

Copyright 2007 Laurent Dami, Jean-Christophe Durand, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Back to Top

 Alien::GvaScript - Gva extension to the prototype javascript framework