Top Banner
www.contemi.com.vn Contemi Vietnam 31 May 2012 Mobile development (MonoTouch vs PhoneGap) Michael Nguyen – Phi Huynh .NET team
19

Mobile development (mono touch vs phonegap)

Nov 10, 2014

Download

Documents

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Contemi Vietnam

31 May 2012

Mobile development(MonoTouch vs PhoneGap)

Michael Nguyen – Phi Huynh.NET team

Page 2: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Agenda

• Mobile development overview• Native apps• Web apps• Hybrid apps

• MonoTouch vs PhoneGap• Conclusion

• Native apps vs Web apps vs Hybrid apps• MonoTouch or PhoneGap

• Demo• References

Page 3: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

MOBILE DEVELOPMENT OVERVIEW

Page 4: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Native apps

• Are written with a specific programming language (Objective C, Java …) for a specific mobile platform (iOS, Android ...)

• Executed directly by the operating system

• Full native access to device capabilities

• Distributed via app store (AppStore, Android Market ...). Users can download and install.

Page 5: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Native apps development

• Similar approach, but different source code, different build and expertise results in expensive development and maintenance

Page 6: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Web apps

• Entirely written using web technologies: HTML, CSS and JavaScript

• Code is executed by the browser, not by the OS

• Limited access to device capabilities

• Maintain and fix bugs in real time. No cost for app store

Page 7: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Hybrid apps

• Web apps with native wrapper. Hybrid apps run in webview not in native browser.

• Access to device’s capabilities happens through a device-independent JavaScript API which talks to the OS proprietary API’s also via JavaScript.

• Can access certain devices capabilities

• With HTML5, Javascript, CSS3 ... it is easier to develop and maintain your app in multiple platforms

Page 8: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

MONOTOUCH VS PHONEGAP

Page 9: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

MonoTouch

• Was originally created by Novell and released in 2009• Moved to new company named Xamarin in 2011

• A wrapper of Objective C to be able to develop in .NET• Fully capabilities to access all of features as Objective C

apps

• Free trial (with a iPhone/iPad simulator)• From 399$ - 2,499$ (for personal user or enterprise)

Page 10: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

PhoneGap

• Created by Nitobi in early 2008• Acquired by Adobe in October 2011

• Hybrid model• HTML5, CSS3 and JavaScript

• Open source (free) (Apache License, Version 2.0)

Page 11: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

PhoneGap architect

Page 12: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

PhoneGap features

Page 13: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

CONCLUSION

Page 14: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

Native vs Web vs Hybrid• N

ati

ve • Existing in-

house native skills

• Targeting a single mobile OS

• Dominant native functionality

• Rich UI requirements

• Web • Direct

distribution to the hands of users

• Pilot application • Hyb

rid • Breaking the

development tradeoff

• Existing in-house web development skills

Page 15: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

MonoTouch or PhoneGap

• Native model• .NET skill• Good for rich UI requirements

(gaming) app-based

• Pricey• Limited platforms supported

(iOS, Android, Windows Phone)

• Hybrid model• HTML5, CSS3 and Javascript

skills• Good for content delivery,

social network, web ... app-based

• Free• Lots of platforms supported

(iOS, Android, Windows Phone, BlackBerry, WebOS, Symbian …)

• NOT recommended for complex games, intensive graphics

Page 16: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

DEMO

Page 17: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

REFERENCES

Page 19: Mobile development (mono touch vs phonegap)

www.contemi.com.vn

THANK YOU