3 ms·
> Backbone.js used 2-way data binding. No, Backbone.js doesn't do 2-way data binding, although some certainly made it do that. But it doesn't by default, it ha
by capableweb 3y ago
> Backbone.js used 2-way data binding.
No, Backbone.js doesn't do 2-way data binding, although some certainly made it do that. But it doesn't by default, it has a 1-way data binding (the UI updates when the model changes, but doesn't update the model automatically when the UI changes).
> Some people mistakenly think MVC implies 2-way data binding. It does not.
What? Who does that? I certainly didn't and I haven't heard anyone in my +decade of web development.
- petilon 3y agoFamously, a Facebook engineer declare on stage that MVC doesn't scale. Later it turned out that she was talking about one specific implementation of MVC that used 2-way data binding. She assumed that 2-way data binding is part and parcel of MVC, because that's all she had seen.