MVVM is a pattern for client development that became very popular in the XAML stack, enabled by Microsoft based on Martin Fowler's presentation model (http://martinfowler.com/eaaDev/PresentationModel.html). Its principle is that you have a ViewModel that holds the state and exposes behavior that can be utilized from a view. The view observes any changes of the state the ViewModel exposes, making the ViewModel totally unaware that there is a view. The ViewModel is decoupled and can be put in isolation and is perfect for automated testing. As part of the state that the ViewModel typically holds is the model part, which is something it usually gets from the server, and a SignalR hub is the perfect transport to get this. It boils down to recognizing the different concerns that make up the frontend and separating it all. This gives us the following diagram:
SignalR Blueprints
By :
SignalR Blueprints
By:
Overview of this book
Table of Contents (18 chapters)
SignalR Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
The Primer
Overheating the Discussion
Extra! Extra! Read All About It!
Can You Measure It?
What Line of Business Are You In?
An Architectural Taste
The Three Screens – Mobile First
Putting the X in .NET – Xamarin
Debugging or Troubleshooting
Hosting and Deployment
Index
Customer Reviews