Designing and Developing for the Rich Mobile Web

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Joe Marini Principal Program Manager, Windows Phone Microsoft Corporation SESSION CODE: WPH310.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Microsoft Dynamics GP 2013 R2 Dashboards © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Co- location Mass Market Managed Hosting ISV Hosting.
Internet Explorer 8 For Developers Gal Kogman BNL
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

50 Performance Tricks to Make your HTML5 apps and sites Faster
6/5/2018 1:30 PM THR1029 Spend less time managing data and more time with customers: Quick tour of Outlook Customer Manager Welly Lee
Workflow Orchestration with Adobe I/O
Building beautiful and interactive apps with HTML5 & CSS3
Возможности Excel 2010, о которых следует знать
WebMatrix: Uber geek in designer clothes
Using JavaScript to Build HTML5 Applications
Title of Presentation 11/22/2018 3:34 PM
Title of Presentation 12/2/2018 3:48 PM
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Building Awesome Metro style HTML apps in Blend
Overview: Dynamics 365 for Project Service Automation
Tips and Tricks for Making Web Forms Shine with Microsoft ASP.NET 4
Enabling Mobile apps with ASP.NET MVC
Breaking Down the Value of A Yammer Post: 20 Things to Do
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
When Bad Things Happen to Good Applications
Using tiles and notifications
“Hey Mom, I’ll Fix Your Computer”
4/20/2019 Share © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Feature: Multi-user Editing Allowed in RMA Entry
Build /4/ Diagnosing issues with Windows Phone 8.1 JavaScript apps using Visual Studio Andy Sterland Senior Program
Designing Bots that Fit Your Organization
Ask the Experts: Windows 10 deployment and servicing
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Optimizing your content for search and discovery
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

Designing and Developing for the Rich Mobile Web Joe Marini Principal Program Manager Windows Phone joe.marini@microsoft.com

Agenda Understanding the Mobile Context What makes mobile different? Guidelines for Building Usable, Engaging, Rich Mobile Web Sites Best Practices What to Avoid Designing and Developing for Mobile Q & A

We’ve Come a Long Way Remember this?

The Case for the Mobile Web

Understanding The Mobile Context The Mobile Web is Different From the Desktop Full Keyboard Accurate Pointing Device Large Screen, multiple monitors Powerful CPU / GPU, Big Disk Limited / Virtual Keyboard Finger Pointing Device Small Screen, which can rotate Less Capable CPU / GPU, Small Storage Physical Typically used from fixed, predictable locations Good for open-ended browsing Easy to switch among many tasks User is focused and comfortable Typically used on-the-go in an unpredictable environment Good for quick, glanceable information Focused on discrete individual tasks User is often distracted or busy Usability

Understanding The Mobile Context Mobile Web Users Have Different Expectations Mobile Web users expect immediate access to important information Mobile Web users expect information to be augmented by the real world – time, place, etc. Environmental conditions can vary widely – lighting, background noise, network speed, etc. A user’s surroundings influence how they use a Web application – relative privacy, for example

Guidelines for building rich mobile web sites Creating the Rich Mobile Web Guidelines for building rich mobile web sites

Design for One Web Provide the same information to users of your site regardless of their device NOTE: This does not mean that you should provide the same presentation Don’t exclude users based solely on the class of device they are using If you’ve separated your content from presentation and behavior, this is easy

Design for the Finger, not the Stylus Fingers are naturally more dexterous than a device like a stylus It is relatively easy to perform multiple actions with a finger, like flicking, panning, scrolling, tapping, pinching, etc. The typical size of a fingertip is 40 to 80 pixels. Navigation elements must be sized appropriately to ensure they respond well to the user. Good finger-friendly design is also stylus-friendly, as long as you make sure that fingers aren’t the only way to access features

Focus, Grasshopper. Focus. Good mobile Web apps focus on a few important tasks Resist the temptation to make all of the features of your desktop site available on the phone Distill the features of your main site into the ones that are most critical for mobile Display the most common features prominently without having to scroll What to do should be obvious – a “blink decision” by the user

