RingoJSFinJUG talk byOleg Podsechin15.01.2013
Overview started by Hannes Wallnöfer successor to Helma, HelmaNG  o been in development for 13+ years runs on the JVM ...
CommonJS Modules/1.0, Modules/1.1 JSGI Binary Filesystem System Unit Testing
Features    hot reloading of modules    profiler    debugger    sandboxing    runs anywhere Java runs        within ...
Install & Rungit clone git://github.com/ringo/ringojs.gitant update jarbin/ringo
Hello World>> Hello WorldHello World
Hello World, Take Twonew require(ringo/httpserver).Server({    app: function() {    return {status: 200,              head...
Multithreaded JS// run "test" in "threads" parallel threads a total of "count" timesfunction parallel(test, count, threads...
RingoJS libraries search GitHub for ringo-ringo-admin install   user/repo use rp and packages.ringojs.orgrp install name
Examples of RingoJS libraries stick ringo-modulr ringo-storable   ringo-filestore, ringo-hibernate ringo-mongodb rin...
Stick Examplevar {Application} = require("stick");     var app = Application();     app.configure("error", "notfound",  "r...
Community #ringojs on Freenode IRC #ringojs & @ringojs on Twitter http://github.com/ringo
Use Cases & Benefits standalone to extend an existing Java webapp plugin architecture for existing application code re...
Extras Common Node Nashorn Node.jar Vert.x
@olegpodsechingithub.com/olegp
RingoJS
Upcoming SlideShare
Loading in...5
×

RingoJS

1,164

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,164
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

RingoJS

  1. 1. RingoJSFinJUG talk byOleg Podsechin15.01.2013
  2. 2. Overview started by Hannes Wallnöfer successor to Helma, HelmaNG o been in development for 13+ years runs on the JVM uses Mozilla Rhino conforms to CommonJS
  3. 3. CommonJS Modules/1.0, Modules/1.1 JSGI Binary Filesystem System Unit Testing
  4. 4. Features  hot reloading of modules  profiler  debugger  sandboxing  runs anywhere Java runs  within a webapp container  standalone process
  5. 5. Install & Rungit clone git://github.com/ringo/ringojs.gitant update jarbin/ringo
  6. 6. Hello World>> Hello WorldHello World
  7. 7. Hello World, Take Twonew require(ringo/httpserver).Server({ app: function() { return {status: 200, headers: {}, body: [Hello World]}; } }).start();
  8. 8. Multithreaded JS// run "test" in "threads" parallel threads a total of "count" timesfunction parallel(test, count, threads) {  var pool = new      java.util.concurrent.Executors.newFixedThreadPool(threads);  functio n runnable(f) {     return new java.lang.Runnable({ run: function() {       try { f(); } catch(e) { }     }});  }  for(var i = 0; i < count; i ++)     pool.execute(runnable(test));}
  9. 9. RingoJS libraries search GitHub for ringo-ringo-admin install  user/repo use rp and packages.ringojs.orgrp install name
  10. 10. Examples of RingoJS libraries stick ringo-modulr ringo-storable  ringo-filestore, ringo-hibernate ringo-mongodb ringo-mail
  11. 11. Stick Examplevar {Application} = require("stick");     var app = Application();     app.configure("error", "notfound",  "route"); var response =  require(ringo/jsgi/response);     app.get("/", function(req) {    return response.html("Hello"); });   
  12. 12. Community #ringojs on Freenode IRC #ringojs & @ringojs on Twitter http://github.com/ringo
  13. 13. Use Cases & Benefits standalone to extend an existing Java webapp plugin architecture for existing application code reuse between server and browser less context switching more compact code, faster prototyping
  14. 14. Extras Common Node Nashorn Node.jar Vert.x
  15. 15. @olegpodsechingithub.com/olegp
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×