3 ms·
Ok but that's kind of my point. You don't need Knockout to bind values to DOM elements so you can update the DOM in "real time", do you? There's nothing inheren
by mattdeboard 14y ago
Ok but that's kind of my point. You don't need Knockout to bind values to DOM elements so you can update the DOM in "real time", do you? There's nothing inherently special about KO or backbone or whatever, is there? It's just javascript.
Unless you mean something besides what I understand "real-time" to be, I don't think this actually happens.
- pbiggar 14y agoOf course KO and backbone are just javascript. They are mature(ish), popular, well-known libraries that do very useful things. They aren't "code organization & maintenance enablers" (based on what I believe you mean by that). You could of course update the DOM in real-time without KO, but KO basically provides a lovely declarative DSL for how to do that. Why throw that away? I don't know what your last comment meant. KO binds values to DOM elements, so when you update the value, the DOM element instantly changes. If you saw the Meteor video, its just like that.
- mattdeboard 14y agoI don't know why part of my comment is in italics, I didn't surround it in asterisks or whatever. Sorry about the implied strenuousness of that part of my comment, it was unintentional. Anyway, of course they're code organization and maintenance tools. You and I apparently have very different definitions for various phrases such as "real time", "DSL", and "code organization".