Re:Single page apps in depth (new free book)
by zachrose on Thursday June 28, 2012 @05:00PM
(#4173906)
Sort of? I mean, if you're using models and collections to store _model and collection_ state, then essentially yes, you'll probably have a global variable that namespaces the state of data in your application (or closure-wrapped modules, as the author suggests).
At a certain point (and fairly early, really) keeping the state of an interactive application as HTML nodes is not what I want.
Re:Single page apps in depth (new free book)
by pfraze on Thursday June 28, 2012 @05:21PM
(#4174011)
Or a number of isolated, small state objects with well-defined interfaces.
Seriously? So you think Backbone.js and the like are just a fad?
Re:Single page apps in depth (new free book)
by heretohelp on Thursday June 28, 2012 @06:49PM
(#4174357)
I'm not fond of the way Backbone.js works. It solves none of the hard problems of making an SPA. (AngularJS is guilty of this too, albeit from a different angle.)
Tell me you've got something better than that.