addyosmani/backbone-boilerplates — pull request #7 by ohneda (2012-05-20 07:58:00+00:00)
Title: backbone.js with vert.x

Hi,

I added new sample app which demonstrates a real-time application using Vert.x and its eventbus, based on Option 1 refering to Option 7.
This sample app work in the same way as Option 7.

The modification I did on Option 1 is very simple, just added custom_sync.js that overwrite Bacbone.sync to send a message on the eventbus, and some scripts in script.js to receive a message and trigger events to sync collections with backend.

I'm not sure if it is useful or not, but Vert.x is so powerful and simple next generation (Node.js alternative) framework that I believe the sample might be helpful for someone who are interested in using Vert.x and Backbone.js together.

Let me know if there are any problems or questions.

Thanks.

Yuichi