SlideShare ist ein Scribd-Unternehmen logo
1 von 66
Downloaden Sie, um offline zu lesen
Goal
       Use your existing   skills to build   apps

       Learn few typical   features
IS IMPORTANT
          because


the web community is big
IS IMPORTANT
                      because

There are a lot of reusable things on the internet
IS IMPORTANT
                because


It is reusable across multiple platforms
IS IMPORTANT
                because


it is reusable across multiple platforms
with a minimum effort
How does HTML5 fit in the windows 8 platform
Windows 8 platform
Windows 8 platform
We will build this app
DEMO:
Turn an existing HTML website into a Win 8
Store application
From HTML to Win 8 in 3 steps

1. Use your existing HTML, CSS and JavaScript skills

2. Add typical Windows 8 features like:
   Tiles
   WinJS and WinJS controls
   Portrait, landscape, snapped and filled
   Contracts
   ...


3. Deploy your app to the store
Use your HTML and CSS skills
Popular HTML Features
Popular CSS feature
DEMO:
(re)use your html and css skills
WinJS
WinJS

Library for building Windows Store apps using JavaScript

     Matches the Windows Store design guidelines

     Offers controls for common user experiences

     Designed for touch as well as traditional input

     Scales across form factors
WinJS Contains
Or use your favorite library
                  like

 jQuery, knockout, MooTools, Dojo, YUI
Dangerous scripts

Microsoft doesn’t allow code injection

   if (isWin8) {
       MSApp.execUnsafeLocalFunction(function () {
           body.appendChild(container).appendChild(div);
       });
   }
   else {
       body.appendChild(container).appendChild(div);
   }
WinJS Controls or Modern UI Controls
First, you have the standard HTML Controls
<button> <input> <select> <progress> ...
Then, you have WinJS or Modern UI Controls
based on a <div> or <span> element
with data-win-control to specify the control
and data-win-options to set properties
WinJS Controls
WinJS Styled Controls
More controls
Demo: Application bar
DEMO:
Application bar
Different states and orientations
Different states == Different UI
Different states == CSS3 Media Queries
Media Queries to support different
layouts


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

  @media screen and (-ms-view-state: fullscreen-landscape) {}

  @media screen and (-ms-view-state: filled) {}

  @media screen and (-ms-view-state: snapped) {}
Demo: Snapped application
DEMO:
Support different orientations
Contracts
Contracts


Every webdeveloper can choose where he wants to
put the search or share functionality


Every windows developer can choose where he
wants to put the option to change the settings
Contracts




  Contracts enable integrating the
  Windows 8 experience into your app
Contracts
Demo: Share Contract
DEMO:
Contracts
Tiles
Tiles

Tap on tile to launch or switch an app

Static tiles
      Static default tile specified in app manifest
      Square and wide tile


Dynamic Tiles
      Can have live updates
      Based on templates
Templates
TileUpdater
Demo: Tiles
DEMO:
Tiles
Resources

Images
     If we don’t remember me
     http://iwdrm.tumblr.com

Anonymous Ostrich
     Klaus Delanghe

Weitere ähnliche Inhalte

Was ist angesagt?

Visual Studio ❤ JavaScript
Visual Studio ❤ JavaScriptVisual Studio ❤ JavaScript
Visual Studio ❤ JavaScriptRobert MacLean
 
7 Features Of React Native
7 Features Of React Native7 Features Of React Native
7 Features Of React NativeIndumathySK
 
Azure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsAzure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsWinWire Technologies Inc
 
Build 2017 - B8083 - The future of Visual Studio
Build 2017 - B8083 - The future of Visual StudioBuild 2017 - B8083 - The future of Visual Studio
Build 2017 - B8083 - The future of Visual StudioWindows Developer
 
Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...
Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...
Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...Windows Developer
 
7 key features of node js
7 key features of node js7 key features of node js
7 key features of node jsIndumathySK
 
What’s new in Visual Studio 2012 & .NET 4.5
What’s new in Visual Studio 2012 & .NET 4.5What’s new in Visual Studio 2012 & .NET 4.5
What’s new in Visual Studio 2012 & .NET 4.5Robert MacLean
 
Deeper into Windows 10 Development
Deeper into Windows 10 DevelopmentDeeper into Windows 10 Development
Deeper into Windows 10 DevelopmentShahed Chowdhuri
 
Visual Studio Tools for Cordova
Visual Studio Tools for CordovaVisual Studio Tools for Cordova
Visual Studio Tools for CordovaAndrea Tino
 
