Posted by Ajit Jati | Last Updated: 29-Apr-16
Should you use PhoneGap or Appcelerator Titanium for developing a mobile application ?
Well, its has been an interesting and lengthy discussion among mobile app developers. "Code once and run everywhere,” that’s what most developers want .PhoneGap and Titanium serve almost the equal purpose for developers i.e developing cross-platform mobile applications. However, they differ in several aspects.So what a mobile developer should choose if he is looking for cross platform mobile apps development?Which is better and why?
I have been working with these two frameworks.so lets have a short comparison between these two.
Lets have a look to both frameworks directory structure which will clear most of the things.
Titanium’s IDE Phonegap with Eclipse IDE
Lets have an one-to-one comparison between both frameworks based on some specific points.
Phonegap Titanium Extra Notes
Support for different Platforms
Android,BlackBerry WebWorks (OS 5.0 and up),iOS,Windows Phone 7 and 8,Bada 1.2 & 2.x,webOS,Tizen.
iOS, Android,Mobile Web (beta),Blackberry (beta),Tizen.
Phonegap supports several more platforms than Titanium.
Phonegap is limited to the device’s WebView.
Ruby, Java SDK, Platform SDKs, PhoneGap
Titanium, Platform SDKs, Java SDK
Not as good as Titanium since everything is rendered within a ‘Web View’ of a browser.
Not as good as a native app, but better than Phonegap since native code is produced in the backend.
One advantage of Titanium over Phonegap is that Titanium provides access to device native UI functionalities ,thus provides better performance.
Phonegap is web app that runs on a native web browser view.
App Development cost & effort
Using PhoneGap, any developer can quickly develop a cool application using HTML, CSS and JS.Additionally you can use any back end technology such as PHP, .NET or Ruby. i’ve used PhoneGap with jQuery Mobile to produce a great looking business application.
Most developers may not agree with this but personally, i found phonegap as time and effort saving for developing an application as compared to Titanium.
Ease of Debugging
Easy to debug Application.
Not so better debugging like Phonegap.
Debugging PhoneGap application is way better than Titanium because they depend on the standard Webkit which can be debugged using web developer tools.
PhoneGap supports local storage, IndexedDB, and WebSQL etc.
Titanium supports only SQLite embedded database.
So pick the one that suits your requirement.Happy Developing.