Re:Backbone.js Fundamentals
by douglasisshiny on Thursday April 12, 2012 @11:43AM
(#3832796)
I'm a newbie, although I feel somewhat informed on these subjects (although not skilled in coding).
Anyway, I like the idea of using javascript everywhere. I plan on building smaller apps that are only client side. But I wonder if there is a cohesive method yet of using javascript everywhere.
Obviously meteor was big news yesterday, but it's quite immature. The YUI Mojito project also recently made news and is more stable/robust. While the tightly integrated approach used in YUI sounds convenient, I get the impression that there isn't much excitement behind YUI -- certainly not like backbone.js, node.js, et al.
So is there a collection of libraries that can play together well to make for an all javascript environment (i.e., backbone (plus underscore, jQuery) on the client, node + socket.io on the server)?
Re:Backbone.js Fundamentals
by oscilloscope on Thursday April 12, 2012 @05:54PM
(#3834363)
Backbone, underscore, jquery, node, socket.io is a good place to start.
Re:Backbone.js Fundamentals
by douglasisshiny on Thursday April 12, 2012 @11:49PM
(#3835324)
Thank you! It's much appreciated.
That said, Meteor and Backbone do different things. Meteor is an attempt to solve (obviate, really) the mismatch between client/server development. To what extent it does this in a reasonable fashion is yet to be fully explored (although it does look awesome!)
Backbone is a client-side JS application toolkit. It's purpose is to bundle up the things that are common to every JS application, and provide a solid API to hook your application code to, and to hook your app to your RESTful server API. That said, Backbone offers more than just a convention for how your JS app talks to your API.
You will note that Backbone is included in the default set of installable Meteor packages.