Be Crisp, Clean, & Succinct Design pages that use fewer fonts & colors Avoid gratuitous graphics and unnecessary interactivity Background images can make the page hard to read Optimize content for the small screen space Scale down images, use short titles Use whitespace to separate elements, but be careful

Minimize Required Input Entering data on a phone can be tiresome and error-prone Only require the minimum amount of information to get the job done Provide sensible default values where possible Use cookies to remember previous user input

Example: Alaska Airlines Design for One Web. Design for the Finger. Focus. Be Crisp and Clean. Minimize. Example: Alaska Airlines

Designing & Developing for mobile

Use Well-Defined Standards Use minimum standard Web technologies: XHTML 1.0 / HTML 4.01 / XHTML-MP CSS 2.1, DOM 1, ECMAScript 3 Always specify a DOCTYPE for your pages Use standard media types Static: JPEG, GIF, PNG Dynamic: 3GP, AVI, WMV, MP4 Avoid things that cause known issues: Framesets, Tables Used for Layout, Nested Tables, Image Maps, Reliance on Plug-Ins or DHTML Behaviors

Adapting Content to Mobile Do Nothing Basic Mobile Adaptation Multi-Serving Content Mobile-Specific Design Hosting Web Content No special content adaptation, result is the desktop site being delivered to the device Same page is sent to mobile and desktop, styled differently for each Managed app that uses WebBrowser control to host Web content Content laid out so it will at least be consumable on a device, special META tags indicate that page is ready for mobile Parts of site are designed for mobile specifically, kept in separate domain or subfolder, redirected to when necessary

Mobile <META> Tags Pages that have been laid out specifically for mobile can be flagged as such Prevents the browser from optimizing layout Three <META> tags: <META name=”HandheldFriendly” content=”true” /> <META name=”MobileOptimized” content=”320” /> <META name=”Viewport” content=”width=device-width” />

The Viewport The Viewport controls how content is laid out Device Screen Document Viewport

Controlling the Viewport

Multi-Serving Content Same page, different devices, styled right Usually involves some kind of detection Client: use script to detect capabilities Server: use code to detect User Agent string Caveats: DO NOT use script on client to check UA DO NOT use UA detection to do things like fix bugs in specific user agents

Mobile-Specific Design Web pages designed and coded specifically for mobile devices Pages are usually kept separate – in their own domain (m.site.com) or folder (site.com/m/) Usually involves some kind of UA detection Suggestion: don’t roll your own. Use a good 3rd party detector, like MDBF (ASP.NET) or WURFL (PHP)

Multi-serving content and UA Detection

IE Windows Phone 7 vs. IE Desktop Additional Script Functions getElementsByClassName(name) querySelector(selector) querySelectorAll(selector) Viewport Settings IE Mobile supports the following values: Frameset Handling For usability reasons, IE Mobile expands frames to fit their content. Navigating to .xhtml files Pages that end with “.xhtml” are properly handled now – no download prompt Property Name Values width Integers from 320 to 10,000 or “device-width” height Integers from 768 to 10,000 or “device-height” user-scalable “yes”, “no” minimum-scale Not yet supported maximum-scale initial-scale

IE Windows Phone 7 vs. IE Desktop CSS For Adjusting Text Size IE Mobile recognizes “-ms-text-size-adjust” and “-webkit-text-size-adjust” No Support for 3rd Party Plug-Ins IE Mobile does not allow the installation of third party plug-ins Behavior of Fixed Positioning Elements that have fixed positions are attached to the document, not the browser window.

What To Do Next Visit http://developer.windowsphone.com Download our whitepaper on the Rich Mobile Web Get the tools and sample code and start building Follow @joemarini on Twitter Dude! We’re getting the blog back together! http://blogs.msdn.com/iemobile Fill out the session evaluation form!

? ! & Questions and Answers

11/14/2018 10:00 PM © 2009 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.

11/14/2018 10:00 PM © 2010 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. © 2009 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.