What web developers need to know when building Metro style apps

Slides:



Advertisements
Similar presentations
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.
Advertisements

var site="s15gizmodo" var site="s15gizmodo"
Session 1.
Building Metro style apps with HTML and JavaScript Paul Gusmorino Lead Program Manager Microsoft Corporation.
Windows Store apps with HTML + Facebook integration
Building Metro style apps with HTML and JavaScript Paul Gusmorino Lead Program Manager Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

© 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.
What web developers need to know when building Metro style apps Scott Dickens Principal Program Manager Lead Microsoft Corporation DEV352.

What’s New with IIS 8: Open Web Platform for Cloud
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Running Reporting Services in SharePoint Integrated Mode: How and Why
6/5/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
WebView: Bringing the web to your app
TechEd /26/2018 3:42 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Build /4/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
8/3/2018 7:11 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Reaching more customers with accessible Metro style apps using HTML5
HTML5 Platform from Web to Apps
SIA304 Learning the Basics of Penetration Testing!
11/21/2018 4:57 AM SIA303 Advanced Persistent Threats (APT): Understanding the New Era of Attacks! Marcus Murray Security Team Manager, Microsoft MVP –
Deep dive on app data roaming
Jason Zander Unplugged
Build /2/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Using Windows Runtime and SDK to build Metro style apps
TechEd /6/2018 8:16 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Deep Dive into the Team Foundation Server 2012 Agile Planning Tools
Bring apps to life with Metro style animations in HTML5
File type associations and AutoPlay
Advanced IntelliTrace in Production
TechEd /11/ :21 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /18/ :08 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Create experiences that span devices
Building Awesome Metro style HTML apps in Blend
2/17/2019 7:32 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Integrating with Windows 8 Experiences
Building Metro style apps with XAML with .NET
Top OS Deployment Issues With Answers from Experts
Building Silverlight Apps with RIA Services
Platform for Metro style Apps
Building Business Applications in LightSwitch
Developing and Managing SharePoint Solutions with Visual Studio 2012
Using Windows Runtime and SDK to build Metro style apps
2/28/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Creating and Consuming OData Services for Business Applications
Sayed Ibrahim Hashimi Program Manager Microsoft Corporation
Build /10/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Brandon Bray Principal Group Program Manager Microsoft Corporation
What’s New in Visual Studio LightSwitch
4/19/2019 1:57 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Leveraging existing code in Metro style apps
Jason Zander Unplugged
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Building RESTful services using OData
Шитманов Дархан Қаражанұлы Тарих пәнінің
The complete developer's guide to the SkyDrive API
Build /20/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
John Hazen Principal Program Manager Lead Microsoft Corporation
7/5/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Build 2014 Josh Williams, Engineer Ryan J. Salva, Program Manager
TechEd /5/2019 2:08 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

What web developers need to know when building Metro style apps 9/16/2018 4:15 AM DEV352 What web developers need to know when building Metro style apps Scott Dickens Principal Program Manager Lead Microsoft Corporation © 2007 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.

The Power of Windows 8 Metro Style Apps

5 1 2 3 4 Agenda Enterprise Features Packages & App Model Web Platform WinRT Platform Process Lifecycle 1 2 3 4

2 1 3 APP APP Key App Model Concepts App package Running app Windows Runtime 1 3

APP Packages App package Running app Windows Runtime APP HTML APP CSS APP C:\Program Files\WindowsApps\... JavaScript Resources Windows Runtime Manifest

Tour through a sample app

5 1 2 3 4 Enterprise Features Packages & App Model Web Platform WinRT Platform Process Lifecycle 1 2 3 4

App Execution Environment App package App Container Running app HTML App Host Process HTML APP App Code CSS Web Platform APP C:\Program Files\WindowsApps\... JavaScript Resources Windows Runtime Manifest

Simplified Windows app platform for HTML5 Single consistent platform Single HTML5 DOCTYPE Standards web, plug-in free Single window Access to Windows Runtime HTML5 AppCache XHR FileAPI Animations Transitions WebSockets Geolocation PostMessage IndexedDB WebWorkers Canvas FormData SVG CSS3 JavaScript

