4 ms·
Will it be possible to incorporate something like this into Node.js? I know it can be done with something like Backbone, and does it provide any distinct advant
by krmmalik 15y ago
Will it be possible to incorporate something like this into Node.js? I know it can be done with something like Backbone, and does it provide any distinct advantages over Backbone that would be worth investing the time in this library?
- wycats 15y agoA few months ago I showed a demo at a meetup of using Amber in node. The main benefit of Amber in a node environment is the way it abstracts asynchronous behavior through bindings and observers. I could easily imagine an Amber object representing a File in node, for instance, allowing other objects to bind to properties like mtime, etc. In my demo, I used socket.io to update an HTML page whenever one of those properties changed.
- krmmalik 15y agoThanks for responding. Do you have a video of the demo?
- joubert 15y agoHi - here's a video of the meet up and a link to the demo Amber-on-NodeJS code http://joubert.posterous.com/yehuda-talking-about-amberjs-sproutcore-20 http://joubert.posterous.com/yehuda-talking-about-amberjs-sp...
- bmuon 15y agoYou can run pretty much any JS library on Node with jsdom https://github.com/tmpvar/jsdom/ https://github.com/tmpvar/jsdom/
- wycats 15y agoAmber's runtime component runs in node without any special browser shims.