News for hackers. Stuff that matters.
Re:Introducing Ampersand.js by aikah on Thursday June 26, 2014 @12:44PM (#7950450)
There was a link earlier on HN about declarative programming.

In my opinion that's the best solution to the front-end dev issue.No amount of Backbone based framework ,as good as they are(and I use some) really solve the "how do I build a complex interactive view" problem on the client.

Setting intents and expectations and letting the framework drive the view life cycle solves many issues.AngularJS and React success are a proof of that fact.

So hardest thing to manage in an client app is the view . Backbone never solved that problem.It just had an opinion about the Domain Layer(Backbone models/collections) and the Data Access Layer(ajax).

Didnt try Ampersand but i'm curious as to how it solves that issue.

Re:Introducing Ampersand.js by HenrikJoreteg on Thursday June 26, 2014 @06:34PM (#7951895)
We build lots of complex interactive views with it. Probably should share some more examples.

We support declarative subviews, that might be what you're looking for: http://ampersandjs.com/docs#ampersand-view-subviews

Re:Introducing Ampersand.js by Rodeoclash on Thursday June 26, 2014 @08:27PM (#7952221)
No reason why you can't roll with React to do this. Although backbone supplies a "View", it's very thin and makes it easy to use your own method of getting data into the dom.
Re:Introducing Ampersand.js by jenius on Thursday June 26, 2014 @03:21PM (#7951169)
Marionette takes care of this quite well for very complex views, results in much cleaner markup than angular etc, and is built on backbone. Give it a shot.