Titanium or Phonegap, cross platform development

Appcelerator Vs. PhoneGap – Which One Is Better For Native Mobile Applications?

Image credit: www.9elements.com

Although not a David vs. Goliath type of battle, this is a question that our sales team often gets from our respected clients whenever we negotiate best practices for upcoming mobile application development project. I am sure most of you would be happy to see this question resolved permanently here on Mobiloitte’s corporate blog.

PhoneGap vs. Titanium– Which technology is better for native mobile application development?

I must mention that this is not a question of definite selection of one over the other and it depends on the client’s requirement, the functionality and the objective behind the application

PhoneGap is not made for developing native applications. Instead, PhoneGap gives you a better options for sharing applications with your user. It is the way to alter your application for mobile phones and serve it to the Apple App Store and Google Play instead forcing the user to make a bookmark or a shortcut on his home screen. PhoneGap allows you to use some of the phones features through APIs to boost your application.

Titanium is the choice to build native applications without skills in programming language of the mobile phone. For example Titanium takes your Javascript code, analyzes and preprocesses it and then pre-compiles it into a set of symbols that are resolved based on your application’s uses of Titanium APIs. So, your Javascript is compiled one-to-one into the illustrative symbols of the native code. UI is built by using the phones native resources.

What would be the conclusion?

Titanium produces better native applications because (of the mapping) they are native. PhoneGap Applications are simply Web based applications.

What do you think should be the choice of a mobile app developer facing this question for first time? Share in comments.