Helma Logo
main list history

Version 11 by hannes on 02. December 2009, 11:26

1Helma-NG Helma NG comes with a number of modules ranging in functionality from enhancements of the basic language environment to a full featured web application framework. The content and structure of the module tree should not be considered stable or complete at this point.
2
3A current (albeit incomplete) API reference of Helma NG modules is avalable here:
4
5> <http://helma-doc.appspot.com/>

Version 10 by hannes on 17. September 2009, 18:32

1Helma-NG comes with a number of modules ranging in functionality from enhancements of the basic language environment to a full featured web application framework. The content and structure of the module tree should not be considered stable or complete at this point. This page tries to give an overview of what is curently available.
2
3This intent of this page is to document the actual status of the Helma NG module library. See the *Modules Discussion* page for discussing bugs, features, new additions, etc.
4
5=== binary
6=== hash
7=== hashp
8=== helmaglobal
9=== io
10=== core/array
11=== core/date
12=== core/JSON
13=== core/json2
14=== core/number
15=== core/object
16=== core/string
17=== helma/buffer
18=== helma/file
19=== helma/filestore
20=== helma/functional
21=== helma/googlestore
22=== helma/helma1
23=== helma/httpclient
24=== helma/httpserver
25=== helma/logging
26=== helma/markdown
27=== helma/profiler
28=== helma/shell
29=== helma/skin
30=== helma/skin/filters
31=== helma/skin/macros
32=== helma/system
33=== helma/unittest
34=== helma/util
35=== helma/webapp
36=== helma/webapp/continuation
37=== helma/webapp/env
38=== helma/webapp/request
39=== helma/webapp/response
40=== helma/webapp/util
41

Version 9 by hannes on 30. April 2009, 15:21

Version 8 by hannes on 30. April 2009, 11:42

1<style>h3+p,Helma-NG comes with a number of modules ranging in functionality from enhancements of the basic language environment to a full featured web application framework. h3+p+p,The content and structure of the module tree should not be considered stable or complete at this point. h3+p+p+p { margin-left: 1em } h4 { margin-left: 1em } h4+p, h4+p+p, h4+p+p+p { margin-left: 2em } h5 { margin-left: 2em } h5+p, h5+p+p, h5+p+p+p { margin-left: 3em } </style>This page tries to give an overview of what is curently available.
3Currently Helma-NG ships with some modulesThis intent of this page is to document the actual status of the Helma NG module library. See the *Modules Discussion* page for discussing bugs, transfered from helma 1features, new additions, etc.
5Our goal is to open a discussion,=== about which modules and function should ship with helma-ng, and how they should be structured in directories and modules.binary
6=== hash
7=== hashp
8=== helmaglobal
9=== io
10=== core/array
11=== core/date
12=== core/JSON
13=== core/json2
14=== core/number
15=== core/object
16=== core/string
17=== helma/buffer
18=== helma/file
19=== helma/filestore
20=== helma/functional
21=== helma/googlestore
22=== helma/helma1
23=== helma/httpclient
24=== helma/httpserver
25=== helma/logging
26=== helma/markdown
27=== helma/profiler
28=== helma/shell
29=== helma/skin
30=== helma/skin/filters
31=== helma/skin/macros
32=== helma/system
33=== helma/unittest
34=== helma/util
35=== helma/webapp
36=== helma/webapp/continuation
37=== helma/webapp/env
38=== helma/webapp/request
39=== helma/webapp/response
40=== helma/webapp/util
7=== core
8
9Core could be renamed to "lang" or "javascript" because all modules here are extending original Javascript objects. Mozilla docs refers to these objects as "Core" (Core JavaScript 1.5 Reference:Global Objects:Array:indexOf at http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:indexOf) in their reference. What do you think? Should we stay with "Core"? Or should we change that? (matt) +/-
10
11==== array.js
12
13<a href="http://www.prototypejs.org">prototype.js</a> provides a bunch of neat functions: <a href="http://www.prototypejs.org/api/enumerable">Enumerable Docs</a> and <a href="http://www.prototypejs.org/api/array">Array Docs</a>. prototype.js could be offered as a replacement or addition to the current array.js -> see <a href="https://dev.helma.org/trac/helma/browser/sandbox/aida/modules/javascript/prototype.js">/sandbox/aida/modules/javascript/prototype.js</a>
14
15===== Array.prototype.contains
16
17works, but could be replaced by prototype.js>Enumerable>include ; see: http://www.prototypejs.org/api/enumerable/include, for compaitibility reasons we could add a conatains alias
18
19===== Array.union
20
21Has a bug when the source objects look similar, but are not
22
23 var obj1 = {test:"one"};
24 var obj2 = {test:"one"};
25 (obj1 != obj2) === true;
26 var arr1 = [obj1];
27 var arr2 = [obj2];
28 Array.union(arr1, arr2); // => [{test:"one"}]
29                          //    instead of [{test:"one"}, {test:"one"}]
30 
31Array.union could be replaced by using the prototyp.js .uniq() function. It's not very fast, but it works like expected.
32
33 // replacement using prototype.js
34 var result = arr1.concat(ar2).uniq();
35 // or:
36 Array.union = function() {
37  var r = [];
38      $A(arguments).forEach(function(arr) { r = r.concat(arr).uniq() });
39      return r;
40 }
41
42===== Array.intersection
43
44not tested yet
45
46 // replacement using prototype.js
47 var result = arr1.intersect(ar2).uniq();
48
49==== date.js
50==== json2.js
51==== JSON.js
52==== number.js
53==== object.js
54==== string.js
55
56=== helma
57
58==== buffer.js
59==== file.js
60==== filestore.js
61==== filters.js
62==== functional.js
63==== helma1.js
64==== httpclient.js
65==== httpserver.js
66==== logging.js
67==== profiler.js
68==== shell.js
69==== skin.js
70==== system.js
71==== unittest.js
72==== webapp.js

