Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Authors
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Welcome to a Touch-First World
Moving to More Natural Interaction
Windows 8 Touch Language
Press and Hold
Tap
Slide
Swipe
Pinch
Stretch
Swipe from Edge
Turn
Keys to a Successful Touch Interface
Responsiveness
Touch Targets
Intuitive Interface
Beyond Touch
Conclusion
Chapter 2: The Microsoft Design Language
Swiss Design Style
Influence of Bauhaus
Elements of Swiss Design Style
Microsoft Design Language
Microsoft Design Language Principles
User-Experience Guidelines for Windows Store Apps
Microsoft Design Language in the Windows 8 User Interface
Conclusion
Chapter 3: Designing Windows Store Applications
Communication Is Key
What Should the Application Be Good At?
Identify Functional Requirements
Evaluate Identified Requirements
Decompose Requirements
Build Interaction Flows
Wireframes
Visual Design
Conclusion
Chapter 4: Visual Studio 2012 and Windows Store Application Types
Visual Studio Editions
Getting Started with Visual Studio
Windows Store Application Types
Blank App
Fixed Layout App
Grid App
Split App
Navigation App
Conclusion
Chapter 5: HTML Controls
Visual Studio Projects
Creating a Project
Reviewing Default Project Contents
Adding a New Page
Navigating to the New Page
The Controls
Labels
Links
Text Input Controls
Choice Controls
Buttons
Progress Indicators
Conclusion
Chapter 6: WinJS Controls
WinJS, WinRT, Windows RT, and Windows 8
The Controls
AppBar and AppBarCommand
Tooltip
DatePicker and TimePicker
ToggleSwitch
Rating
MessageDialog
Flyout
SettingsFlyout
Conclusion
Chapter 7: WinJS Collection Controls
Collections
Project Setup
The Controls
ListView Basics
Templates
Layouts
Grouping and Semantic Zoom
FlipView
Conclusion
Chapter 8: WinJS Custom Controls
Custom Controls
Custom WinJS Controls with JavaScript
Anatomy of a JavaScript Custom WinJS Control
Version 1: A Simple 12-Hour Clock
Version 2: Adding a 24-Hour Clock Option
Version 3: Adding Timer Options and Raising Events
Custom WinJS Controls Using the PageControl
Conclusion
Chapter 9: Building the User Interface
Introducing Clok
Creating the Project Shell
Implementing the Design
Debugging with the Simulator
Adding Settings Flyouts
Building the Dashboard
The Flexbox Layout
The Grid Layout
Conclusion
Chapter 10: Transitions and Animations
Transitions and Animations: What’s the Difference
Methods of Animation (and Transition)
Pure CSS Animation
Pure CSS Transition
WinJS Animations Library
Using JavaScript to Manipulate CSS
The executeTransition and executeAnimation Methods
Conclusion
Chapter 11: Data-Binding Concepts
Our Data Model
Project Class
Storage Class
Referencing Our Data Classes
Temporary Data
Manual Binding a Drop-Down List
Binding Grouped Data to a ListView
Creating and Connecting the Page Control
Adding the ListView and Binding the Data
Binding Filtered Data to a ListView
Displaying Filtered Data
Binding Other Control Properties
Using WinJS.Binding.as
Setting a Data Context
Adding a Project Detail Page
Adding a Form to the Project Detail Page
Using CSS to Style Required and Invalid Fields
Setting the Data Context for the Form
Saving and Deleting Projects
Binding Converters
A Simple MapReduce Example
Conclusion
Chapter 12: Promises
What Are Promises
Recording Time Entries
New Timer Control
Updating Our Data Model
Saving Time Entry from Clok Dashboard
Viewing Time Entries
Temporary Data
List Time Entries
Filtering Time Entries
Deleting Time Entries
Conclusion
Chapter 13: Web Workers
Web Workers
Graphing Time Entries
Starting Without Web Workers
Returning Graph Data from a Web Worker
Passing Time-Sheet Filter as Message
Conclusion
Chapter 14: Data Source Options
Local Data Sources
IndexedDB
SQLite
File Storage
Remote Data Sources
WinJS.xhr
External Libraries
Azure Mobile Services
Conclusion
Chapter 15: Session State and Settings
Session State
Saving Session State
Reading Session State
Testing Suspend and Terminate
Quick Notes About Session State
Local Settings
Saving Local Settings
Reading Local Settings
Testing Local Settings
Roaming Settings
Saving Roaming Settings
Reading Roaming Settings
Data Changed Event
Size Limitations and Composite Settings
High Priority Roaming Settings
Conclusion
Chapter 16: Files
Windows.Storage Namespace
Backups of Clok Data
Document Library for Clok Projects
Creating the Document Library Page Control
Adding Documents to a Project
Exploring the Project Documents
Configuring the ListView
Configuring StorageDataSource
Launching Files
Managing Project Documents
Exporting Files with Folder Picker
Deleting Files from Local Application Folder
Conclusion
Chapter 17: Handling State Changes
Application Activation State
Extending the Splash Screen
Previous Execution State
Handling Application Suspension
Application View State
Updating the Layout with CSS Media Queries
Updating the Layout in JavaScript
When Snapped View Is Not Supported
Future Versions of Windows
Conclusion
Chapter 18: External Libraries
JavaScript Libraries
Security Concerns
Working Around Security Restrictions
WinRT Components
Reasons for Building WinRT Components
Creating a C# WinRT Component
Updating Clok
Debugging WinRT Components
Preserving User Data During Upgrades
Conclusion
Chapter 19: Search and Share Contracts
Search
Adding the Search Contract
Add a Search Function to the Clok Data Model
Changes to the Generated Search Results Screen
Changes to the Generated JavaScript File
Changes to Application Activation
Debugging Search Activation
Share
Share Target
Share Source
Other Concepts Similar to Sharing
Conclusion
Chapter 20: Printing
Web Development–Style Printing
Adding a Print Button to the Project Detail Screen
CSS Media Query for Printing
Sending to the Printer
WinRT Printing
Creating the Printer Class
Sending to the Printer
Printing Alternate Content
Printing Driving Directions
Printing Invoices for Project Time Sheets
Advanced Printing Topics
Conclusion
Chapter 21: Notifications and Tiles
Toast Notifications
Local Notifications
Scheduled Notifications
Push Notifications
Tiles
Wide Tiles
Live Tiles
Secondary Tiles
Future Versions of Windows
Conclusion
Chapter 22: Camera and Location
Camera
The CameraCaptureUI Class
Overview of the MediaCapture Class
Location
Application Manifest Changes
Updating the Directions Screen
Determining the Current Location
Homework for the Reader—Assignment #
Homework for the Reader—Assignment #
Conclusion
Chapter 23: Sharing Apps in the Windows Store
Branding Your Application
Display Name
Default Language
Supported Rotations
Tile
Splash Screen
Notifications
Publisher Display Name
Settings Flyouts
Navigating the Submission Process
App Name
Selling Details
Services
Age Rating
Cryptography
Packages
Description
Notes to Testers
Final Submission
Packaging Your Application
Conclusion
Index
← Prev
Back
Next →
← Prev
Back
Next →