Azure Deployment(Seattle)
Azure Deployment(Seattle)Azure Deployment(Seattle)
Azure Deployment(Seattle)Mithun T. Dhar
 
React Native Intro
React Native IntroReact Native Intro
React Native IntroJulia Vi
 
Slides of webinar Kendo UI and Knockout.js
Slides of webinar Kendo UI and Knockout.jsSlides of webinar Kendo UI and Knockout.js
Slides of webinar Kendo UI and Knockout.jsDhananjay Kumar
 
How much would it cost to hire developers in india
How much would it cost to hire developers in indiaHow much would it cost to hire developers in india
How much would it cost to hire developers in indiaYour Dedicated Developers
 
Asp.net Overview and Controllers
Asp.net Overview and ControllersAsp.net Overview and Controllers
Asp.net Overview and ControllersMustafa Saeed
 

Was ist angesagt? (20)

Visual Studio ❤ JavaScript
Visual Studio ❤ JavaScriptVisual Studio ❤ JavaScript
Visual Studio ❤ JavaScript
 
Nodejsvs
NodejsvsNodejsvs
Nodejsvs
 
7 Features Of React Native
7 Features Of React Native7 Features Of React Native
7 Features Of React Native
 
Azure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile AppsAzure Mobile Services for Cross Platform Mobile Apps
Azure Mobile Services for Cross Platform Mobile Apps
 
Build 2017 - B8083 - The future of Visual Studio
Build 2017 - B8083 - The future of Visual StudioBuild 2017 - B8083 - The future of Visual Studio
Build 2017 - B8083 - The future of Visual Studio
 
JavaScript Toolkit
JavaScript ToolkitJavaScript Toolkit
JavaScript Toolkit
 
ASP.NET
ASP.NETASP.NET
ASP.NET
 
Mercurial
MercurialMercurial
Mercurial
 
Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...
Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...
Build 2017 - B8033 - Give your conversations superpowers: Building intelligen...
 
7 key features of node js
7 key features of node js7 key features of node js
7 key features of node js
 
What’s new in Visual Studio 2012 & .NET 4.5
What’s new in Visual Studio 2012 & .NET 4.5What’s new in Visual Studio 2012 & .NET 4.5
What’s new in Visual Studio 2012 & .NET 4.5
 
Windows 8
Windows 8Windows 8
Windows 8
 
Deeper into Windows 10 Development
Deeper into Windows 10 DevelopmentDeeper into Windows 10 Development
Deeper into Windows 10 Development
 
Visual Studio Tools for Cordova
Visual Studio Tools for CordovaVisual Studio Tools for Cordova
Visual Studio Tools for Cordova
 
Azure Deployment(Seattle)
Azure Deployment(Seattle)Azure Deployment(Seattle)
Azure Deployment(Seattle)
 
Php development
Php developmentPhp development
Php development
 
React Native Intro
React Native IntroReact Native Intro
React Native Intro
 
Slides of webinar Kendo UI and Knockout.js
Slides of webinar Kendo UI and Knockout.jsSlides of webinar Kendo UI and Knockout.js
Slides of webinar Kendo UI and Knockout.js
 
How much would it cost to hire developers in india
How much would it cost to hire developers in indiaHow much would it cost to hire developers in india
How much would it cost to hire developers in india
 
Asp.net Overview and Controllers
Asp.net Overview and ControllersAsp.net Overview and Controllers
Asp.net Overview and Controllers
 

Ähnlich wie Use html5 to build what you want, where you want it

Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5Soumow Dollon
 
Universal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJSUniversal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJSAlexandre Marreiros
 
WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012Dmitri Artamonov
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overviewcodeblock
 
Windows8 metro presentationupdated
Windows8 metro presentationupdatedWindows8 metro presentationupdated
Windows8 metro presentationupdatedDhananjay Kumar
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1Foyzul Karim
 
Win j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateevWin j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateevMihail Mateev
 
Windows 8 app template feedback
Windows 8 app template feedbackWindows 8 app template feedback
Windows 8 app template feedbackSteren Giannini
 
Btb017 David
Btb017 DavidBtb017 David
Btb017 DavidRohit Ray
 
Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...
Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...
Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...Frédéric Harper
 
HTML5 vs Native Android: Smart Enterprises for the Future
HTML5 vs Native Android: Smart Enterprises for the FutureHTML5 vs Native Android: Smart Enterprises for the Future
HTML5 vs Native Android: Smart Enterprises for the FutureMotorola Mobility - MOTODEV
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpPrabhakar Manthena
 
