phonegap and xamarin - what an ios dev learned about hybrid solutions

15
PHONEGAP AND XAMARIN What an iOS Dev Learned About Hybrid Solutions June 6, 2013

Upload: tony-lenzi

Post on 05-Dec-2014

652 views

Category:

Technology


1 download

DESCRIPTION

Learn about the pros and cons of hybrid solutions for mobile apps from an experienced iOS app developer. This talk discusses my experiences leading the development of both a PhoneGap (Cordova) and Xamarin app for the iPad.

TRANSCRIPT

Page 1: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

PHONEGAP AND XAMARINWhat an iOS Dev Learned About Hybrid Solutions

!June 6, 2013

Page 2: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

ABOUT ME!

Tony Lenzi !

[email protected] !

@tonylenzi !

Technical Lead and iOS Developer

Page 3: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

WHY HYBRID SOLUTIONS?

• RE-USE

• resources

• multi-platforms

• CHEAPER

Page 4: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

Sounds a bit too good to be true, right?

Page 5: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

PHONEGAP (CORDOVA)

Page 6: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

CODE BREAKDOWN

JavaScript CSSHTML OBJ-C

• Lots of JavaScript

• iPad only - HTML may go up with reuse

• Objective-C used in framework and plugins

Page 7: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

LESSONS LEARNED

• Uncanny Valley

• Design and build an App(not a web app/site)

• UIWebView is not Safari

• Scrolling

• Plugins

• More QA time needed

Page 8: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

XAMARINframework formerly known as MonoTouch

Page 9: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

HOW IT WORKS

• Write C# in Xamarin Studio or Visual Studio

• Views (xibs) done in Interface Builder

• C# is compiled to ARM assembly language to a library

• Black box to implementor

• MonoTouch libraries map 1:1 to iOS libs

Page 10: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

LESSONS LEARNED

• Pure app performance

• Extended QA

• Reuse of business logic, models

• $299 to $1899

Page 11: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

SO ABOUT THOSE COST SAVINGS . . .

• First app - little savings to more expensive

• Design influences cost - remember uncanny valley

• Lots of QA with limited tooling

• How similar are apps on other platforms going to look?

• May save on maintenance if tackling more than one platform

Page 12: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions
Page 13: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

CULTURE AND INVESTMENT

• Attitude that Obj-C and native Android are a temporary problem

• iOS and Android are 2 different and important platforms

• Still need to understand designing for and USING those devices

• Removes devs from platform optimization concerns

Page 14: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

IT’S NOT ABOUT YOU... IT’S ABOUT YOUR USERS

• User’s have to trust your app

• They know when something doesn’t feel quite right

• Good apps are hard no matter how you build them

Page 15: PhoneGap and Xamarin - What an iOS Dev Learned About Hybrid Solutions

QUESTIONS?