37
Responsive App Design Tan Chun Siong Developer Evangelist

Responsive app design

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Responsive app design

Responsive App Design

Tan Chun SiongDeveloper Evangelist

Page 2: Responsive app design

It takes around 5 seconds of load time for users to

lose interest in your website.

Well if you are impatient like me, it takes around 2 seconds

Page 3: Responsive app design

Responsiveness is

not just about going

faster and faster

Page 4: Responsive app design

Presentation is an important aspect of

Responsiveness

Page 5: Responsive app design

User Controls are an important aspect of

Responsiveness

Page 6: Responsive app design

What’s under the hoodis an important aspect of

Responsiveness

Page 7: Responsive app design

Responsive Application

Presentation User Controls Backend Performance

JavaScript

Page 8: Responsive app design

Responsive Application

Presentation UX Backend Performance

+

Page 9: Responsive app design

Devices comes with in

Different Form Factors

Page 10: Responsive app design

Users can operate in

Different Orientation

Landscape Portrait

Page 11: Responsive app design

Applications can operate in

Different View-State

Full Screen-Landscape Snapped

Page 12: Responsive app design

1. Show me the demo

Page 13: Responsive app design

On

<div class="itemtemplate">

@media screen and (-ms-view-state: fullscreen-portrait)

@media screen and (-ms-view-state: snapped)

+

<link> and <script> with WinJS API reference

Responsive App Design

</div>

Page 14: Responsive app design

Responsive Application

Presentation User Control Backend Performance

+

Page 15: Responsive app design

Responsive Application

Presentation User Control Backend Performance

+

Don Norman’s Design of Everyday

Things

Windows 8 / HTML5Building Blocks

+

Page 16: Responsive app design

Visibility – Can I see it?Feedback – What have I done?Affordance – How do I to use it?Mapping – Where am I and where can I go?Constraint – What can I not do?Consistency – Have I seen this before?

Don Norman’s Design Principles

Page 17: Responsive app design

VisibilityFeedback

ListView Nothing selected

ListView Multiple selection + Visible App

Bar

Page 18: Responsive app design

Visibility – Can I see it?Feedback – What have I done?Affordance – How do I use it?Mapping – Where am I and where can I go?Constraint – What can I not do?Consistency – Have I seen this before?

Don Norman’s Design Principles

Page 19: Responsive app design

AffordanceMapping

Page 20: Responsive app design

Visibility – Can I see it?Feedback – What have I done?Affordance – How do I to use it?Mapping – Where am I and where can I go?Constraint – What can I not do?Consistency – Have I seen this before?

Don Norman’s Design Principles

Page 21: Responsive app design

AffordanceConstrains

Toggle Switch with constraints, HTML Select control with Affordance

Page 22: Responsive app design

Visibility – Can I see it?Feedback – What have I done?Affordance – How do I to use it?Mapping – Where am I and where can I go?Constraint – What can I not do?Consistency – Have I seen this before?

Don Norman’s Design Principles

Page 23: Responsive app design

Consistency

ListView Control offering consistency

Page 24: Responsive app design

Windows 8 Touch Language

Consistency

Page 25: Responsive app design

2. Show me the demo

Page 26: Responsive app design

Responsive Application

Presentation User Control Backend Performance

+

Don Norman’s Design of Everyday Things

Windows 8Building Blocks

+

JavaScript

Page 27: Responsive app design

Performance with JavaScript in HTML5

Page 28: Responsive app design

Generic Concepts in HTML5

3. Process in background

4. Store locally

1. Minimize connections2. Decrease bandwidth

Existing performance features in HTML5 works in Windows 8

Page 29: Responsive app design

Tricks on Existing HTML5 + JavaScript1. Minimize number of connections

HTTP caching

Reuse Connection (connection:close)

Use CDN

2. Decrease data bandwidth

Compression via encoding

Minification

3. Move Processes to background

Web Worker

Async Callback

4. Store resources locally

Local storage

bit.ly/HTML5Performance

Page 30: Responsive app design

Tricks on Windows 8 HTML5 + JavaScript

1.Use Windows 8 ListView2.Use Windows Animation Library

over CSS Animation and Transition

Page 31: Responsive app design

ListView Control

}Built on top of

JavaScript

and

CSS3Animation & Transitions

Page 32: Responsive app design

3. Show me the demo

Page 33: Responsive app design

App Navigation

Web

Windows 8App

HTML HTML

HTML

HTML HTML HTML

Screen

Screen

Page 34: Responsive app design

4. Show me the demo

Page 35: Responsive app design

Windows Animation Library

App navigationAnimate content within a viewRevealing or hiding supplemental UICollectionsSelection

Page 36: Responsive app design

Presentation Backend Performance

+

JavaScript

User Control

Don Norman’s Design of Everyday

Things

Windows 8Building Blocks

+

Responsive App Design

Page 37: Responsive app design

Windows 8 Hands-On Lab

Dates: 12 May(Sat) 18 May (Fri) and 26 May

(Sat)

Time: 9:30am to 5:00pm

Location: NTUC Trade Union House

Register: bit.ly/win8handsonlabs