![]() ![]() When data is changed, UI is changed, when UI is changed data is changed. Functions manipulate that data and it reflect to the UI. Main responsibility is to establish communication with View and Model. It provides structure/Layout of the User Interface and presents to the user. View: Responsible for presenting model data to the user. So we can think like it is the data part of the pattern. When user enter data with UI elements, that data will store to a Model. Model: Responsible for holding Application data. The following diagram will show the style of MVVM: So if you want to understand KO properly, then you should know about MVVM first. ![]() KO built on that architectural design pattern. It completely separates GUI Rendering logic from Application Logic (Data Logic/Business Logic). It respects the programming principle "Separation of Concern". MVVM is a specific implementation targeted at UI development platform which supports event driven programming for WPF/Silverlight. But we can use this Web application too with ASP.NET. It is an architectural design pattern originated by Microsoft and mainly created for WPF/Silverlight applications. What is MVVM? Well, the full form of MVVM is Model View ViewModel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |