PhoneGap VS Titanium, in few points...10


After some research, here're are conclusions for the comparison:

PhoneGap and Titanium serve the same purpose: developing cross-platform mobile application.

However, they differ in several aspects:



  • PhoneGap uses HTML5, Javascript and CSS3 for creating application UI and functionality while Titanium uses just pure Javascript for creating both UI and functionality. Some UI builders exist out there, for example:

  • PhoneGap enables using an extensive array of Javascript libraries available in the market including JQuery, JavascriptMVC, graphing and charting libraries, etc...

  • Titanium translates Javascript to native code at run-time using a translator embedded in the package for each platform while PhoneGap uses WebView component to run the application.

  • For data storage, PhoneGap supports localstorage, IndexedDB, and WebSQL. Titanium supportes SQLite embedded database.

  • It is said that Titanium provides better performance than PhoneGap which infer that Titanium translator provide better performance than the Webview. But I haven’t tested that myself. I was going to prepare a benchmarking scenario to assert this assumption.

  • Titanium provide native look and feel. While PhoneGap provides consistent UI across all platforms. There are also some UI components for PhoneGap the provide native look and feel but they have to be integrated for each platform separately.

  • Debugging PhoneGap application is way better than Titanium ones because they depend on the standard Webkit which can be debugged using web developer tools.

  • PhoneGap supports iOS, Android, Windows Mobile, Blackberry and Symbian while Titanium supports iOS and Android only.

  Special thanks to Ahmed Adel. 

The next post will be about Sencha Touch vs PhoneGap

Have a mobile idea and wanna convert to reality? We will be happy to give a free quotation.


  • Blog_user_avatar Says:

    Thanks a lot BardIT and Ahmed Adel, that was really helpful, I think I'll use titanium since I care about performance and stability, and I like to have the native UI of each phone

  • Blog_user_avatar Says:

    The core difference in my opinion is that Phonegap is focusing on WebApps while Titanium is focusing now on allowing developers to write with JS an app and then it will be compiled to different platforms. Btw, there are other tools doing the same as Titanium

    I like Phonegap for other reasons
    1. It is clear because they do this inside normal development environment which allows you to update codebase if you want and use third-parties written in Objective C if you want
    2. It has better support I think and documentation
    3. It didn't change its way as Titanium did. Titanium was not like that when It was there

    Titanium is good but it was bad in documentation and in black-boxing things and supports less platforms

  • Blog_user_avatar Says:

    Long time ago, I also looked at those
    1. rhomobile
    2. . It was good but not for free but was easier when you want to build a UI

    I don't think any of these solutions are for people who care about performance ( thus not for games ). It might work fine but it will be hard to optimize things

  • Blog_user_avatar Says:

    I like to use phoneGap because in it no need to under stand native code of any OS(iPhone/Android/Windows).
    Just concreate knowledge of HTML5,CSS and JavaScript needed for that.

  • Blog_user_avatar Says:

    I have been working with PhoneGap and one of the reason people keep syaing that PG apps are slow is because it is so easy to get an app up and running using existing web technology many developers simply use a lot of heavy frameworks such as Jquery Mobile. Many of these framework come with a lot of heavy unneeded code. If performance matter to you (and it should) then you may want to consider doing some stuff with the use of a JavaScript framework. Take page transition for example manay developers will use jqm to move between pages becuase its easy but it comes at the cost of performance, to get native performance during page transition CSS3 transitions must be used, its not as difficult as it sounds and your application will perform ALOT better. I have never used titanium so I cant say if its better or worst the Phone Gap. But There are alot of excellent performing apps packaged with phone gap

  • Blog_user_avatar Ahmed Adel Says:

    At the moment , PhoneGap is way ahead of Titanium in terms of features, activeness and community support that is driven by two industry giants: Apache and Adobe. But, of course, building PhoneGap applications that perform well needs special attention to performance and architectural details. Using heavy-weight frameworks, such as JQuery Mobile or Sencha, will make the development easier but it will affect performance greatly in contrast to using micro-libraries.

  • Blog_user_avatar Says:

    If you are looking for stability stay away from Titanium

  • Blog_user_avatar Says:

    I use titanium, develop my app as a html 5 site, but use titanium webview to run it. So I have all the advantages of Phonegap. My application runs much faster in Titanium then Phonegap this way.

  • Blog_user_avatar Ahmed Adel Says:

    @Jc: according to Titanium docs here:!/api/Titanium.UI.WebView

    Titanium.UI.WebView is a built-in WebKit container. So, technically, using this approach is just duplicating what PhoneGap does and implies the performance must be equal unless you use different html5 code for each. I am interested to to see a link to your application or site and include it as a case study.

  • Blog_user_avatar Says:

    If you want to create an app with native look and feel using your existing web development expertise Titanium is the right choice, but if you want to port your app to different platforms and devices more easily, PhoneGap is best for you.

Leave a Comment...