SlideShare une entreprise Scribd logo
1  sur  35
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
www.sela.co.il
Windows 8.1 Echosystem
Architecture
Personality, Pattern, Principles,

Platform
PhoneGap and Windows Store
Questions
Summary

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

2
Products

Editions

• Xbox
• Microsoft SkyDrive
)OneDrive )
• Windows Store

• Windows 8.1

• Windows 8.1 Pro

• Windows 8.1 Enterprise Windows RT
•

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

3
Windows 8.1 Platform Architecture
Desktop Apps

HTML

C/C++

Internet
Explorer

Windows Store apps

C# /
VB.NET

C++/
CX

C# /
VB.NET

Javascript

WinRT APIs

.Net CLR/
Silverlight

Win32

HTML
CSS

XAML

Comm. &
Data

Graphics &
Media

Devices
&
Others

Windows Kernel Services
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

4
Start screen

Charms
Task Manager

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

5
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

6
•
•
•
•

Purposeful animations
Predefined Animation Library
Touch-ready apps
Binding instead of events

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

7
Screen modes:

• Full-screen, both landscape and portrait
• Side-by-side

Design and implementation tips:

• Accommodate any screen mode and size
• Maintain state
• Plan for ergonomics
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

8
Your

Contract

Windows
Store
app

Contract

Contracts

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

9
• Tiles are the front door of the app
• Secondary tiles link to specific pages and

information
• Live tiles are used for dynamically updated
information
•

Secondary and live tiles can be pinned to the Start screen

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

10
Live tile
• Live tiles for dynamic information

on tiles
• Toast messages for dynamic
pop-ups
• App feels alive and updated even
when dormant
• User is drawn to your app all the
time

Toast Message

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

11
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

12
Choose the most comfortable language
JavaScript

C#/VB.NET

C++

Knowledge
Preservation

Web, HTML,
JavaScript

XAML, WPF,
Silverlight

XAML, C++

Code Reuse

Web apps

WPF or Silverlight, C++ codebase
or .NET codebase

Execution
Environment

Internet Explorer
JavaScript engine

.NET CLR with
access to WinRT

Runs directly on
top of WinRT

Language Style

Dynamic

Static

Static

Memory
Management

Managed by the
JavaScript engine

Managed by the
.NET CLR

Unmanaged, uses
reference
counting

Create WinRT
Components

No

Yes

Yes

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

13
WinRT Language Features
Metadata

Metadata

C++/CX
Code

Metadata

WinRT

C# 5.0
Code

JavaScript
Code

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

14
• Helpers for:
• Namespaces
• Classes
• Mixins
• Promises
• App Models
• Navigation

• Data binding
• Controls
• Animations
• Templates
• Utilities
• Default CSS styles

• Page & user controls

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

15
WinJS includes APIs for
• Creating logical namespaces through the

WinJS.Namespace object
• Defining classes and mixins by using the WinJS.Class
object

Making use of both these objects
• Helps to reuse code
• Helps to create an object model in an app

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

16
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

17
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
18

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
www.sela.co.il
• Mobile Web Apps
– Limited functionality w/ HTML
– Flash is problematic

• Mobile Applications
– Native or cross-compile?
– Both provide much more
functionality than “Web”
– Native is platform-specific
– Cross-compile casts a wider netbut performance and experience
could* suffer

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

19
• Web
– HTML with JavaScript/CSS

• Cross-compile
–
–
–
–
–

