SlideShare a Scribd company logo
1 of 25
Windows 8 App Development
     for web Developer

                Dhananjay Kumar
                  Customer Advocate
                             Telerik
Debug_mode
Web Developer ?

         HTML            CSS


    JavaScript          jQuery

 http://debugmode.net
Web Developer == Win8 Developer ?



        HTML              CSS

                         WinJS
    JavaScript           jQuery

  http://debugmode.net
Demo : Migrating Web App to
Windows 8 App




  http://debugmode.net
Agenda
Web Development paradigm

Migrating CSS based Web App to Windows 8 App

Packaging the App

Evaluating Different Development options

WinJS Controls Demo

Create “Netflix Movie Explorer“ App for Windows Store


      http://debugmode.net
What is WINDOWS 8 ?



Win7                    WinRT   Win8




 http://debugmode.net
Metro /WinRT App
WPF/Windows                   App for        Web
 Application               Windows Store   Application


     .Net
                             WinRT/
Framework/Win                               Browser
                           AppContainer
      32


    http://debugmode.net
http://debugmode.net
Metro App runs from Disc




                         App Container

  http://debugmode.net
Metro App Vs. Desktop App

In desktop app you create MSI , Exe etc. and run to install
 application

In Metro App you create package and submit to Windows
 store

Along with other files ,package contains batch executable
 file that runs series of commands to install metro app on
 your device.

Metro app runs with less privilege than desktop app
     http://debugmode.net
VS2012 and Metro Apps
  Project templates                    Development options

Blank Application C#,JavaScript       HTML+JavaScript
Grid Application C#,JavaScript
Split Application C#,JavaScript       C# + XAML
Fixed Layout Application JavaScript   C++ + XAML
Navigation Application JavaScript
                   Deployment

             Local machine
             Remote machine
             Simulator
      http://debugmode.net
What to choose?
Create “Hello Word App “ for Windows Store

Package

Deploy

Understand running app in process explorer


    http://debugmode.net
What is WinJS ?
Collection of JavaScript files helps us to create
Metro Style Applications for Windows 8



HTML
                              JavaSc
Eleme           CSS                          WinJS
                                ript
  nts
Why WinJS ?
It helps to create controls and animation adhering to metro style
 guidelines

It helps in data binding and to create template of data

It helps to fragment and navigate between pages of the application

It helps to make asynchronous call to services

It helps to write app against the app model

      http://debugmode.net
WinJS Controls




  http://debugmode.net
WinJS Controls Demo
Date Picker Control

Message Box Control

Rating Control

Adding Controls in Expression Blend

Adding Controls Programmatically
    http://debugmode.net
What we are going to create




  http://debugmode.net
What will be learning ?

Working with ListView

Creating Data Source, Groped Data Source

Creating Item template, Header Template

Sematic Zoom on List View

Designing CSS of ListView
    http://debugmode.net
ListView and DataBinding




  http://debugmode.net
Grouping Data




  http://debugmode.net
Share Contract




  http://debugmode.net
Calling Service


   On Complete                                             On Error
WinJS.xhr({                                 WinJS.xhr({
url:"http://www.example.org/somedata.json   url:"http://www.example.org/som
"                                           edata.json"
}).then(function (response) {               }).then(function (response) {
    updateDisplay(                             updateDisplay(
      JSON.parse(response.responseText));       JSON.parse(response.responseText));
});                                         }, function (ex) {
                                             reportXhrError(ex);
                                            });
       http://debugmode.net
In WinJS Everything is Async




  http://debugmode.net
Thanks
Dhananjay Kumar
http://debugmode.net




        dhananjay.kumar@telerik.com
       @Debug_mode

More Related Content

Similar to Windows 8 App Development for Web Developers

Android tutorial
Android tutorialAndroid tutorial
Android tutorialAbid Khan
 
What Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 AppsWhat Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 AppsDoris Chen
 
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsBusy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsJAX London
 
Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説shinobu takahashi
 
