Rav! Srivastava. CodeProject. 2016-10-02.
Implementing Factory design pattern to open new Window from ViewModel in WPF MVVM.
I got several question posted on web “How to open new window from view model in MVVM pattern” and I have also encountered the same problem at beginner level after googling and learning design pattern got the solution of this problem and decided to write an article with deep discussion. In this article we are going to implement the Factory Design Pattern. It will provide a flexible and loosely coupled environment.
[Open new Window from ViewModel in WPF MVVM]
Delphi Fire Monkey. 2014-06-23
How to use Model-View-ViewModel (MVVM) in Delphi (Separating Logic from UI) for maintainability, testability and dependability.
[Using Model-View-ViewModel (MVVM) in Delphi FireMonkey]
A demo of a GUI application with an MVVM-like architecture where model and view model are purely functional.
•Elegant dependency tracking – automatically updates the right parts of your UI whenever your data model changes.
•Declarative bindings – a simple and obvious way to connect parts of your UI to your data model. You can construct a complex dynamic UIs easily using arbitrarily nested binding contexts.
•Trivially extensible – implement custom behaviors as new declarative bindings for easy reuse in just a few lines of code.
•Can be added on top of your existing web application without requiring major architectural changes
•Compact – around 13kb after gzipping
•Works on any mainstream browser (IE 6+, Firefox 2+, Chrome, Safari, Edge, others)
•Comprehensive suite of specifications (developed BDD-style) means its correct functioning can easily be verified on new browsers and platforms
Developers familiar with Ruby on Rails, ASP.NET MVC, or other MV* technologies may see MVVM as a real-time form of MVC with declarative syntax. In another sense, you can think of KO as a general way to make UIs for editing JSON data… whatever works for you 🙂
John Gossman (Microsoft Developer), 2006-03-04
[Advantages and disadvantages of M-V-VM]
Dave M Bush (Dave Bush’s Blog), 2016-07-26
The MVVM design pattern has been around for quite a while now. It has a lot of strengths when done correctly. But, I believe the time has come to recognize that MVVM has a lot of shortcomings that point to its demise. Since I primarily develop web applications, I will keep this discussion centered on the use of MVVM in web applications. The use of MVVM for desktop may or may not have these same issues.
[4 Reasons To Drop MVVM]
Super Lloyd. CodeProject
Introduction to MVVM for absolute beginners
This article is here to help people go from absolute beginner to normal beginner with MVVM.
This article assume minimal familiarity with XAML and a UI library using XAML such as WPF. Just that you can read it is good enough. Why? Because before XAML MVVM was not possible (without lots of extra work) as summarily explained below.
The code sample is using some C# 6 functionality (null conditiona a?.b, auto property initializer) and some .NET 4.5 one (CallerMemberAttribute) hence one will need at least VS2015 to compile it. But hey, it’s free!