Helma 1.7 ---> RingoJS

Skip to first unread message


Oct 15, 2014, 8:11:58 AM10/15/14
to rin...@googlegroups.com
We are considering to move our code from Helma 1.7.x  to RingoJS, however there are still a few things that SEEMS missing. Or at least I can't seem to find it easily in RingoJS.

For examples: 

1. Whole Jala lib deal with form validation and pagination. I am not sure how one do that in RingoJS. I know I can build my own, but just wonder if there are any stabs out there.  
2. Cron jobs!  How do you create a cronjob in RingoJS? 
3. Helma Swarm. How do one scale RingoJS server to more than one? Does the session propagate over multiple servers?  
4. Helma Groups. When we have multiple servers running, how can the server instances share variables? 
5. Triggers.  Like onPersis for the ORM 
6. Also scalbility.  We are pretty happy with Helma's small foot print  running on very very small server and able to to server million of hits per day. Does anyone know RingoJS is up to that task? 

Any pointer appropriated. 


Julian Tree

Oct 15, 2014, 9:00:51 AM10/15/14
to rin...@googlegroups.com
Oh and and also about Email support in RingoJS.  

You received this message because you are subscribed to the Google Groups "RingoJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ringojs+u...@googlegroups.com.
To post to this group, send email to rin...@googlegroups.com.
Visit this group at http://groups.google.com/group/ringojs.
For more options, visit https://groups.google.com/d/optout.

Manfred Andres

Oct 15, 2014, 9:27:51 AM10/15/14
to rin...@googlegroups.com

1) The Jala lib was developed independently and is therefore not part of Helma. So there is no port to RingoJS at all.
Parts of it are available in different implementations like lucindex [1] adding lucene-capabilities to RingoJS.

2) Cronjobs may be done with setInterval(function, interval) for example. I have no knowledge of any library implementing a cron job-runner like helma has.
3) We never used session-replication in helma, but you surely could do this somehow. For example using something like couchdb as session-storage and a custom-session-cookie as key. It should also be possible to use jetty-features [2], but i havn't looked into it yet.
A HelmaSwarm equivalent isn't available by now, but i know there is some wip to support cache-invalidation within a cluster. Watch ringo-sqlstore. [3]

4) I personally dislike Helma Groups. We had some troubles resulting in unpredictable serverlockups sometimes forcing us to restart every cluster node. Again i would consider looking into couchDB. It should be fairly easy to use the java-client of couchDB.

5) I also would realy like some callback-functions which get called when a transaction completes (like onRemove or onStore called when a model is stored or removed.. talking about ringo-sqlstore here). Maybe we will get this in the near future.

6) If you are happy about a small footprint i think ringo should have even a smaller footprint, but i did no comparison to back this guess with confidence.

best wishes, manfred

[1] https://github.com/grob/lucindex

Manfred Andres

Oct 15, 2014, 9:28:47 AM10/15/14
to rin...@googlegroups.com
Email-Support is available: https://github.com/robi42/ringo-mail

2014-10-15 15:00 GMT+02:00 Julian Tree <julia...@gmail.com>:

Gary Casey

Oct 15, 2014, 9:33:31 AM10/15/14
to rin...@googlegroups.com
For a Java scheduling library, I recommend cron4j http://www.sauronsoftware.it/projects/cron4j/ ; I'm not aware of a ringo wrapper for it, but cron4j is super-easy to use

Robert Thurnher

Oct 15, 2014, 9:46:22 AM10/15/14
to rin...@googlegroups.com
BTW, there's also Quartz for cronjob-like scheduling (Java lib):


Best, Robi

Julian Tree

Oct 18, 2014, 8:17:49 AM10/18/14
to rin...@googlegroups.com
Thanks Manfred.  This is very nice.  What about something where we can also check IMAP/Pop3? 

Especially one that can check for email and get the 


all already parsed out. I know there are Java libs out there that does that. Just wonder if anything has being ported to RingoJS.

Julian Tree

Oct 18, 2014, 8:22:13 AM10/18/14
to rin...@googlegroups.com
Thanks Manfred.  For [3], what would you or anyone recommend for server replication? For instance where we may need more than one server. 

I know I can store everything in DB and have Nginx or Apache as a proxy front. Is that is the recommended.  What about sqlstore, would that get replicated over the servers? 

Or should we just invalidate the cache and have each node to get the data from the server directly? I think about this just because we don't want to be the first one get stuck in a scalbility trap. 

Reply all
Reply to author
0 new messages