Spine -- A lightweight framework for building JavaScript web applications
1–10 of 50 posts
Re: Spine -- A lightweight framework for building JavaScript web applications
#2Re: Spine -- A lightweight framework for building JavaScript web applications
#3Re: Spine -- A lightweight framework for building JavaScript web applications
#4Re: Spine -- A lightweight framework for building JavaScript web applications
#5Re: Spine -- A lightweight framework for building JavaScript web applications
#6wasn't this backbone.js ? the TODO example is the same one !!
"Well, it's true that Spine was inspired by Backbone, an excellent library, and its controller API is very similar. However, the similarities end there. Internally the library works very differently. For example, Spine has no need for Collections, which are required for pretty much every model in Backbone. Spine provides a class library, and has very different ideas when it comes to server sync. Lastly, Spine is much simpler and half the size, go and check out the source."
Re: Spine -- A lightweight framework for building JavaScript web applications
#7wasn't this backbone.js ? the TODO example is the same one !!
> Whoah - your API looks really similar to Backbone. Why should I use this instead? > Well, it's true that Spine was inspired by Backbone, an excellent library, and its controller API is very similar. However, the similarities end there. Internally the library works very differently. For example, Spine has no need for Collections, which are required for pretty much every model in Backbone. Spine provides a class library, and has very different ideas when it comes to server sync. Lastly, Spine is much simpler and half the size, go and check out the source.
Re: Spine -- A lightweight framework for building JavaScript web applications
#8The key architectural difference seems to be that the ui is updated before the server responds, which is great in a single user situation, but can get pretty inconsistant once you're in a multi user app.
I do have to say that I like the patterns section at the end, it's always good to see a prescription for how you would use a library or framework.
Re: Spine -- A lightweight framework for building JavaScript web applications
#9wasn't this backbone.js ? the TODO example is the same one !!
At the top of the FAQ, he answers some of the comparison questions: http://maccman.github.com/spine/#h-faq
The bit about it being smaller is pretty misleading (especially when comparing 2k to 3k) -- it may be 500 lines instead of 1100, but the 1100 are heavily commented, and the 500 are entirely comment-less. It also doesn't include any of the collection mapping, filtering, and aggregation functions, which contain a large part of the usefulness of Backbone when used with real models.
Re: Spine -- A lightweight framework for building JavaScript web applications
#10I'll have to have a dig around the code to see what's different from Backbone. Were you involved with this development, Jeremy?