Skip to Content
Professional Windows 8 Programming: Application Development with C# and XAML
book

Professional Windows 8 Programming: Application Development with C# and XAML

by Nick Lecrenski, Doug Holland, Allen Sanders, Kevin Ashley
December 2012
Intermediate to advanced
504 pages
12h 42m
English
Wrox
Content preview from Professional Windows 8 Programming: Application Development with C# and XAML

Chapter 10

Windows Store Application Architecture

WHAT’S IN THIS CHAPTER?

  • The importance of MVVM
  • Finding ViewModels
  • Using models in the Artist Browser example from Chapter 1
  • How commands can handle input
  • Understanding and utilizing the MVVM Frameworks

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter at www.wrox.com/remtitle.cgi?isbn=1182205707 on the Download Code tab in zip file. 205709 C10.zip.

BEST PRACTICES FOR YOUR APPS

Because the framework for building Windows Store apps is based on XAML, many existing techniques and design patterns for solving problems are also applicable on the new platform. Just as architects use different tools and techniques depending on what they’re designing, each software project may require a different design to meet the known requirements and constraints. Although there isn’t a single solution to every challenge, sometimes, best practices provide guidance to make solving the challenge easier. This chapter outlines best practices to reduce complexity and increase flexibility of your apps.

UNDERSTANDING MVVM

Model-View-ViewModel (MVVM) is a design pattern primarily used with XAML-based applications, such as Windows Presentation Foundation (WPF), Silverlight, and Windows Phone applications. It has strong similarities with Model-View-Controller (MVC) and Model-View-Presenter (MVP), but it’s designed specifically for XAML applications. It consists of three elements:

  • Model: This is the representation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Building Windows 8 Apps with C# and XAML

Building Windows 8 Apps with C# and XAML

John Montgomery Jeremy Likness
Programming Windows Store Apps with C#

Programming Windows Store Apps with C#

Matthew Baxter-Reynolds, Iris Classon

Publisher Resources

ISBN: 9781118240823Purchase book