Version 7 by hannes on 17. February 2009, 16:31

Version 6 by hannes on 17. February 2009, 13:55

7== Module Struture == core
9=== Core
10
16===== Array.prototype.indexOf
17
18is part of <a href="http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6">JavaScript 1.6</a> and should be removed (matt)
19
20===== Array.prototype.lastIndexOf
21
22is part of <a href="http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6">JavaScript 1.6</a> and should be removed (matt)
23
52==== json2.js
54==== number.js
58=== Helmahelma
60==== skinbuffer.js
61==== simpleweb.js
62==== simpleweb/request.js
63==== simpleweb/response.js
64==== shell.js
65==== rhino.js
66==== logging.js
67==== log4j.properties
68==== jetty.xml
69==== jetty.js
70==== http.js
71==== helma1.js
72==== functional.js
73==== filters.js
62==== continuationfilestore.js
63==== appfilters.js
64==== functional.js
65==== helma1.js
66==== httpclient.js
67==== httpserver.js
68==== logging.js
69==== profiler.js
70==== shell.js
71==== skin.js
72==== system.js
73==== unittest.js
74==== webapp.js

Version 5 by matthias on 25. June 2008, 14:59

36 Array.union(obj1, obj2); // var arr1 => [{test:"one"}] [obj1];
37 var arr2 = [obj2];
38 Array.union(arr1, arr2); // => [{test:"one"}]
38 
39Array.union could be replaced by using the prototyp.js .uniq() function. It's not very fast, but it works like expected.
40 // replacement using prototype.js
41 var result = arr1.concat(ar2).uniq();
42 // or:
43 Array.union = function() {
44  var r = [];
45      $A(arguments).forEach(function(arr) { r = r.concat(arr).uniq() });
46      return r;
47 }
48
44
45 // replacement using prototype.js
46 var result = arr1.intersect(ar2).uniq();

Version 4 by matthias on 25. June 2008, 13:20

1<style>h4 <style>h3+p, h3+p+p, h3+p+p+p { margin-left: 1em } h4 { margin-left: 1em } h4+p, h4+p+p, h4+p+p+p { margin-left: 2em } h5 { margin-left: 2em } h5+p, h5+p+p, h5+p+p+p { margin-left: 3em } </style>
10
11Core could be renamed to "lang" or "javascript" because all modules here are extending original Javascript objects. Mozilla docs refers to these objects as "Core" (Core JavaScript 1.5 Reference:Global Objects:Array:indexOf at http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:indexOf) in their reference. What do you think? Should we stay with "Core"? Or should we change that? (matt) +/-

Version 3 by matthias on 25. June 2008, 13:15

25works, but could be replaced by prototype.js>Enumerable>include ; see: http://www.prototypejs.org/api/enumerable/include, for compaitibility reasons we could add a conatains alias

Version 2 by matthias on 25. June 2008, 13:12

1<style>h4 { margin-left: 1em } h4+p, h4+p+p, h4+p+p+p { margin-left: 2em } h5 { margin-left: 2em } h5+p, h5+p+p, h5+p+p+p { margin-left: 3em } </style>
13Some Test<a href="http://www.prototypejs.org">prototype.js</a> provides a bunch of neat functions: <a href="http://www.prototypejs.org/api/enumerable">Enumerable Docs</a> and <a href="http://www.prototypejs.org/api/array">Array Docs</a>. prototype.js could be offered as a replacement or addition to the current array.js -> see <a href="https://dev.helma.org/trac/helma/browser/sandbox/aida/modules/javascript/prototype.js">/sandbox/aida/modules/javascript/prototype.js</a>
15And some more test===== Array.prototype.indexOf
16
17is part of <a href="http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6">JavaScript 1.6</a> and should be removed (matt)
18
19===== Array.prototype.lastIndexOf
20
21is part of <a href="http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6">JavaScript 1.6</a> and should be removed (matt)
22
23===== Array.prototype.contains
24
25works
26
27===== Array.union
28
29Has a bug when the source objects look similar, but are not
30
31 var obj1 = {test:"one"};
32 var obj2 = {test:"one"};
33 (obj1 != obj2) === true;
34 Array.union(obj1, obj2); // => [{test:"one"}]
35                          //    instead of [{test:"one"}, {test:"one"}]
36
37===== Array.intersection
38
39not tested yet

Version 1 by matthias on 25. June 2008, 12:57

1<style>h4 { margin-left: 1em } h4+p, h4+p+p, h4+p+p+p { margin-left: 2em } </style>
3Currently Helma-NG ships with some modules, transfered from helma 1.x
4
5Our goal is to open a discussion, about which modules and function should ship with helma-ng, and how they should be structured in directories and modules.
6
7== Module Struture ==
8
9=== Core
10
11==== array.js
12
13Some Test
14
15And some more test
16
17==== date.js
18==== JSON.js
19==== object.js
20==== string.js
21
22=== Helma
23
24==== skin.js
25==== simpleweb.js
26==== simpleweb/request.js
27==== simpleweb/response.js
28==== shell.js
29==== rhino.js
30==== logging.js
31==== log4j.properties
32==== jetty.xml
33==== jetty.js
34==== http.js
35==== helma1.js
36==== functional.js
37==== filters.js
38==== file.js
39==== continuation.js
40==== app.js