README.md in jubilee-1.0.0.beta1 vs README.md in jubilee-1.0.0
- old
+ new
@@ -1,18 +1,22 @@
[](https://travis-ci.org/isaiah/jubilee)
Jubilee
=========
+
+> "We need a web framework for Vertx.", you said.
-An rack server with [vertx 2.0](http://vertx.io) built in.
+> "But why not use Vertx in your Rails applications, it's the most productive web framework ever created."
+The Answer is Jubilee, a rack server with [vertx 2.0](http://vertx.io) awesomeness builtin.
+
Why another rack server?
------------------------
-"Vert.x is a lightweight, high performance application platform for the JVM
-that's designed for modern mobile, web, and enterprise applications."
- -- vertx.io site
+> "Vert.x is a lightweight, high performance application platform for the JVM
+> that's designed for modern mobile, web, and enterprise applications."
+> - vertx.io site
In short, Vertx is nodejs on the JVM, only much more faster, checkout the awesome
[benchmarks](http://vertxproject.wordpress.com/2012/05/09/vert-x-vs-node-js-simple-http-benchmarks/)
By using Vertx, jubilee inherent advantages in terms of performance, and all
@@ -25,11 +29,11 @@
Installation
------------
- $ jruby -S gem install jubilee
+ $ jruby -S gem install jubilee --pre
Jubilee requires JRuby 1.7.0 or later, and JDK 7+
Get started
-----------
@@ -59,32 +63,35 @@
to client and client to client, with the same API!
Examples
--------
-Assume necessary javascript files are loaded in the page, start jubilee in a
-rack application with:
+Assume necessary javascript files are loaded in the page (they can be found [here](https://github.com/isaiah/jubilee/tree/master/examples/client)),
+start jubilee in a rack application with:
```
$ jubilee --eventbus /eventbus
```
In one browser:
```javascript
-JubileeEventBus = new vertx.EventBus("http://localhost:3215/eventbus");
-JubileeEventBus.registerHandler("test", function(data){
+var eb = new vertx.EventBus("/eventbus");
+eb.registerHandler("test", function(data){
console.info(data);
});
```
In another:
```javascript
-JubileeEventBus = new vertx.EventBus("http://localhost:3215/eventbus");
-JubileeEventBus.send("test", "hello, world");
+var eb = new vertx.EventBus("/eventbus");
+eb.send("test", "hello, world");
```
+
+For more advanced examples, checkout the
+[chatapp](https://github.com/isaiah/jubilee/tree/master/examples/chatapp).
License
--------
The same as JRuby and vertx