SlideShare a Scribd company logo
Cross-Platform Native Apps
with JavaScript
October 22, 2015
Fokke Zandbergen

@FokkeZB
Agenda: Cross-Platform Native Apps with JavaScript
• Why Cross-Platform?
• Why Native?
• Why JavaScript?
• Why Titanium?
• Alloy
• Appcelerator Platform
Why Cross-Platform?
Because you can’t bet on one platform
Because there’s no such thing as one platform
1.0 1.1 1.5 1.6 2.0 2.0.1 2.1 2.2 2.3-2.3.2 2.3.3-2.3.7 3.0
3.1 3.2 4.0-4.0.2 4.0.3-4.04 4.1 4.2 4.3 4.4 5.0 5.1
2011 2012 2013 2014 2015
0%
20%
40%
60%
80%
100%
The white line shows the market share of the leading API level at any time
The white line shows the market share

of the leading API level at any time
iOS 9
57%iOS 8
33%
Earlier
10%
October 5th, 2015

developer.apple.com
Because these platforms run on thousands of devices
Targeting multiple platforms without Titanium
!Product Management
Team
Team
Team
Targeting multiple platforms with Titanium
!Product Management Team
Why Native?
What does Native mean?
⎕ The developer uses the vendor’s toolchain
⎕ The developer uses the platform’s language(s)
⎕ The developer uses the platform’s APIs
⎕ The user experience is as expected on the platform
What cross-platform for long has worked like
"
What it sometimes looked like
iOS TabGroup?
Android Drawer?
Uh?!
What Native means to us
⎕ The developer uses the vendor’s toolchain
⎕ The developer uses the platform’s language(s)
⎕ The developer uses the platform’s APIs
⎕ The user experience is as expected on the platform✔
✔
JavaScript 2 Native
How JavaScript 2 Native works

How JavaScript 2 Native works

var Window = require('Windows.UI.Xaml.Window'),
TextBlock = require('Windows.UI.Xaml.Controls.TextBlock'),
Colors = require('Windows.UI.Colors'),
SolidColorBrush = require('Windows.UI.Xaml.Media.SolidColorBrush');
var text = new TextBlock();
text.Text = 'Hello, world!';
text.FontSize = 50;
text.Foreground = new SolidColorBrush(Colors.Red);
var window = Window.Current,
window.Content = text;
window.Activate();
Hyperloop for Windows, iOS and Android
Why JavaScript?
Relatively easy to find
Relatively affordable
JavaScript is everywhere
Why Titanium?
DE
0
200
400
600
800
2012 2013 2014
Thousands
DE
0
100
200
300
400
2012 2013 2014
Millions
IBM
KONY
SAP
PEGASYSTEMS
ADOBE
XAMARIN
TELERIK
SENCHA
SALESFORCE.COM
MICROSTRATEGY
APPLE
MICROSOFT
ORACLE
GOOGLE
DSI
MOTOROLA SOLUTIONS
EMBARCEDERO
CLICKSOFTWARE
VERIVO SOFTWARE
CHALLENGERS LEADERS
NICHE PLAYERS VISIONARIES
COMPLETENESS OF VISION
ABILITYTOEXECUTE
AS OF SEPTEMBER 2014
Alloy
var text = Ti.UI.createLabel({
text: "Hello, world!",
font: {
fontSize: 60
},
color: 'red'
});
var window = Ti.UI.createWindow();
window.add(text);
window.open();
<Alloy>
<Window>
<Label>Hello, world!</Label>
</Window>
</Alloy>
'Label': {
font: {
fontSize: 60
},
color: 'red'
}
$.index.open();
Cross-Platform Native Apps with JavaScript
Themes & Widgets
app


controllers
views
styles
assets
widgets
controllers
views
styles
assets
themes
styles
assets
<Alloy>
<Window>
<Label platform="ios">Hello, world!</Label>
</Window>
</Alloy>
'Label[formFactor=tablet]': {
color: 'red'
}
if (ENV_PRODUCTION) {
$.index.open();
}
$.index.open();
index.xml
index.tss
windows/index.js
Conditional Code
index.js
Appcelerator
Platform
Cross-Platform Native Apps with JavaScript
Cross-Platform Native Apps with JavaScript
Thank you
October 22, 2015
Fokke Zandbergen

@FokkeZB

More Related Content

PPTX
Mobile Cross Platform Automation in-practice and on a Large Scale
Sathish Gogineni
 
PPTX
TypeScript
Software Infrastructure
 
PDF
Cross platform mobile approaches
Phuong Hoang Vu
 
PDF
Cross platform development
dftaiwo
 
PPT
Cross platform mobile application development
webprogr.com
 
PPTX
Hybrid Mobile App Development - Xamarin
Deepu S Nath
 
PPTX
Automation With Frank
Ralu Mihordea
 
