169
votes
5answers
53k views

Angular.js vs Backbone.js [closed]

Which MV* framework do you recommend? Angular or Backbone?
97
votes
30answers
44k views

Is there a Javascript MVC (micro-)framework? [closed]

Are there any client-side Javascript MVC (micro-)frameworks? I have a rather complicated HTML form and it would benefit from the MVC pattern. EDIT: I imagine a good solution would provide the ...
54
votes
4answers
25k views

How do I fetch a single model in Backbone?

I have a Clock model in Backbone: var Clock = Backbone.Model.extend({}); I'm trying to get an instance of that that has the latest information from /clocks/123. Some things I've tried: a ...
50
votes
6answers
14k views

Backbone.js : repopulate or recreate the view?

In my web application, I have a user list in a table on the left, and a user detail pane on the right. When the admin clicks a user in the table, its details should be displayed on the right. I have ...
46
votes
5answers
9k views

AngularJS: Where to put model data and behaviour?

I am working with AngularJS for my latest project. In the documentation and tutorials all model data is put into the controller scope. I understand that is has to be there to be available for the ...
45
votes
5answers
9k views

SproutCore vs. Cappuccino

Aside from the language differences Javascript vs. Objective-J what benefits does Cappuccino provide over SproutCore and vice-versa in your experiences? In terms of a long-term forecast, is ...
44
votes
3answers
14k views

How to render and append sub-views in Backbone.js

I have a nested-View setup which can get somewhat deep in my application. There are a bunch of ways I could think of initializing, rendering and appending the sub-views, but I'm wondering what common ...
35
votes
3answers
6k views

Unexplainable variable $data in Knockout JS

In the KnockoutJS tutorials I stumbled upon the following code example that contains an unexplainable variable $data. The tutorial does not contain any explanation what that dollar sign is used for ...
33
votes
3answers
9k views

SproutCore vs Cappucino vs Ember vs Extjs [closed]

I've found a lot of topics covering some of the aspects, but these topics are old (2009 and 2010). Among them there are very good comparisons like: SproutCore vs. Cappuccino Differences between ...
29
votes
2answers
10k views

Can Angular.js auto-update a view if a persistent model (server database) is changed by an external app?

I'm just starting to familiarize with Angular.js, but I would like to build a web app that has a view that gets auto-upated in real-time (no refresh) for the user when something changes in the ...
26
votes
3answers
12k views

ember.js and the server

I'm looking at Ember.js and have been reading the docs to try and understand how to use it. I get it (pretty well), except for one thing. To my way of thinking in the MVC pattern, the Model is the ...
26
votes
2answers
4k views

Backbone.js - where to store state information?

I'm new to Backbone.js, and I'm trying to figure out where state variables should live. My use case: I have an application that provides a reading interface for a book (I know, classic example, ...
25
votes
1answer
4k views

Building a website using node.js - best practice

I was wondering how one would go about developing a website from scratch with node.js . I understand how I could possibly do it, but I am interested in the best design practice. I need this ...
25
votes
7answers
15k views

SproutCore and Cappuccino

I'm about to build a web app and I would like to use either SproutCore or Cappuccino. Only thing is, I can't figure out which one to use... I've been reading about them, and they seem to share the ...
21
votes
6answers
6k views

How to dynamically change header based on angularjs partial view?

I am using ng-view to include Angularjs partial views, and I want to update the page title and h1 header tags based on the included view. These are out of scope of the partial view controllers though, ...

1 2 3 4 5 65
15 30 50 per page