Front-end. Global domination
Front-end. Global dominationFront-end. Global domination
Front-end. Global dominationStfalcon Meetups
 
20141216 멜팅팟 부산 세션 ii - cross platform 개발
20141216 멜팅팟 부산   세션 ii - cross platform 개발20141216 멜팅팟 부산   세션 ii - cross platform 개발
20141216 멜팅팟 부산 세션 ii - cross platform 개발영욱 김
 
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
 
Web matrix part 2
Web matrix part 2Web matrix part 2
Web matrix part 2yuvaraj72
 
Use html5 to build what you want, where you want it
Use html5 to build what you want, where you want itUse html5 to build what you want, where you want it
Use html5 to build what you want, where you want itKevin DeRudder
 
WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012Dmitri Artamonov
 
Day in a life of a node.js developer
Day in a life of a node.js developerDay in a life of a node.js developer
Day in a life of a node.js developerEdureka!
 
Day In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperDay In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperEdureka!
 
Mobile Dev For Web Devs
Mobile Dev For Web DevsMobile Dev For Web Devs
Mobile Dev For Web DevsJustin James
 

Similar to Windows 8 App Development for Web Developers (20)

Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
What Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 AppsWhat Web Developers Need to Know to Develop Windows 8 Apps
What Web Developers Need to Know to Develop Windows 8 Apps
 
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsBusy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
 
Beyond The MVC
Beyond The MVCBeyond The MVC
Beyond The MVC
 
Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説
 
Front-end. Global domination
Front-end. Global dominationFront-end. Global domination
Front-end. Global domination
 
Frontend. Global domination.
Frontend. Global domination.Frontend. Global domination.
Frontend. Global domination.
 
20141216 멜팅팟 부산 세션 ii - cross platform 개발
20141216 멜팅팟 부산   세션 ii - cross platform 개발20141216 멜팅팟 부산   세션 ii - cross platform 개발
20141216 멜팅팟 부산 세션 ii - cross platform 개발
 
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
 
Web matrix part 2
Web matrix part 2Web matrix part 2
Web matrix part 2
 
Web tech
Web techWeb tech
Web tech
 
Web tech
Web techWeb tech
Web tech
 
Web tech
Web techWeb tech
Web tech
 
Web techh
Web techhWeb techh
Web techh
 
Use html5 to build what you want, where you want it
Use html5 to build what you want, where you want itUse html5 to build what you want, where you want it
Use html5 to build what you want, where you want it
 
WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012WinJS at NYC Code Camp 2012
WinJS at NYC Code Camp 2012
 
Day in a life of a node.js developer
Day in a life of a node.js developerDay in a life of a node.js developer
Day in a life of a node.js developer
 
Day In A Life Of A Node.js Developer
Day In A Life Of A Node.js DeveloperDay In A Life Of A Node.js Developer
Day In A Life Of A Node.js Developer
 
Mobile Dev For Web Devs
Mobile Dev For Web DevsMobile Dev For Web Devs
Mobile Dev For Web Devs
 
Gwt Deep Dive
Gwt Deep DiveGwt Deep Dive
Gwt Deep Dive
 

More from Dhananjay Kumar

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
 
Presenter deck icenium hol
Presenter deck   icenium holPresenter deck   icenium hol
Presenter deck icenium holDhananjay Kumar
 
Windows azure mobile service
Windows azure mobile serviceWindows azure mobile service
Windows azure mobile serviceDhananjay Kumar
 
Test studiowebinaraugcodedstep
Test studiowebinaraugcodedstepTest studiowebinaraugcodedstep
Test studiowebinaraugcodedstepDhananjay Kumar
 
Functions and Objects in JavaScript
Functions and Objects in JavaScript Functions and Objects in JavaScript
Functions and Objects in JavaScript Dhananjay Kumar
 