PPTX
Xamarin - Victim of Phonegap’s horrible reputation
Gabor Wnuk
 
Mobile Cross Platform Automation in-practice and on a Large Scale
Sathish Gogineni
 
Cross platform mobile approaches
Phuong Hoang Vu
 
Cross platform development
dftaiwo
 
Cross platform mobile application development
webprogr.com
 
Hybrid Mobile App Development - Xamarin
Deepu S Nath
 
Automation With Frank
Ralu Mihordea
 
Xamarin - Victim of Phonegap’s horrible reputation
Gabor Wnuk
 

What's hot (20)

PPTX
Cross platform approach for mobile application development : a survey
Mounaim Latif
 
PDF
Tech saloniki - Cross platform mobile development using xamarin
George Spyrou
 
PDF
Ui testing with espresso
Droidcon Spain
 
PPTX
Hybrid Mobile Development
Shai Raiten
 
PPTX
Xamarin UI Test And Xamarin Test Cloud
Emanuel Amiguinho
 
PDF
Android development at mercari 2015
Tomoaki Imai
 
PDF
Introduction To Appium With Robotframework
Syam Sasi
 
PPTX
BDD in Xamarin with Specflow & Xamarin UI Test
Emanuel Amiguinho
 
PDF
Desert code camp 2014, iOS and Android development for c# developers with Xam...
James Montemagno
 
PPTX
Developing Windows Phone 8 apps using PhoneGap
Amar Mesic
 
PDF
Full Stack Flutter Testing
Shashikant Jagtap
 
PPTX
C# everywhere: Xamarin and cross platform development
Gill Cleeren
 
PDF
Mvvm is like born fraction
Ken Haneda
 
PPTX
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
Rashmika Nawaratne
 
PPT
How To Create One App For All Platforms using PhoneGap
MobiDev
 
PPTX
DNN Connect - Mobile Development With Xamarin
Mark Allan
 
PPTX
ng-conf NativeScript and Angular 2 Workshop
tjvantoll
 
KEY
Cross Platform Development with Xamarin
bryan costanich
 
PDF
MS Experiences 17 - Xamarin: Future of Mobile Development
James Montemagno
 
PPTX
Android Apps Using C# With Visual Studio And Xamarin
Amal Dev
 
Cross platform approach for mobile application development : a survey
Mounaim Latif
 
Tech saloniki - Cross platform mobile development using xamarin
George Spyrou
 
Ui testing with espresso
Droidcon Spain
 
Hybrid Mobile Development
Shai Raiten
 
Xamarin UI Test And Xamarin Test Cloud
Emanuel Amiguinho
 
Android development at mercari 2015
Tomoaki Imai
 
Introduction To Appium With Robotframework
Syam Sasi
 
BDD in Xamarin with Specflow & Xamarin UI Test
Emanuel Amiguinho
 
Desert code camp 2014, iOS and Android development for c# developers with Xam...
James Montemagno
 
Developing Windows Phone 8 apps using PhoneGap
Amar Mesic
 
Full Stack Flutter Testing
Shashikant Jagtap
 
C# everywhere: Xamarin and cross platform development
Gill Cleeren
 
Mvvm is like born fraction
Ken Haneda
 
Hybrid Mobile Development - Overview and Intro to Cordova/Ionic Framework
Rashmika Nawaratne
 
How To Create One App For All Platforms using PhoneGap
MobiDev
 
DNN Connect - Mobile Development With Xamarin
Mark Allan
 
ng-conf NativeScript and Angular 2 Workshop
tjvantoll
 
Cross Platform Development with Xamarin
bryan costanich
 
MS Experiences 17 - Xamarin: Future of Mobile Development
James Montemagno
 
Android Apps Using C# With Visual Studio And Xamarin
Amal Dev
 
Ad

Similar to Cross-Platform Native Apps with JavaScript (20)

PDF
AppsWorld 2015 - Cross Platform Native Applications in JavaScript
Jason Kneen
 
PDF
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Todd Anglin
 
PDF
Cross-platform Native App ontwikkeling met Appcelerator
Fokke Zandbergen
 
PDF
Your choices for building a mobile app in 2016
Jad Salhani
 
PPTX
Welcome to Titanium
Axway Appcelerator
 
PDF
Titanium #MDS13
Fokke Zandbergen
 
PDF
Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015
Adam Paxton
 
PPTX
Cross Platform Native Development with Appcelerator Titanium (2015 DevNexus)
Stephen Feather
 
PPT
Titanium Overview (Mobile March 2011)
Kevin Whinnery
 
PPTX
Mobinius : Mobile Native vs Cross Platform
Damodar Puthiya
 
KEY
Make Cross Platform Apps that Suck Less
jhugman
 
PDF
Cross-platform development frameworks
Carlo Bernaschina
 
PPTX
Universal Applications with Universal JavaScript
Thomas Joseph
 
PDF
Native vs. Cross-Platform
philipthomas428223
 