Adobe AIR (AS3, MXML)
PhoneGap (JS, HTML)
Titanium (JS, HTML)
Xamarin (C#, XAML)
Unity

• Native (only choose one)
– Objective-C (iOS)
– Java (Android / BlackBerry)
– C#/Silverlight/XAML (Windows)
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

20
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

21
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

22
• PhoneGap is open source mobile development
framework.
- Developed by Nitobi Software
- Bought by Adobe
• Renamed to Cordova after the shift to Adobe
• Enables building mobile device applications
using the Web technology stack –
HTML, CSS, and JavaScript.
• A PhoneGap application is considered Hybrid.
- They are neither truly native, nor purely web
based.
- All layout rendering is done via the Web View
• Supports 7 platforms
http://docs.phonegap.com/en/3.1.0/index.html
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
28

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
www.sela.co.il
• Set up your development environment
- PC, Mac
- XCode, Eclipse, Visual Studio
- SDKs, JDKs, Plug-Ins
Same as for Native Development
• Adobe® PhoneGap™ Build- Simply upload
your HTML5, CSS, and JavaScript assets to
the Adobe® PhoneGap™ Build cloud service and
we do the work of compiling for you.
1.
2.
3.
4.

Create New Project
Add reference to Cordova.js
Register “deviceready” event
Done
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

31
function includeJS(jsFile) {
$('head').append($('<script>').attr('type', 'text/javascript').attr('src', j
sFile));
}

// Pick a JS to load
switch(device.platform)
{
case “Android”:
includeJS(‘android.js'); break;
case “BlackBerry 10”: includeJS(‘bb.js'); break;
case “Win32NT”:
includeJS(‘win8.js'); break;
}

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

32
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

33
Platform-specific native applications
seem to be slowly fading away into a
niche or need-basis.
HTML/JavaScript applications, done
right, can be a good alternative, and
can save you time an money.

If you’re not sure, validate.
Shai Raiten
• shair@sela.co.il
• http://blogs.Microsoft.co.il/blogs/shair

© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel

35

Contenu connexe

Tendances

Hybrid Mobile Development
Hybrid Mobile DevelopmentHybrid Mobile Development
Hybrid Mobile DevelopmentShai Raiten
 
Opening the mobile web mozilla and firefox os-chit thiri maung
Opening the mobile web   mozilla and firefox os-chit thiri maungOpening the mobile web   mozilla and firefox os-chit thiri maung
Opening the mobile web mozilla and firefox os-chit thiri maungChit Thiri Maung
 
Building Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
Building Cross-Platform Mobile Apps with PhoneGap and Sencha TouchBuilding Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
Building Cross-Platform Mobile Apps with PhoneGap and Sencha TouchAxel Buerkle
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating systemNishant Mehare
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2Akib B. Momin
 
Introduction to Xamarin - Confoo 2015
Introduction to Xamarin - Confoo 2015Introduction to Xamarin - Confoo 2015
Introduction to Xamarin - Confoo 2015Guy Barrette
 
HTML5: Next Generation Web Development
HTML5: Next Generation Web DevelopmentHTML5: Next Generation Web Development
HTML5: Next Generation Web DevelopmentDipesh Mukerji
 
App.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentApp.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentTeamstudio
 
An Introduction to Web Components
An Introduction to Web ComponentsAn Introduction to Web Components
An Introduction to Web ComponentsRed Pill Now
 
CM WebClient CA Expo Mannheim Germany
CM WebClient CA Expo Mannheim Germany CM WebClient CA Expo Mannheim Germany
CM WebClient CA Expo Mannheim Germany CM First Group
 
Comparing multi-platform mobile apps frameworks
Comparing multi-platform mobile apps frameworksComparing multi-platform mobile apps frameworks
Comparing multi-platform mobile apps frameworksAmandine Tihon
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4Akib B. Momin
 

Tendances (16)

Progressive Web Apps
Progressive Web AppsProgressive Web Apps
Progressive Web Apps
 
Hybrid Mobile Development
Hybrid Mobile DevelopmentHybrid Mobile Development
Hybrid Mobile Development
 
Opening the mobile web mozilla and firefox os-chit thiri maung
Opening the mobile web   mozilla and firefox os-chit thiri maungOpening the mobile web   mozilla and firefox os-chit thiri maung
Opening the mobile web mozilla and firefox os-chit thiri maung
 
Building Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
Building Cross-Platform Mobile Apps with PhoneGap and Sencha TouchBuilding Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
Building Cross-Platform Mobile Apps with PhoneGap and Sencha Touch
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating system
 
Florin React Native Meetup
Florin React Native MeetupFlorin React Native Meetup
Florin React Native Meetup
 
DDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su LotusDDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su Lotus
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2
 
Introduction to Xamarin - Confoo 2015
Introduction to Xamarin - Confoo 2015Introduction to Xamarin - Confoo 2015
Introduction to Xamarin - Confoo 2015
 
HTML5: Next Generation Web Development
HTML5: Next Generation Web DevelopmentHTML5: Next Generation Web Development
HTML5: Next Generation Web Development
 
App.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentApp.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application Development
 
An Introduction to Web Components
An Introduction to Web ComponentsAn Introduction to Web Components
An Introduction to Web Components
 
CM WebClient CA Expo Mannheim Germany
CM WebClient CA Expo Mannheim Germany CM WebClient CA Expo Mannheim Germany
CM WebClient CA Expo Mannheim Germany
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile Development
 
Comparing multi-platform mobile apps frameworks
Comparing multi-platform mobile apps frameworksComparing multi-platform mobile apps frameworks
Comparing multi-platform mobile apps frameworks
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4
 

En vedette

Microsoft Windows Phone 7 Platform [IndicThreads Mobile Application Developm...
Microsoft Windows Phone 7 Platform  [IndicThreads Mobile Application Developm...Microsoft Windows Phone 7 Platform  [IndicThreads Mobile Application Developm...
Microsoft Windows Phone 7 Platform [IndicThreads Mobile Application Developm...IndicThreads
 
Windows Phone 7 v.s iOS Development
Windows Phone 7 v.s iOS DevelopmentWindows Phone 7 v.s iOS Development
Windows Phone 7 v.s iOS DevelopmentKhang Vo
 
Windows Phone 7 Architecture Overview
Windows Phone 7 Architecture OverviewWindows Phone 7 Architecture Overview
Windows Phone 7 Architecture OverviewBhavya Siddappa
 
Exclusive rose fragrances for special occasions
Exclusive rose fragrances for special occasionsExclusive rose fragrances for special occasions
Exclusive rose fragrances for special occasionsAbdulsamadalqurash
 
Ten uparty anestezjolog
Ten uparty anestezjologTen uparty anestezjolog
Ten uparty anestezjologPolanest
 
English perfumes
English perfumesEnglish perfumes
English perfumesPrimo Levi
 
How To Smell Good Without Perfume
How To Smell Good Without PerfumeHow To Smell Good Without Perfume
How To Smell Good Without PerfumeCaptain YR
 
Perfumes, Flavours and Essential Oils
Perfumes, Flavours and Essential OilsPerfumes, Flavours and Essential Oils
Perfumes, Flavours and Essential OilsAjjay Kumar Gupta
 
Solar charger new product launch - Rahul avasthy
Solar charger  new product launch - Rahul avasthySolar charger  new product launch - Rahul avasthy
Solar charger new product launch - Rahul avasthyRahul Avasthy
 
Transparent Smartphone Spying
Transparent Smartphone SpyingTransparent Smartphone Spying
Transparent Smartphone SpyingGeorgia Weidman
 
New product design and development
New product design and developmentNew product design and development
New product design and developmentShameem Ali
 
Transparent Technology By Kiran Sapkale
Transparent Technology By Kiran SapkaleTransparent Technology By Kiran Sapkale
Transparent Technology By Kiran SapkaleKiran
 
New product planning and development
New product planning and developmentNew product planning and development
New product planning and developmentBendita Baylôn Ü
 

En vedette (16)

Microsoft Windows Phone 7 Platform [IndicThreads Mobile Application Developm...
Microsoft Windows Phone 7 Platform  [IndicThreads Mobile Application Developm...Microsoft Windows Phone 7 Platform  [IndicThreads Mobile Application Developm...
Microsoft Windows Phone 7 Platform [IndicThreads Mobile Application Developm...
 
Windows Phone 7 v.s iOS Development
Windows Phone 7 v.s iOS DevelopmentWindows Phone 7 v.s iOS Development
Windows Phone 7 v.s iOS Development
 
Windows Phone 7 Architecture Overview
Windows Phone 7 Architecture OverviewWindows Phone 7 Architecture Overview
Windows Phone 7 Architecture Overview
 
Exclusive rose fragrances for special occasions
Exclusive rose fragrances for special occasionsExclusive rose fragrances for special occasions
Exclusive rose fragrances for special occasions
 
Ten uparty anestezjolog
Ten uparty anestezjologTen uparty anestezjolog
Ten uparty anestezjolog
 
Great Brak River Map
Great Brak River MapGreat Brak River Map
Great Brak River Map
 
English perfumes
English perfumesEnglish perfumes
English perfumes
 
Los perfumes
Los perfumes Los perfumes
Los perfumes
 
Praca z uczniem ze spektrum autyzmu
Praca z uczniem ze spektrum autyzmuPraca z uczniem ze spektrum autyzmu
Praca z uczniem ze spektrum autyzmu
 
How To Smell Good Without Perfume
How To Smell Good Without PerfumeHow To Smell Good Without Perfume
How To Smell Good Without Perfume
 
Perfumes, Flavours and Essential Oils
Perfumes, Flavours and Essential OilsPerfumes, Flavours and Essential Oils
Perfumes, Flavours and Essential Oils
 
Solar charger new product launch - Rahul avasthy
Solar charger  new product launch - Rahul avasthySolar charger  new product launch - Rahul avasthy
Solar charger new product launch - Rahul avasthy
 
Transparent Smartphone Spying
Transparent Smartphone SpyingTransparent Smartphone Spying
Transparent Smartphone Spying
 
New product design and development
New product design and developmentNew product design and development
New product design and development
 
Transparent Technology By Kiran Sapkale
Transparent Technology By Kiran SapkaleTransparent Technology By Kiran Sapkale
Transparent Technology By Kiran Sapkale
 
New product planning and development
New product planning and developmentNew product planning and development
New product planning and development
 

Similaire à Building your first windows store app in html5 js phonegap

Making the Mobile Web Native with PhoneGap
Making the Mobile Web Native with PhoneGapMaking the Mobile Web Native with PhoneGap
Making the Mobile Web Native with PhoneGapRoy Clarkson
 
Tran Minh Duc - Certified Hybris Dev
Tran Minh Duc - Certified Hybris DevTran Minh Duc - Certified Hybris Dev
Tran Minh Duc - Certified Hybris DevĐức Hítle
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGapMihai Corlan
 
Ibm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsIbm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsMark Roden
 
2011 code camp
2011 code camp2011 code camp
2011 code campimranq2
 
Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapAmar Mesic
 
HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?Reto Meier
 
Hybrid App Development, Redefined
Hybrid App Development, RedefinedHybrid App Development, Redefined
Hybrid App Development, RedefinedIonic Framework
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampMihai Corlan
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapNick Landry
 
IBM MobileFirst - Hybrid Application Development with Worklight
IBM MobileFirst - Hybrid Application Development with WorklightIBM MobileFirst - Hybrid Application Development with Worklight
IBM MobileFirst - Hybrid Application Development with WorklightIBIZZ
 
Native Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapNative Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapSasha Goldshtein
 
Post Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development PlatformsPost Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development PlatformsBarcoding, Inc.
 
Módulo de docker compose para ensino e aprendizagem do yml para docker
Módulo de docker compose para ensino e aprendizagem do yml para dockerMódulo de docker compose para ensino e aprendizagem do yml para docker
Módulo de docker compose para ensino e aprendizagem do yml para dockerDiogo Soares Moreira
 
Introduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App DevelopmentIntroduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App DevelopmentÖzcan Zafer AYAN
 
CV - Mohsan Raza Ali - Development Manager
CV - Mohsan Raza Ali - Development ManagerCV - Mohsan Raza Ali - Development Manager
CV - Mohsan Raza Ali - Development ManagerMohsan Raza
 
Integrating ADF Mobile with WebCenter
Integrating ADF Mobile with WebCenterIntegrating ADF Mobile with WebCenter
Integrating ADF Mobile with WebCenterBrian Huff
 
Kendo UI workshop introduction - PUG Baltic Annual Conference 2017
Kendo UI workshop introduction - PUG Baltic Annual Conference 2017Kendo UI workshop introduction - PUG Baltic Annual Conference 2017
Kendo UI workshop introduction - PUG Baltic Annual Conference 2017Alen Leit
 

Similaire à Building your first windows store app in html5 js phonegap (20)

PhoneGap/Cordova
PhoneGap/CordovaPhoneGap/Cordova
PhoneGap/Cordova
 
Making the Mobile Web Native with PhoneGap
Making the Mobile Web Native with PhoneGapMaking the Mobile Web Native with PhoneGap
Making the Mobile Web Native with PhoneGap
 
HTML5 וממשל - לבנות את האתרים של המחר היום - גיל פינק
HTML5 וממשל - לבנות את האתרים של המחר היום - גיל פינקHTML5 וממשל - לבנות את האתרים של המחר היום - גיל פינק
HTML5 וממשל - לבנות את האתרים של המחר היום - גיל פינק
 
Tran Minh Duc - Certified Hybris Dev
Tran Minh Duc - Certified Hybris DevTran Minh Duc - Certified Hybris Dev
Tran Minh Duc - Certified Hybris Dev
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
 
Ibm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsIbm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applications
 
2011 code camp
2011 code camp2011 code camp
2011 code camp
 
Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGap
 
HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?
 
Hybrid App Development, Redefined
Hybrid App Development, RedefinedHybrid App Development, Redefined
Hybrid App Development, Redefined
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
 
IBM MobileFirst - Hybrid Application Development with Worklight
IBM MobileFirst - Hybrid Application Development with WorklightIBM MobileFirst - Hybrid Application Development with Worklight
IBM MobileFirst - Hybrid Application Development with Worklight
 
Native Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapNative Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGap
 
Post Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development PlatformsPost Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development Platforms
 
Módulo de docker compose para ensino e aprendizagem do yml para docker
Módulo de docker compose para ensino e aprendizagem do yml para dockerMódulo de docker compose para ensino e aprendizagem do yml para docker
Módulo de docker compose para ensino e aprendizagem do yml para docker
 
Introduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App DevelopmentIntroduction to Cross-Platform Hybrid Mobile App Development
Introduction to Cross-Platform Hybrid Mobile App Development
 
CV - Mohsan Raza Ali - Development Manager
CV - Mohsan Raza Ali - Development ManagerCV - Mohsan Raza Ali - Development Manager
CV - Mohsan Raza Ali - Development Manager
 
Integrating ADF Mobile with WebCenter
Integrating ADF Mobile with WebCenterIntegrating ADF Mobile with WebCenter
Integrating ADF Mobile with WebCenter
 
Kendo UI workshop introduction - PUG Baltic Annual Conference 2017
Kendo UI workshop introduction - PUG Baltic Annual Conference 2017Kendo UI workshop introduction - PUG Baltic Annual Conference 2017
Kendo UI workshop introduction - PUG Baltic Annual Conference 2017
 

Dernier

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 

Dernier (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 

Building your first windows store app in html5 js phonegap

  • 1. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il
  • 2. Windows 8.1 Echosystem Architecture Personality, Pattern, Principles, Platform PhoneGap and Windows Store Questions Summary © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 2
  • 3. Products Editions • Xbox • Microsoft SkyDrive )OneDrive ) • Windows Store • Windows 8.1 • Windows 8.1 Pro • Windows 8.1 Enterprise Windows RT • © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 3
  • 4. Windows 8.1 Platform Architecture Desktop Apps HTML C/C++ Internet Explorer Windows Store apps C# / VB.NET C++/ CX C# / VB.NET Javascript WinRT APIs .Net CLR/ Silverlight Win32 HTML CSS XAML Comm. & Data Graphics & Media Devices & Others Windows Kernel Services © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 4
  • 5. Start screen Charms Task Manager © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 5
  • 6. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 6
  • 7. • • • • Purposeful animations Predefined Animation Library Touch-ready apps Binding instead of events © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 7
  • 8. Screen modes: • Full-screen, both landscape and portrait • Side-by-side Design and implementation tips: • Accommodate any screen mode and size • Maintain state • Plan for ergonomics © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 8
  • 9. Your Contract Windows Store app Contract Contracts © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 9
  • 10. • Tiles are the front door of the app • Secondary tiles link to specific pages and information • Live tiles are used for dynamically updated information • Secondary and live tiles can be pinned to the Start screen © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 10
  • 11. Live tile • Live tiles for dynamic information on tiles • Toast messages for dynamic pop-ups • App feels alive and updated even when dormant • User is drawn to your app all the time Toast Message © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 11
  • 12. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 12
  • 13. Choose the most comfortable language JavaScript C#/VB.NET C++ Knowledge Preservation Web, HTML, JavaScript XAML, WPF, Silverlight XAML, C++ Code Reuse Web apps WPF or Silverlight, C++ codebase or .NET codebase Execution Environment Internet Explorer JavaScript engine .NET CLR with access to WinRT Runs directly on top of WinRT Language Style Dynamic Static Static Memory Management Managed by the JavaScript engine Managed by the .NET CLR Unmanaged, uses reference counting Create WinRT Components No Yes Yes © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 13
  • 14. WinRT Language Features Metadata Metadata C++/CX Code Metadata WinRT C# 5.0 Code JavaScript Code © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 14
  • 15. • Helpers for: • Namespaces • Classes • Mixins • Promises • App Models • Navigation • Data binding • Controls • Animations • Templates • Utilities • Default CSS styles • Page & user controls © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 15
  • 16. WinJS includes APIs for • Creating logical namespaces through the WinJS.Namespace object • Defining classes and mixins by using the WinJS.Class object Making use of both these objects • Helps to reuse code • Helps to create an object model in an app © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 16
  • 17. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 17
  • 18. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 18 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il
  • 19. • Mobile Web Apps – Limited functionality w/ HTML – Flash is problematic • Mobile Applications – Native or cross-compile? – Both provide much more functionality than “Web” – Native is platform-specific – Cross-compile casts a wider netbut performance and experience could* suffer © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 19
  • 20. • Web – HTML with JavaScript/CSS • Cross-compile – – – – – Adobe AIR (AS3, MXML) PhoneGap (JS, HTML) Titanium (JS, HTML) Xamarin (C#, XAML) Unity • Native (only choose one) – Objective-C (iOS) – Java (Android / BlackBerry) – C#/Silverlight/XAML (Windows) © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 20
  • 21. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 21
  • 22. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 22
  • 23. • PhoneGap is open source mobile development framework. - Developed by Nitobi Software - Bought by Adobe • Renamed to Cordova after the shift to Adobe • Enables building mobile device applications using the Web technology stack – HTML, CSS, and JavaScript.
  • 24. • A PhoneGap application is considered Hybrid. - They are neither truly native, nor purely web based. - All layout rendering is done via the Web View • Supports 7 platforms
  • 25.
  • 26.
  • 28. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 28 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il
  • 29. • Set up your development environment - PC, Mac - XCode, Eclipse, Visual Studio - SDKs, JDKs, Plug-Ins Same as for Native Development • Adobe® PhoneGap™ Build- Simply upload your HTML5, CSS, and JavaScript assets to the Adobe® PhoneGap™ Build cloud service and we do the work of compiling for you.
  • 30. 1. 2. 3. 4. Create New Project Add reference to Cordova.js Register “deviceready” event Done
  • 31. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 31
  • 32. function includeJS(jsFile) { $('head').append($('<script>').attr('type', 'text/javascript').attr('src', j sFile)); } // Pick a JS to load switch(device.platform) { case “Android”: includeJS(‘android.js'); break; case “BlackBerry 10”: includeJS(‘bb.js'); break; case “Win32NT”: includeJS(‘win8.js'); break; } © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 32
  • 33. © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 33
  • 34. Platform-specific native applications seem to be slowly fading away into a niche or need-basis. HTML/JavaScript applications, done right, can be a good alternative, and can save you time an money. If you’re not sure, validate.
  • 35. Shai Raiten • shair@sela.co.il • http://blogs.Microsoft.co.il/blogs/shair © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 35