windows store apps… lots of choices windows store apps communication & data application model...

34

Upload: ezra-shepherd

Post on 05-Jan-2016

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript
Page 2: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Introduction to Windows Store app development for iOS developers Jaime RodriguezPrincipal Evangelist3-003

Page 3: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Building a Windows Store app requires applying the same concepts and architecture as any other platform.

Page 4: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Narrow the choices

Tools UI patternsStore & submission

Agenda slide

Page 5: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Architecture & technology choices

Page 6: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Windows Store apps… lots of choices

Windows Store Apps

Communication

& Data

Application Model

Devices & Printing

WinRT APIsGraphics &

Media

JavaScript(Chakra)

CC++

C#VB

XAML HTML / CSS

Windows Core OS Services

Page 7: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

User Interface

Fundamentals

Threading/Timers Memory Management Authentication Cryptography

Devices

Geolocation Sensors NFC

SVG Tiles Input Accessibility Printing

HTML5/CSS XAML Direct X Controls Data Binding

Communications & Data

XML Networking SMSNotifications

StreamsContracts Local & Cloud Storage

Media

Playback Capture PlayTo Visual Effects

Windows Run-time APIs

UI Kit OpenGL

Touch

Events

Air play

Page 8: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

HTML/Javascript

Standards-based

Native API access

WinJS

WinRT

JavaScript

HTML / CSS

Core

2-161: Reusing your Web skills in Windows Store apps South Hall 307 at noon

Page 9: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Direct X

For graphic intensive apps Closest to OpenGL

Foundation for gaming frameworks

WinRT

C++, C#

Direct X

Core

3-189: Bringing your OpenGL ES game to Windows Store, South Hall, 304 @ 2 PM

Chimpact

Page 10: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

XAML

Closer to Cocoa XAML integrates with DirectX

WinRT

C#, C++, VB

XAML

Core

Page 11: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Tools & Environment

Page 12: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

F1, F12, Simulator, Jump to definition, Structure

Visual Studio walk-through.

Page 13: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

UI Patterns

Page 14: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Introducing XAML

Serialization format

ExpressiveControls, Layout, Styles, Animations, Data binding, Events, data templates …

Toolable Visual Studio and Blend

<Page x:Class="App12.MainPage"…> <Grid> <Grid.Resources> <Style x:Key="PinkButton" TargetType="Button"> <Setter Property="Background" Value="Pink" /> </Style> </Grid.Resources>

<Button x:Name="myButton" Style="{StaticResource PinkButton}" Content="{Binding data.buttonName}" Click="OnButtonClick" Width="300" Margin="250" VerticalAlignment="Stretch"> </Button> </Grid>

</Page>

Containment

Visual Hierarchy

Styles

Outlets

bindings

Layout Constraints

Page 15: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

XAML, from 0 to 60 in a day

http://aka.ms/XAMLJSJuly 12, 2013. 9 am to 5 PM Agenda: Introduction to XAML  and Visual Studio Walk ThroughXAML Under the Hood (Visual Trees, DPs, Resources, Events) XAML Layout & PanelsXAML Controls, Styles and TemplatesXAML Data Binding and Data TemplatesIntroduction to Expression Blend and AnimationXAML Nerdvana: MVVM

Jaime Rodriguez

Laurent Bugnion

Page 16: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

MVC – out of the box

Controller

ViewModel

outlet

delegation

target/action

data source

object references

delegation

x:Name

events

data binding

object references

events

Page 17: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

DEMO MVC

Page 18: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

MVVM

View-Model

ViewModel

outlet

delegation

target/action

data source

object references

delegation

commands

binding

x:Name

object references

events

Page 19: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

DEMO M-V-VM

Page 20: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Similar core controls set iOS Windows Store

UIButton Button

UISlider Slider

UISwitch Checkbox, Switch

UITableView ListView

UIDatePicker DatePicker

UITextField TextBox

UILabel TextBlock

UIImageView Image

UIWebView WebView

MKMapView Maps control (maps SDK)

AdBannerView Ads Control (ads SDK)

iOS Windows Store

UIProgressView ProgressBar

UIActivityIndicatorView

ProgressRing

UIPageControl FlipView

UIStepper

UIScrollView ScrollViewer

UICollectionView GridView

GLKit View SwapChainBackgroundPanel

UISegmentedControl StackPanel + content

Page 21: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Hub, appbar & navbar, settings pane, gridview, semantic zoom

Windows Personality

Page 22: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

WinRT is asynchronous by designSDKs make it easy to code async

Asynchronous

Page 23: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

demoAsync

Page 24: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Store

Page 25: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Store Submission

1. Register to Store 2. Run WACK 3. Review cert criteria 4. Sign app 5. Upload to store

Page 26: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

WACK!!!

Page 27: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Certification requirements

http://aka.ms/storefix

Page 28: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Sign an app

Page 29: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Lots we did not cover

Page 30: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Windows 8 for iOS developers Jump Start http://aka.ms/iOSJSJuly 17, 2013, 9 am to 5 PM Agenda: Introduction to the Windows Store Opportunity Setup, Pre-reqs and a Lap around Visual StudioC# for iOS DevelopersBrief Introduction to XAMLDissecting UI patterns, from MVC to MVVM or notUnderstanding the Application Model and UX DifferencesIntegrating with Windows (Contracts, Hardware, etc.)Monetizing your App  (Store APIs, Ads, Submission, etc.)

Jaime Rodriguez

Eric Jeffers

SeanMcCune

Page 31: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Building a Windows Store app requires applying the same concepts and architecture as any other platform.

Page 32: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Thank you!!!

Page 33: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

Evaluate this session

Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!

Page 34: Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.