PDF
Confused about Native vs Hybrid vs Cross-Platform ?
Rosalie Lauren
 
PDF
Native script vs react native for native app development in 2022
Katy Slemon
 
PPTX
Cross Platform Mobile Application Development
Senchu Thomas
 
PPTX
NCDevCon 2017 - Cross Platform Mobile Apps
John M. Wargo
 
PDF
Building Native Mobile Apps using Javascript with Titanium
Fokke Zandbergen
 
PPTX
Nativescript with angular 2
Christoffer Noring
 
AppsWorld 2015 - Cross Platform Native Applications in JavaScript
Jason Kneen
 
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Todd Anglin
 
Cross-platform Native App ontwikkeling met Appcelerator
Fokke Zandbergen
 
Your choices for building a mobile app in 2016
Jad Salhani
 
Welcome to Titanium
Axway Appcelerator
 
Titanium #MDS13
Fokke Zandbergen
 
Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015
Adam Paxton
 
Cross Platform Native Development with Appcelerator Titanium (2015 DevNexus)
Stephen Feather
 
Titanium Overview (Mobile March 2011)
Kevin Whinnery
 
Mobinius : Mobile Native vs Cross Platform
Damodar Puthiya
 
Make Cross Platform Apps that Suck Less
jhugman
 
Cross-platform development frameworks
Carlo Bernaschina
 
Universal Applications with Universal JavaScript
Thomas Joseph
 
Native vs. Cross-Platform
philipthomas428223
 
Confused about Native vs Hybrid vs Cross-Platform ?
Rosalie Lauren
 
Native script vs react native for native app development in 2022
Katy Slemon
 
Cross Platform Mobile Application Development
Senchu Thomas
 
NCDevCon 2017 - Cross Platform Mobile Apps
John M. Wargo
 
Building Native Mobile Apps using Javascript with Titanium
Fokke Zandbergen
 
Nativescript with angular 2
Christoffer Noring
 
Ad

More from Fokke Zandbergen (20)

PDF
Building the (Support) Robot at Zapier
Fokke Zandbergen
 
PDF
Lessons from helping developers integrate 1,000 APIs with Zapier
Fokke Zandbergen
 
PDF
We are all Remote Advocates
Fokke Zandbergen
 
PDF
Getting Started with Titanium & Alloy
Fokke Zandbergen
 
PDF
Titanium: Develop Native Mobile Apps with JavaScript
Fokke Zandbergen
 
PDF
Appcelerator OSS & Platform
Fokke Zandbergen
 
PDF
Platform 4.0 Meetup Launch Event
Fokke Zandbergen
 
PDF
Appcelerator Alloy MVC
Fokke Zandbergen
 
PDF
The Ultimate Titanium CLI Toolchain
Fokke Zandbergen
 
PDF
Getting ready for iOS 8 & iPhone 6
Fokke Zandbergen
 
PDF
Titanium Community Toolkit Showcase
Fokke Zandbergen
 
PDF
Titanium Alloy Tutorial
Fokke Zandbergen
 
PDF
5 app alternatieven #AIB2013
Fokke Zandbergen
 
PDF
Apps voor kerken #Kerk2013
Fokke Zandbergen
 
PDF
TiNy #TiAppCamp
Fokke Zandbergen
 
PDF
Internetmarketing
Fokke Zandbergen
 
PDF
Alloy Tips & Tricks #TiLon
Fokke Zandbergen
 
PDF
Alloy #DMC13
Fokke Zandbergen
 
Building the (Support) Robot at Zapier
Fokke Zandbergen
 
Lessons from helping developers integrate 1,000 APIs with Zapier
Fokke Zandbergen
 
We are all Remote Advocates
Fokke Zandbergen
 
Getting Started with Titanium & Alloy
Fokke Zandbergen
 
Titanium: Develop Native Mobile Apps with JavaScript
Fokke Zandbergen
 
Appcelerator OSS & Platform
Fokke Zandbergen
 
Platform 4.0 Meetup Launch Event
Fokke Zandbergen
 
Appcelerator Alloy MVC
Fokke Zandbergen
 
The Ultimate Titanium CLI Toolchain
Fokke Zandbergen
 
Getting ready for iOS 8 & iPhone 6
Fokke Zandbergen
 
Titanium Community Toolkit Showcase
Fokke Zandbergen
 
Titanium Alloy Tutorial
Fokke Zandbergen
 
5 app alternatieven #AIB2013
Fokke Zandbergen
 
Apps voor kerken #Kerk2013
Fokke Zandbergen
 
TiNy #TiAppCamp
Fokke Zandbergen
 
Internetmarketing
Fokke Zandbergen
 
Alloy Tips & Tricks #TiLon
Fokke Zandbergen
 
Alloy #DMC13
Fokke Zandbergen
 

Cross-Platform Native Apps with JavaScript