Helma Logo
main list history
previous version  overview  next version

Version 5 by zumbrunn on 09. July 2007, 14:21

HelmaLib is included with standard Helma installations and is a Javascript library considered to be of universal usefulness for all Helma application development. It consists of two modules, a core module that extends core Javascript prototypes and a "helma" module that contains additional prototypes, providing additional functionality not provided directly by Helma's core environment, usually by wrapping a Java library.

To use a HelmaLib module in your Helma application, you need to add it to the app's repositories. The simplest way to do so is by using the app.addRepository() function:


*helma.Aspects|http://helma.zumbrunn.net/reference/core/helma/Aspects.html* provides static methods to wrap existing functions inside a javascript closure in order to add additional behavior without overriding the existing one.

*helma.Chart|http://helma.zumbrunn.net/reference/core/helma/Chart.html* provides the capability of reading Excel spreadsheets and rendering them as XHTML table.

*helma.Color|http://helma.zumbrunn.net/reference/core/helma/Color.html* provides methods for converting HTML color names into their corresponding RGB values and vice versa, or retrieving single RGB color values.

*helma.Database|http://helma.zumbrunn.net/reference/core/helma/Database.html* provides access to a relational database through JDBC.

*helma.File|http://helma.zumbrunn.net/reference/core/helma/File.html* provides read and write access to the file system.

*helma.Ftp|http://helma.zumbrunn.net/reference/core/helma/Ftp.html* provides a FTP client for accessing FTP servers.

*helma.Html|http://helma.zumbrunn.net/reference/core/helma/Html.html* provides various methods for rendering XHTML markup tags.

*helma.Http|http://helma.zumbrunn.net/reference/core/helma/Http.html* provides functionality to programatically issue Http requests.

*helma.Mail|http://helma.zumbrunn.net/reference/core/helma/Mail.html* provides functionality for sending Email messages.

*helma.Search|http://helma.zumbrunn.net/reference/core/helma/Search.html* provides functionality for creating a fulltext search index based on Apache Lucene.

*helma.Skin|http://helma.zumbrunn.net/reference/core/helma/Skin.html* in addition to the standard skin functionality, allows creation of a skin based on a Base64 encoded source.

*helma.Ssh|http://helma.zumbrunn.net/reference/core/helma/Ssh.html* provides methods for connecting to a remote server via secure shell (ssh) and copying files from/to a remote server using secure copy (scp).

*helma.Url|http://helma.zumbrunn.net/reference/core/helma/Url.html* creates a helma.Url object from a provided url string.

*helma.Zip|http://helma.zumbrunn.net/reference/core/helma/Zip.html* provides various methods for extracting entries or manipulating the contents of zip archives.

For detailed lists of the additional methods provided by the core module, see the corresponding reference pages for *Object|http://helma.zumbrunn.net/reference/core/Object.html*, *Array|http://helma.zumbrunn.net/reference/core/Array.html*, *String|http://helma.zumbrunn.net/reference/core/String.html*, *Date|http://helma.zumbrunn.net/reference/core/Date.html* and *Number|http://helma.zumbrunn.net/reference/core/Number.html*.

If you are looking for more Helma libraries, be sure to check out the *Jala project|https://opensvnproject|https://dev.csieorf.org/traccgi/jala/wiki/JalaModules*!at/trac/jala/wiki/JalaModules*!