1 option
Windows 8 MVVM patterns revealed : covers both C# and JavaScript approaches / Ashish Ghoda.
- Format:
- Book
- Author/Creator:
- Ghoda, Ashish.
- Series:
- Expert's voice in Windows 8.
- The expert's voice in Windows 8
- Language:
- English
- Subjects (All):
- Application software--Development.
- Application software.
- C# (Computer program language).
- JavaScript (Computer program language).
- Microsoft Windows (Computer file).
- Physical Description:
- 1 online resource (161 p.)
- Edition:
- 1st ed. 2012.
- Other Title:
- Windows Eight Model-view-view-model patterns revealed
- Place of Publication:
- [New York] : Apress : Distributed to the book trade worldwide by Springer Science+Business Media New York, c2012.
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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 seperation 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.
- Contents:
- 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
- Notes:
- Includes index.
- ISBN:
- 9781430249092
- 1430249099
- OCLC:
- 831115654
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.