Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure. To expand a bit...

Backbone has always been intended to give you the smallest possible set of functionality that you reach for every time you work on a JS-powered web app. Model and Views and events to bind them together, collections with powerful functions for filtering and aggregating data, and shareable URLs.

There are lots of other directions and other needs that JS apps may have, but unless it's something that you're going to use pretty much every time, it doesn't belong in Backbone itself -- it belongs in an extension, or better yet, another standalone library. I'm talking about things like write-through localstorage caching, pushing data over websockets, TreeViews, query syntax for complex JSON, special cross-domain communication, specific HTML-generating strategies, or "mobile" widgets that mimic iOS controls.

Fact is, JS apps are still the wild west when it comes to patterns that work well -- there are plenty of fertile experiments to go around. You want a library that gives you a foundation, so that your app can rise up to meet it and extend it in new directions. I think that pretty much all of the apps in this list fit that description -- going far beyond what Backbone provides out of the box:

http://backbonejs.org/#examples



I think Yehudas point was, why do you want to have just the minimal functionality when you are constantly grabbing for Backbone Addons just to do the standard stuff.

Having a plugable architecture is great, but if rails never considered making a good thing standard (think bundler, or sprockets) really makes moving between rails apps so much easier.

For example I would say nested views, and view layouts is something that should be standard - isn't backbone built for the single page web app idea?

I have seen so many different layout managers, region managers etc.


I would say that backbone wasn't built for the "single page web app idea". I think of it more as an elegant nucleus for apps that have heavy client side javascript. I think its the same approach that sets a project like node apart from rails. A strong, un-opinionated core with a healthy modules community which allows you to tailor all parts of your project.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: