Learn how to build a testable and maintainable code base for your Windows 8 applications using proven technologies such as MVVM. This course builds a fully-working application for Windows 8 using a solid architecture based on MVVM. After following this course, you'll have a clear understanding of how to set up a project for Windows 8.
MVVM has been covered a lot in numerous sessions and articles. Still, some people are a bit confused when they are building a complete application based on the pattern. On top of that, Windows 8 brings a lot of new features to the table including contracts, tiles and so on. Working with these features from an MVVM point-of-view is also new and different. In this practical course, we will build up an application from scratch and include the Windows 8 features, of course, all based on good practice and real-life architecture.
Course Introduction Hi and welcome to this course on building Real-world Windows 8 Applications and a simple Architecture based on MVVM, that's quite a long title. My name is Gill Cleeren and you can contact me via Twitter by @gillcleeren. In this course we are going to talk about a simple architecture for Windows 8 that you can use as a base architecture for your own Windows 8 applications. The main pattern we are going to use for this is the MVVM pattern also known as the Model-View-ViewModel pattern. Along the way we are going to discuss the several layers of the application and see which patterns we can use to build them. For many Windows 8 specific features such as contract and tiles are going to try to give a solution and see how we can fit them into the architecture. After viewing this course you should have a clear understanding of how you can build a testable and maintainable Windows 8 application. This very first module is a very short one, introducing you to the rest of the course. I'm going to start by explaining to you in a bit more detail what you'll learn in this course. Next I'm going to explain a bit about the relation between MVVM, Modern UI, and Windows 8. After that I'm going to explain what we'll see in the different modules. This will give you the opportunity to see if you need to follow all modules or that it would be interesting to skip some. Throughout this course we will work with one large application. We'll finish this module by looking at the scenario for the application that we are going to build.
Writing Tests for The Application Hello and welcome to the fifth and last module of this Pluralsight course on building a Real-world architecture for Windows 8 applications using MVVM. This last module will be used to take a look at how we can benefit from the hard work that we've done in the previous modules. We've spent a lot of time creating a testable architecture so, in other words, it should be easy now to write unit tests for our application. Unit tests and creating some mocks for our architecture is exactly what we're going to do in this module. We'll start this module with a very short discuss on unit testing. We'll briefly discuss how we are going to do the unit testing in our application. The most important part is of course, seeing how we can write a test and we'll do that next when we are going to create a unit test for a ViewModel we have created earlier.