MVVM: an architectural pattern used in software engineering that originated from Microsoft that is specialized in the Presentation Model design pattern. It is based on the Model-View-Controller pattern (MVC), and is targeted at modern UI development platforms (WPF and Silverlight) in which there is a UX developer who has different requirements than a more "traditional" developer. MVVM is a way of creating client applications that leverage core features of the WPF platform, allows for simple unit testing of application functionality, and helps developers and designers work together with less technical difficulties.
VIEW: A View is defined in XAML and should not have any logic in the code-behind. It binds to the view-model by only using data binding.
MODEL: A Model is responsible for exposing data in a way that is easily consumable by WPF. It must implement INotifyPropertyChanged and/or INotifyCollectionChanged as appropriate.
VIEWMODEL: A ViewModel is a model for a view in the application or we can say as an abstraction of the view. It exposes data relevant to the view and exposes the behaviors for the views, usually with Commands.
'메모' 카테고리의 다른 글
윈도우 서버 2008 - 교육 1일 목차 (0) | 2013.05.23 |
---|---|
쉽고 빠르게 코딩하려고 MS를 공부하려하는데... (0) | 2013.05.12 |
[본문스크랩] HTML_테이블만들기 (0) | 2013.05.05 |
[MS-SQL] 테이블 스키마 조회 (0) | 2013.02.07 |
[자바스크립트] 랜덤함수 응용 (0) | 2013.02.07 |