9/16/2018 4:15 AM Windows Library for JavaScript (WinJS) Library for building Metro style apps using JavaScript Make your apps look and feel great Matches the Windows Metro design style Controls for common user experiences Designed for touch as well as traditional input Scales across form factors Build your apps fast and with high quality Web technologies you’re already familiar with Modern patterns for responsive, reliable apps Use interactive design tools © 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.

5 1 2 3 4 Enterprise Features Packages & App Model Web Platform WinRT Platform Process Lifecycle 1 2 3 4

Windows Runtime App package Running app Windows Runtime APP APP App Container Running app HTML App Host Process HTML APP App Code CSS Web Platform APP C:\Program Files\WindowsApps\... Brokers JavaScript Grant capability Resources Windows Runtime Manifest File System Contracts Devices & Much more…

The Windows Runtime is easy and powerful Powerful Windows access User experience contracts System and device APIs Surfaced naturally in JavaScript Model can be used to write your own native code layer Stored Data Network Access Web Camera User Location Encrypted Data Photo Library USB Drive Home Group And lots more…

Windows Runtime

Dynamic Content from the Web Windows Runtime Stored Data Network Access Web Camera SMS Data User Location Encrypted Data Photo Library IM Web Services Cloud Services USB Drive Home Group And lots more… RSS Feeds Content

Use iframes for untrusted content Local context Trusted content from local package Untrusted content from web or must interact with such Web context ms-appx-web:/// ms-appx:/// http:// http:// postMessage Windows Runtime access innerHTML validation Remote source not permitted Same as browser <iframes> No Windows Runtime access W3C API

Dynamic coding patterns Scenario Approach Load trusted content into an app’s page XmlHttpRequest Filtered with SafeHTML Embed untrusted content <iframe> Isolated from main app Delegate to other app/browser: Launch URL in browser Launch file to its default app handler Launch custom protocol (URI) to default app handler WinRT API: Windows.System.Launcher

5 1 2 3 4 Enterprise Features Packages & App Model Web Platform WinRT Platform Process Lifecycle 1 2 3 4

Process Lifecycle

Process state transitions App has 5s to work after suspend message App is not notified when terminated Running suspending Suspended Terminated App launch Low memory resuming App is notified when resumed Splash screen Core runs Code runs No code runs No process

Start Welcome Animations Activation Splash Screen Displayed Activated Load Saved State, Handle Activation Parameters, Set up Extended Splash Screen (optional), Load Page Content Page.ready Load App Data, Setup Event Handlers, Initialize UI, Remove Extended Splash Screen App Animations Start Welcome Animations Windows or Extended Splash Screen Dismissed

5 1 2 3 4 Enterprise Features Packages & App Model Web Platform WinRT Platform Process Lifecycle 1 2 3 4

Line of business apps Capabilities Security / Privacy Offline privateNetworkClientServer internetClientServer enterpriseAuthentication sharedUserCertificates Security / Privacy Protect HBI, MBI, and PII Cryptography WinRT APIs Roaming HTTPS-only connections Offline Structural content Dynamic content

Building a great Metro style app using HTML, CSS, and JavaScript is simple, fast, and powerful.

Related Content DEV350 Using Windows Runtime and SDK to Build Metro Style Apps DEV354 Building Windows 8 Metro Style UIs DEV366 Building Metro style Apps with HTML and JavaScript WCL203 Windows 8: …Metro style App Deployment in the Enterprise Find Me Later At…Ask the Experts

DEV Track Resources Visual Studio Home Page :: http://www.microsoft.com/visualstudio/en-us Somasegar’s Blog :: http://blogs.msdn.com/b/somasegar/ Jason Zander’s Blog :: http://blogs.msdn.com/b/jasonz/ Facebook :: http://www.facebook.com/visualstudio Twitter :: http://twitter.com/#!/visualstudio

Resources Learning TechNet http://northamerica.msteched.com Connect. Share. Discuss. http://northamerica.msteched.com Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn

Complete an evaluation on CommNet and enter to win! Required Slide Complete an evaluation on CommNet and enter to win!

MS Tag Scan the Tag to evaluate this session now on myTechEd Mobile

9/16/2018 4:15 AM © 2012 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.

9/16/2018 4:15 AM © 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.