I have a todo object and a user object on the server. I would like a controller to serve both objects in one Json object. Would the backbone way be to do it in the View?
Asked
Active
Viewed 33 times
2 Answers
0
Check that: http://todomvc.com/examples/backbone/
This is a good example
Edit:
Indeed backbone is a MV* implementation, not a real MVC. You pointed it out right, the view is also the controller.

François Richard
- 6,817
- 10
- 43
- 78
-
I know it says todoMVC. but Im not sure i see a controller implementation in the source code. https://github.com/tastejs/todomvc/tree/gh-pages/examples/backbone – Six six six Aug 02 '15 at 23:23
0
it looks like Backbone.View is the Controller. I think this answers my question Is Backbone.js really an MVC?

Community
- 1
- 1

Six six six
- 63
- 5