Create Hybrid Mobile Application with Icenium and Kendo UI Mobile
Create Hybrid Mobile Application with Icenium and Kendo UI Mobile Create Hybrid Mobile Application with Icenium and Kendo UI Mobile
Create Hybrid Mobile Application with Icenium and Kendo UI Mobile Dhananjay Kumar
 
Cloud Based Enterprise Apps using Everlive
Cloud Based Enterprise Apps using EverliveCloud Based Enterprise Apps using Everlive
Cloud Based Enterprise Apps using EverliveDhananjay Kumar
 
A Look into Automated Web UI Test
A Look into Automated Web UI TestA Look into Automated Web UI Test
A Look into Automated Web UI TestDhananjay Kumar
 
Windows phone 8 app using Kendo UI
Windows phone 8 app using Kendo UI Windows phone 8 app using Kendo UI
Windows phone 8 app using Kendo UI Dhananjay Kumar
 
Windows aazuremobileservices
Windows aazuremobileservicesWindows aazuremobileservices
Windows aazuremobileservicesDhananjay Kumar
 
Rad controlforwindows25thapril
Rad controlforwindows25thaprilRad controlforwindows25thapril
Rad controlforwindows25thaprilDhananjay Kumar
 
Windows storemindcrcaker23rdmarch
Windows storemindcrcaker23rdmarchWindows storemindcrcaker23rdmarch
Windows storemindcrcaker23rdmarchDhananjay Kumar
 

More from Dhananjay Kumar (20)

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
 
Nodejsvs
NodejsvsNodejsvs
Nodejsvs
 
Node.js
Node.jsNode.js
Node.js
 
No SQL with Kendo UI
No SQL with Kendo UI No SQL with Kendo UI
No SQL with Kendo UI
 
Presenter deck icenium hol
Presenter deck   icenium holPresenter deck   icenium hol
Presenter deck icenium hol
 
Bringbestoinyou
BringbestoinyouBringbestoinyou
Bringbestoinyou
 
Java script
Java scriptJava script
Java script
 
Windows azure mobile service
Windows azure mobile serviceWindows azure mobile service
Windows azure mobile service
 
Test studiowebinaraugcodedstep
Test studiowebinaraugcodedstepTest studiowebinaraugcodedstep
Test studiowebinaraugcodedstep
 
Functions and Objects in JavaScript
Functions and Objects in JavaScript Functions and Objects in JavaScript
Functions and Objects in JavaScript
 
Create Hybrid Mobile Application with Icenium and Kendo UI Mobile
Create Hybrid Mobile Application with Icenium and Kendo UI Mobile Create Hybrid Mobile Application with Icenium and Kendo UI Mobile
Create Hybrid Mobile Application with Icenium and Kendo UI Mobile
 
Cloud Based Enterprise Apps using Everlive
Cloud Based Enterprise Apps using EverliveCloud Based Enterprise Apps using Everlive
Cloud Based Enterprise Apps using Everlive
 
A Look into Automated Web UI Test
A Look into Automated Web UI TestA Look into Automated Web UI Test
A Look into Automated Web UI Test
 
Windows phone 8 app using Kendo UI
Windows phone 8 app using Kendo UI Windows phone 8 app using Kendo UI
Windows phone 8 app using Kendo UI
 
Cross platformmobileapp
Cross platformmobileappCross platformmobileapp
Cross platformmobileapp
 
Windows aazuremobileservices
Windows aazuremobileservicesWindows aazuremobileservices
Windows aazuremobileservices
 
Rad controlforwindows25thapril
Rad controlforwindows25thaprilRad controlforwindows25thapril
Rad controlforwindows25thapril
 
Data asservice
Data asserviceData asservice
Data asservice
 
WCF for begineers
WCF  for begineersWCF  for begineers
WCF for begineers
 
Windows storemindcrcaker23rdmarch
Windows storemindcrcaker23rdmarchWindows storemindcrcaker23rdmarch
Windows storemindcrcaker23rdmarch
 

