phonegap day 2016 usa

35

Upload: ryan-j-salva

Post on 20-Feb-2017

223 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: PhoneGap Day 2016 USA
Page 2: PhoneGap Day 2016 USA

When last we met our hero…

Page 3: PhoneGap Day 2016 USA
Page 4: PhoneGap Day 2016 USA

browsersemulatorsdevices

Page 5: PhoneGap Day 2016 USA

ALL THE PLATFORMS

Page 6: PhoneGap Day 2016 USA

We’ve been busy.

Page 7: PhoneGap Day 2016 USA
Page 8: PhoneGap Day 2016 USA
Page 9: PhoneGap Day 2016 USA
Page 10: PhoneGap Day 2016 USA
Page 11: PhoneGap Day 2016 USA

$ cordova platform save$ cordova plugin save

Page 12: PhoneGap Day 2016 USA

Continuous IntegrationCatching plugin bugs in every commit on all the platforms

like a freakin’ venus fly trap.

Page 13: PhoneGap Day 2016 USA

100s of plugin bugs

Page 14: PhoneGap Day 2016 USA

Cordova 6.0

Page 15: PhoneGap Day 2016 USA

[applause]

Page 16: PhoneGap Day 2016 USA

This affects all

of us.

Adobe PhoneGapApache CordovaCocoonFramework 7Ionic FrameworkMonacaIBM MobileFirstIntel XDKMeteorSAPTelerikVisual Studio

Page 17: PhoneGap Day 2016 USA

Nearly 200% growth in three years

PhoneGap/CordovaXamarin

UnityQt

Adobe AirAppcelerator

CoronaMarmelade

Codename OneLive Code

0% 10% 20% 30% 40% 50% 60% 70%

2015 2012

Vision Mobile Analysis of Cross-Platform Development, July 2015

Page 18: PhoneGap Day 2016 USA

Where do we go next?

Page 19: PhoneGap Day 2016 USA

1. Better community == better platform2. Tools made for mobile development3. Focus on UX

Page 20: PhoneGap Day 2016 USA

Debug your code on any browser, emulator or device.Increase speed & accuracy with Intellisense for plugins.

Invoke Cordova commands from the editor.

Visual Studio Code

Page 21: PhoneGap Day 2016 USA

1. Better community == better platform2. Tools made for mobile development3. Focus on UX

Page 22: PhoneGap Day 2016 USA

ApacheCordovaNativeExperiment

Page 23: PhoneGap Day 2016 USA

ApacheCordovaNativeExperiment

Page 24: PhoneGap Day 2016 USA

ApacheCordovaExperiment

Page 25: PhoneGap Day 2016 USA

… Sometimes you may just need native UI components

Page 26: PhoneGap Day 2016 USA

Not for the entire app,Just parts of it

Page 27: PhoneGap Day 2016 USA

for a native side-menu

Page 28: PhoneGap Day 2016 USA

for overlays

Page 29: PhoneGap Day 2016 USA

for page transitions

Page 30: PhoneGap Day 2016 USA

reuse native components

Page 31: PhoneGap Day 2016 USA

standardized native screens

Page 32: PhoneGap Day 2016 USA

An escape hatch to the native world• Native UI• Native APIs• Still Cordova. Still a webview.• UI defined in XML, AndroidXML or JS• Available as a Cordova Plugin• Experimental. Send feedback.

Page 33: PhoneGap Day 2016 USA

Docked Overlays Separate, full screen

Page Transitions

Native UI

Page 34: PhoneGap Day 2016 USA

JavaScript

XML

Android XML

Interface Builder(NIB/XIB)

var button = new ace.Button();

<Button />

var button;if (ace.platform == "iOS") button = new ace.NativeObject("UIButton");else if (ace.platform == "Android") button = new ace.NativeObject("android.widget.Button");

<if:iOS> <ios:UIButton /></if:iOS><if:Android> <android:Button /></if:Android>

<Button android:layout_width="wrap_content" android:layout_height="wrap_content" />

Cross-Platform(write once)

Platform-Specific(write twice)

Page 35: PhoneGap Day 2016 USA

http://taco.toolsMade with ♥ in Redmond

@ryanjsalva #aceplugin♠