Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7 Silverlight Cookbook

You're reading from   Windows Phone 7 Silverlight Cookbook All the recipes you need to start creating apps and making money.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849691161
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Marbutt Jonathan Marbutt
Author Profile Icon Jonathan Marbutt
Jonathan Marbutt
Robb Schiefer Robb Schiefer
Author Profile Icon Robb Schiefer
Robb Schiefer
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

A case for MVVM


Before we get too deep into discussion about MVVM, let's first look at the need for MVVM and a little history to it. Traditionally in application development the lines of where logic for your application goes sometimes gets blurred. This blurring of lines causes applications to not optimize code re-usage that in turn leaves room for bugs and increases the maintenance of your application.

Separation of Concerns

The other case for MVVM is creating a true Separation of Concerns for parts of your application, with each part being completely independent from the other. It reminds me of my childhood; I always loved to have my dinner on a divided plate that would keep my peas away from my bread and my spaghetti sauce away from my peas and away from my dessert. Each part of MVVM is like a meal that isn't mixed together; while it is fine to mix your food, it does not allow you to enjoy each individual item. Architecting your application isn't that different; if you have been a programmer...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image