Windows 8 App Development for Web Developers

  • 1. Windows 8 App Development for web Developer Dhananjay Kumar Customer Advocate Telerik Debug_mode
  • 2. Web Developer ? HTML CSS JavaScript jQuery http://debugmode.net
  • 3. Web Developer == Win8 Developer ? HTML CSS WinJS JavaScript jQuery http://debugmode.net
  • 4. Demo : Migrating Web App to Windows 8 App http://debugmode.net
  • 5. Agenda Web Development paradigm Migrating CSS based Web App to Windows 8 App Packaging the App Evaluating Different Development options WinJS Controls Demo Create “Netflix Movie Explorer“ App for Windows Store http://debugmode.net
  • 6. What is WINDOWS 8 ? Win7 WinRT Win8 http://debugmode.net
  • 7. Metro /WinRT App WPF/Windows App for Web Application Windows Store Application .Net WinRT/ Framework/Win Browser AppContainer 32 http://debugmode.net
  • 9. Metro App runs from Disc App Container http://debugmode.net
  • 10. Metro App Vs. Desktop App In desktop app you create MSI , Exe etc. and run to install application In Metro App you create package and submit to Windows store Along with other files ,package contains batch executable file that runs series of commands to install metro app on your device. Metro app runs with less privilege than desktop app http://debugmode.net
  • 11. VS2012 and Metro Apps Project templates Development options Blank Application C#,JavaScript HTML+JavaScript Grid Application C#,JavaScript Split Application C#,JavaScript C# + XAML Fixed Layout Application JavaScript C++ + XAML Navigation Application JavaScript Deployment  Local machine  Remote machine  Simulator http://debugmode.net
  • 13. Create “Hello Word App “ for Windows Store Package Deploy Understand running app in process explorer http://debugmode.net
  • 14. What is WinJS ? Collection of JavaScript files helps us to create Metro Style Applications for Windows 8 HTML JavaSc Eleme CSS WinJS ript nts
  • 15. Why WinJS ? It helps to create controls and animation adhering to metro style guidelines It helps in data binding and to create template of data It helps to fragment and navigate between pages of the application It helps to make asynchronous call to services It helps to write app against the app model http://debugmode.net
  • 16. WinJS Controls http://debugmode.net
  • 17. WinJS Controls Demo Date Picker Control Message Box Control Rating Control Adding Controls in Expression Blend Adding Controls Programmatically http://debugmode.net
  • 18. What we are going to create http://debugmode.net
  • 19. What will be learning ? Working with ListView Creating Data Source, Groped Data Source Creating Item template, Header Template Sematic Zoom on List View Designing CSS of ListView http://debugmode.net
  • 20. ListView and DataBinding http://debugmode.net
  • 21. Grouping Data http://debugmode.net
  • 22. Share Contract http://debugmode.net
  • 23. Calling Service On Complete On Error WinJS.xhr({ WinJS.xhr({ url:"http://www.example.org/somedata.json url:"http://www.example.org/som " edata.json" }).then(function (response) { }).then(function (response) { updateDisplay( updateDisplay( JSON.parse(response.responseText)); JSON.parse(response.responseText)); }); }, function (ex) { reportXhrError(ex); }); http://debugmode.net
  • 24. In WinJS Everything is Async http://debugmode.net
  • 25. Thanks Dhananjay Kumar http://debugmode.net dhananjay.kumar@telerik.com @Debug_mode

Editor's Notes

  1. Switch for the demo in between
  2. Switch for the demo in between
  3. Switch for the demo in between
  4. Switch for the demo in between
  5. Switch for the demo in between
  6. Switch for the demo in between
  7. Switch for the demo in between
  8. Switch for the demo in between
  9. Switch for the demo in between
  10. Switch for the demo in between
  11. Switch for the demo in between
  12. Switch for the demo in between
  13. Switch for the demo in between
  14. Switch for the demo in between
  15. Switch for the demo in between
  16. Switch for the demo in between