4 ms·
Views are not controllers. Views are more akin to presenters, or viewmodels. You are right that what is traditionally considered a "view" in the rails parlanc
by knowtheory 14y ago
Views are not controllers. Views are more akin to presenters, or viewmodels. You are right that what is traditionally considered a "view" in the rails parlance is a template to backbone.
fwiw, Routers used to be called Controllers.
- dnajd 14y agoLooking at the definition of controllers here: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93cont... how are backbone.js 'views' not controllers? Or does this logic belong in the Route.js file? I am clearly confused. FYI.. rails didn't invent mvc; it was invented in the 70's for smalltalk.
- kalms 14y agoI think we all know that by now. Backbone doesn't subscribe to neither MVC or MVP. It takes what it needs and does away with the rest. Either you like that or you don't, but that doesn't make it wrong.