Windows 8 MVVM Patterns Revealed [electronic resource] : covers both C# and JavaScript  /
Ghoda, Ashish.author.
The Model-View-View-Model (MVVM) pattern is held in high regard by many developers as an excellent way of creating sophisticated modern applications. It's clear separation of presentation and business logic produces a clean implementation that promotes speed, scalability and code reuse in applications with a complex UI. These strengths have found it favor with WPF and Silverlight developers. It is now increasingly being employed for Windows 8 apps, a purpose to which it is ideally suited as this book will show. In this brief, information-rich, guide we will show you how MVVM works with both XAML (C#) and HTML5 (JavaScript) flavors of Windows 8. Beginning with a brief recap of MVVM concepts under .NET - to provide a common frame of reference - we will then delve into the details of how MVVM can best be implemented in Metro-style apps for Windows 8 and show a working application framework in each case.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; The Model-View-View-Model (MVVM) Pattern; Windows 8 Store Applications; The Finance Hub Windows 8 Store Application; The Book Structure; Chapter 1: Setting Up Windows 8 Application Project; Chapter 2: Implementing the View; Chapter 3: Implementing the Model; Chapter 4: Implementing the View Model; Chapter 5: HTML5, JavaScript, and Windows 8 Applications; Chapter 6: View, Model, and View Model Structures in HTML5 and JavaScript; The Source Code
Chapter 1 Setting Up Windows 8 Application Project The Development Environment; The Windows 8 Operating System; The Visual Studio Development Platform; Visual Studio 2012; Visual Studio 2012 Express for Windows 8; Data Storage; Developer License; The Windows Store Project Templates; Creating a Windows Store XAML Project - Finance Hub; Exploring Finance Hub Project; The Project Structure; The Package Application Manifest File; The Application UI Tab; The Capabilities Tab; The Declarations Tab; The Packaging Tab; Setting MVVM Architecture in Finance Hub Project; Summary
Chapter 2 Implementing the View Customizing Deployment Package and Runtime Configuration Properties; Background Color of the Tile; Application Logo Files and Splash Screen; Enabling Customization of Application Styles and Themes; Adding New Resource Dictionary File; Enabling Additional Resources.xaml Resource Dictionary at Application Level; Customizing Application Theme; Developing User Interface; The Main Startup Page - MainPage.xaml; Adding Bottom Application Bar - MainPage.xaml; Setting Up Remaining Custom Resources and Styles in Resources.xaml; Adding Stocks Page - StocksPage.xaml
Set Application Name Display Application Logo with Application Name; Display One Stock for Demonstration Purpose; Adding Stock Details Page - StockInfoView.xaml and StockDetails.xaml; Adding StockInfoView.xaml User Control; Adding StockDetails.xaml Split Page; Adding Add Stock Flyout Control; Adding Remove Stock Flyout Control; Integrating Flyout Controls with Bottom Application Bar; Creating UIHelper Dependency Class; Implementing Buttons Click Events to Display Pop-up; Summary; Chapter 3 Implementing the Model; Define Serializable and Deserializable Stocks Data Model
Define enum to support Add and Remove Stocks Actions Define a Class for Event Arguments of Add and Remove Stocks Actions; Create a Helper Class to Store and Retrieve Stocks Watchlist in the Local Data Storage; Asynchronous Operations and Local Storage Capabilities for Windows 8 Applications; The async Modifier and await Operator; Windows 8 Local Folders and Files Management; Implementing Local Storage Helper Class; Add SimulatedRandomStocksDetail.csv File; Summary; Chapter 4 Implementing the ViewModel; Building MVVM Framework for FinanceHub Application; IoC Container Dependency
Adding MetroIoc.dll File to the Dependencies Folder
Includes index.
The Model-View-View-Model (MVVM) pattern is held in high regard by many developers as an excellent way of creating sophisticated modern applications. It's clear separation of presentation and business logic produces a clean implementation that promotes speed, scalability and code reuse in applications with a complex UI. These strengths have found it favor with WPF and Silverlight developers. It is now increasingly being employed for Windows 8 apps, a purpose to which it is ideally suited as this book will show. In this brief, information-rich, guide we will show you how MVVM works with both XAML (C#) and HTML5 (JavaScript) flavors of Windows 8. Beginning with a brief recap of MVVM concepts under .NET - to provide a common frame of reference - we will then delve into the details of how MVVM can best be implemented in Metro-style apps for Windows 8 and show a working application framework in each case.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.