JQuery Data Binding - Which plugin is popular these days?

I need some kind of JS MVC solution, DataBinding. Similar to the implementation of the GMAIL web application. Messages INDEX and Message Show. where messages are displayed, if you change a message, it is automatically updated in the message index.

Which plugin should I learn to do this job without the crazy amount of jQuery?

thank

+3
source share
6 answers

This is similar to the work knockoutjs can handle . This makes it easy to associate DOM elements with a data model. Technically, this is not MVC, but MVVM (model-view-viewmodel).

+3
source

Backbone.js, underscore.js, .

jQuery. , , , , .

+3

, JavaScriptMVC. - , . , jQuery.

. , - myModel.attr( "firstName", "Bob" ). , , . , ( - ) myModel "firstName", firstName, .

+3
0
source

For everyone who comes across this issue recently, I think it's a great solution for binding data to DOM elements to the Generic Data Binder (GDB) model . It is extremely simple and very flexible for these purposes. Check this.

0
source

Source: https://habr.com/ru/post/1782226/


All Articles