.net - What does "Stateful" means in Stateful ViewModel in MVVM -


i reading xaml patterns, , there stateful viewmodel, according read has nothing different "viewmodel".

here's description example :

stateful view model:

to create isolation between business logic , presentation, data should removed view. stateful view model pattern moves data view model using xaml data binding. allows view model tested without constructing view, , allows view change minimal impact on business logic.

what special called stateful viewmodel ? why isn't called viewmodel

link : http://www.xamlpatterns.com/stateful-view-model

in opinion stateful vm represents "stateful" object can change during view lifetime , outlive next instance of view use same vm. also, have various view-switches, cases depending on present data facts , etc. while basic vm repesent data carier short time, displaying list of db results or serving form field container, bound view. whenever operation view finished viewmodel no longer needed.

now regarding definition posted, exact same stateful , stateless.


Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -