powerpoint presentationdownload.microsoft.com/documents/hk/technet... · hardware-accelerated...

30

Upload: others

Post on 23-Apr-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 2: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 3: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 4: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 5: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 6: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Social Media

Games

Music Players

Location Based Services

Home Control

And more…

What kind of app can I write?

Page 7: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Hardware-accelerated Transitions, Transforms and Animations

Shadows and Gradients

Web Workers and Web Sockets

Semantic Zoom, Gestures

Much more…

IE10 Performance Enhancements

Page 8: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Faster JavaScript speed

Fast transitions and CSS effects

60FPS Canvas

Hardware Accelerated Goodness

IE10 Performance

Bottom line:

IE10 is an excellent UI Development Platform!

Page 9: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Realities

Incomplete

Or

Fragmented

Page 10: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Native, Hybrid & Hosted

Native

Native App

Runtime

Operating System

APIs

Hybrid

Native App Runtime

Operating System

APIs

Web

Browser

Control

JavaScript>native

API connector

Hosted

Web Browser

Operating System

Standards

Based

HTML5

Interfaces

App

Cache

InternetHosted

Web

ServerMicrosoft Store

Page 11: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Native, Hybrid & Hosted

Native

Native App

Runtime

Operating System

APIs

Hybrid

Native App Runtime

Operating System

APIs

Web

Browser

Control

JavaScript>native

API connector

Hosted

Web Browser

Operating System

Standards

Based

HTML5

Interfaces

App

Cache

InternetHosted

Web

ServerMicrosoft Store

Page 12: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

What makes a Hybrid App?

Hybrid

Native App Runtime

Operating System

APIs

Web

Browser

Control

JavaScript>native

API connector

Page 13: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Microsoft HTML5 VS12 Template

Adobe PhoneGap / Apache Cordova

Page 14: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Microsoft HTML5 VS12 Template

Included within VS12

You roll your own device connectivity

Out of the box fastest, least capable

Adobe PhoneGap / Apache Cordova

Download

Modify to optimize performance

Out of the box slow, most capable

Extensible through plugins

Page 15: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Cross Platform Capabilities

Page 16: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Hybrid on Windows Phone 8: LIVE DEMO

Page 17: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 18: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Code reuse between platforms

Leverage existing web assets, perhaps from an existing Website

Deploy through the Microsoft Store

Large developer talent base

HTML5 vs. Native

Page 19: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Hybrid more complex, but allows access to more platform capabilities

Hosted allows for easy distribution, discovery and integration with an existing site - but has less access to the platform

Hybrid vs. Hosted

Page 20: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Ask this question:

Does the web application model fit the UI and performance expectations of the users of targeted platforms?

Is Your App a Fit?

Page 21: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

HTML (4.x, 5)

CSS2 and CSS3

JavaScript

Skillsets

Agency Background

Web Developers

Page 22: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Transitions

Animations

2D and 3D Transforms

Custom Fonts

Shadows

Gradients

System UI settings

What’s new and cool

Page 23: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

LIVE DEMO

Page 24: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

MSPointer model

Like Mouse Events

Multi-touch input

-ms-touch-action:

enable or disable key features

Page 25: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Tied to native gesture system.

No need to build your own gestures!!!

Capture Multiple DOM elements

Multiple Gestures can be received at the same time

Page 26: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Minimize JavaScript

Optimize Images!

Use Hardware Accelerated CSS

Use innerHTML: Minimize DOM interaction

Page 27: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

Submit like any application

Monetize using web OR native techniques

Remember MSFT submission requirements

Page 28: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets

“The Web” (Important!)

MSDN, IE Developer, Channel9

Adobe, Phonegap.com, Apache

Atari.com

Developer.nokia.com

Twitter: @jsguy (me)

Page 29: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets
Page 30: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · Hardware-accelerated Transitions, Transforms and Animations Shadows and Gradients Web Workers and Web Sockets