Alien::GvaScript::Intro - A javascript framework born in Geneva.
<head> <script src="path/to/prototype.js"></script> <script src="path/to/GvaScript.js"></script> <link href="path/to/GvaScript.css" rel="stylesheet" type="text/css"> var cl = GvaScript.ChoiceList(choices, options); var ac = GvaScript.AutoCompleter(datasource, options); var tn = GvaScript.TreeNavigator(element, options); </head>
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).
GVA
It contains four core components :
Alien::GvaScript::ProtoExtensions : some extensions to the prototype javascript framework (mainly walking the DOM searching for collections of classnames).
Alien::GvaScript::Event : registering and firing application-specific events (in addition to the standard W3C event model)
Alien::GvaScript::KeyMap : managing maps of handlers for key events (similar in spirit to Emacs keymaps)
Alien::GvaScript::Repeat : managing repeated sections
and four widgets:
Alien::GvaScript::ChoiceList : dropdown list of choices with navigation
Alien::GvaScript::AutoCompleter : autocompletion on form input fields
Alien::GvaScript::TreeNavigator : navigation in a tree structure, opening and closing nodes
Alien::GvaScript::Form : various extensions to HTML forms (working with data trees and repeated sections, automatic focus, etc.)
Microsoft Internet Explorer for Windows, version 6.0 and higher
Mozilla Firefox 2.0 and higher
may work on other platforms supported by prototype.js, but was not tested
the http://prototype.conio.net javascript framework, version 1.5.0 or higher
Laurent Dami, <laurent.d...@etat.ge.ch>
<laurent.d...@etat.ge.ch>
Mona Remlawi, <mona.r...@etat.ge.ch>
<mona.r...@etat.ge.ch>
Jean-Christophe Durand
Sébastien Cuendet
This library is free software, you can redistribute it and/or modify it under the same terms as Perl's artistic license (see http://perldoc.perl.org/perlartistic.html).
To install Alien::GvaScript, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::GvaScript
CPAN shell
perl -MCPAN -e shell install Alien::GvaScript
For more information on module installation, please visit the detailed CPAN module installation guide.