Helma Logo
main list history
previous version  overview  next version

Version 34 by hannes on 25. November 2009, 15:02

Helma NG stands for Helma Next Generation and is a version of Helma built from the ground up. The main differences between Helma 1 and Helma NG are that Helma NG has a much smaller and leaner Java core (mostly just runtime, shell, and the module and resource loader), and that Helma NG aims to provide full [CommonJS] interoperability.

This is a wiki space dedicated to Helma NG. Feel free to create new pages or edit existing ones.

[commonjs]: http://wiki.commonjs.org/wiki/CommonJS (Link to CommonJS Wiki)

### Overview

Helma NG consists of several components that can be used together or alone:

* A compact [JavaScript runtime] environment based on Mozilla Rhino. It adds to Rhino a reloading [module system][module loader] that is compatible to the [CommonJS] Securable Module proposal.

* An interactive [shell] with support for autocompletion and history.

* A [module] library implemented in JavaScript, covering basic functionality such as extensions to the built-in objects, file I/O, logging, persistence, unit testing, client and server side HTTP support and [web framework].

### Getting Started

--- notice ---

You may get an java.io.FileNotFoundException if you are trying to run the demo app of Helma NG under Win.
This happens, if you are using an environment variable pointing to Helma-install-dir/bin and then run ...
helma apps/demo/main.js
... from a console.
So the readme above is WRONG.


Workaround:
create a file helma-runscript.cmd in Helma-install-dir/bin. Put the following into it:
@java -jar "%~dp0..\run.jar" %~dp0..\%1
call ...
helma-runscript apps/demo/main.js
Then it works. (%~dp0  means: Path of batch-file).

--- end notice ---


Some links that may help you getting acquainted with Helma NG:

* [README](http://github.com/hns/helma-ng/blob/master/README.txt)
* [Getting Started]
* [Demo apps]
* [JavaScript Runtime]
* [Modules]
* [Web Framework] and [Middleware]
* [Persistence API]

### Resources

* [Mailing list](http://groups.google.com/group/helma-ng)
* [Roadmap]
* [Download (Github)](http://github.com/hns/helma-ng/downloads)
* [Source Code (Github)](http://github.com/hns/helma-ng/tree/master)
* [Issues (Github)](http://github.com/hns/helma-ng/issues)
* IRC: [#helma on irc.freenode.net](http://helma.server-side-javascript.org/hopbot/)

### Recently Edited Pages

<% this.list sort="modifytime" order="reverse"
  props="name, modifier, modifytime"
  labels="name, modified by, last modified"
  max="20"
%>

     removed
     added