Browser frame building with c# and vb dot net
Browser frame building  with c# and vb dot netBrowser frame building  with c# and vb dot net
Browser frame building with c# and vb dot netsonia merchant
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment SlidesLuke Angel
 
Silverlight overview
Silverlight overviewSilverlight overview
Silverlight overviewTaras Romanyk
 
android training_material ravy ramio
android training_material ravy ramioandroid training_material ravy ramio
android training_material ravy ramioslesulvy
 
HTML5 Development with Gizmox Visual WebGui7
HTML5 Development with Gizmox Visual WebGui7HTML5 Development with Gizmox Visual WebGui7
HTML5 Development with Gizmox Visual WebGui7Gizmox
 

Ähnlich wie Use html5 to build what you want, where you want it (20)

Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5
 
Universal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJSUniversal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJS
 
WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overview
 
Windows8 metro presentationupdated
Windows8 metro presentationupdatedWindows8 metro presentationupdated
Windows8 metro presentationupdated
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
 
Win j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateevWin j svsphonegap-damyan-petev-mihail-mateev
Win j svsphonegap-damyan-petev-mihail-mateev
 
Windows 8 app template feedback
Windows 8 app template feedbackWindows 8 app template feedback
Windows 8 app template feedback
 
Responsive app design
Responsive app designResponsive app design
Responsive app design
 
Btb017 David
Btb017 DavidBtb017 David
Btb017 David
 
Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...
Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...
Toronto User groups workshop - 2013-03-10 - HTML5 & Windows 8, friends with b...
 
Windows 8 for Web Developers
Windows 8 for Web DevelopersWindows 8 for Web Developers
Windows 8 for Web Developers
 
HTML5 vs Native Android: Smart Enterprises for the Future
HTML5 vs Native Android: Smart Enterprises for the FutureHTML5 vs Native Android: Smart Enterprises for the Future
HTML5 vs Native Android: Smart Enterprises for the Future
 
Sybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wpSybase sup hybrid_web_container_article_wp
Sybase sup hybrid_web_container_article_wp
 
Browser frame building with c# and vb dot net
Browser frame building  with c# and vb dot netBrowser frame building  with c# and vb dot net
Browser frame building with c# and vb dot net
 
Mobile Devolpment Slides
Mobile Devolpment SlidesMobile Devolpment Slides
Mobile Devolpment Slides
 
Silverlight overview
Silverlight overviewSilverlight overview
Silverlight overview
 
android training_material ravy ramio
android training_material ravy ramioandroid training_material ravy ramio
android training_material ravy ramio
 
HTML5 Development with Gizmox Visual WebGui7
HTML5 Development with Gizmox Visual WebGui7HTML5 Development with Gizmox Visual WebGui7
HTML5 Development with Gizmox Visual WebGui7
 
WebSite development using WinJS
WebSite development using WinJSWebSite development using WinJS
WebSite development using WinJS
 

Mehr von Kevin DeRudder

Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Kevin DeRudder
 
Comparing xaml and html
Comparing xaml and htmlComparing xaml and html
Comparing xaml and htmlKevin DeRudder
 
ECMAScript.Next ECMAScipt 6
ECMAScript.Next ECMAScipt 6ECMAScript.Next ECMAScipt 6
ECMAScript.Next ECMAScipt 6Kevin DeRudder
 
Developers and Designers
Developers and DesignersDevelopers and Designers
Developers and DesignersKevin DeRudder
 
Every Web Developer is a Win8 developer
Every Web Developer is a Win8 developerEvery Web Developer is a Win8 developer
Every Web Developer is a Win8 developerKevin DeRudder
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5Kevin DeRudder
 

Mehr von Kevin DeRudder (10)

Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$
 
Comparing xaml and html
Comparing xaml and htmlComparing xaml and html
Comparing xaml and html
 
ECMASCRIPT.NEXT
ECMASCRIPT.NEXTECMASCRIPT.NEXT
ECMASCRIPT.NEXT
 
ECMAScript.Next ECMAScipt 6
ECMAScript.Next ECMAScipt 6ECMAScript.Next ECMAScipt 6
ECMAScript.Next ECMAScipt 6
 
Responsive SharePoint
Responsive SharePointResponsive SharePoint
Responsive SharePoint
 
Developers and Designers
Developers and DesignersDevelopers and Designers
Developers and Designers
 
Every Web Developer is a Win8 developer
Every Web Developer is a Win8 developerEvery Web Developer is a Win8 developer
Every Web Developer is a Win8 developer
 
Media queries
Media queriesMedia queries
Media queries
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 

Use html5 to build what you want, where you want it