PhoneGap vs. Titanium

IphoneCordovaTitanium

Iphone Problem Overview


PhoneGap and Titanium allow you build native iPhone Apps based on HTML and JavaScript.

Has anyone gained experience with both? What are the differences?

Iphone Solutions


Solution 1 - Iphone

There is a pretty lengthy discussion about PhoneGap VS Titanium (and Corona) on StackOverflow already that might be useful.

One of the big differences is that PhoneGap is MIT licensed and Titanium is (just recently changed) Apache licensed.

Solution 2 - Iphone

This article is a good summary of the practical and philosophical differences. Note its from an Appcelerator evangelist, but I still think its pretty impartial. In fact I think he shares Titanium more warts that I probably would :).

http://developer.appcelerator.com/blog/2012/05/comparing-titanium-and-phonegap.html

Solution 3 - Iphone

It's probably worth following the current Apple/Adobe spat, in which Mr Jobs has put the future of products that aren't written in language XYZ in the balance. OS 4 SDK states:

>Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).

I believe Titanium is affected by this.

Solution 4 - Iphone

Well..! this is not certain that which is better to implement the project. Both technologies are new and having their pros & cons as well.

Titanium says to keep native environment with the help of java Script Based framework, on the other hand the phoneGap provides everything inside the WebView, you only need to put your web based project having index.html inside the WWW folder, found in the project directory structure of the Project.

So if you comfortable with Web Works, phoneGap is suitable in this case otherWise you should go with Titanium.Its easier to use and fully facilitated.

Solution 5 - Iphone

Unfortunately Titanium is not opensource anymore. You can develop apps freely but You have to buy Indie account to publish an app to appstore which cost some money.

PhoneGap is a free and open source framework that allows you to create mobile apps using web APIs for any platforms (iOS, android,windows, Blackberry etc) you think of.

Solution 6 - Iphone

Titanium: Is a cross platform, where in the code you write in JS and Titanium API's will be converted to native code and look and feel of the app will be same as native apps.

PhoneGap: Is a hybrid platform, where in you write the code using web technologies like JS, HTML and CSS. Which uses web views present in the native devices to render the UI. Look and feel is not same as native apps.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionpowtacView Question on Stackoverflow
Solution 1 - IphonedavejohnsonView Answer on Stackoverflow
Solution 2 - IphonestudgeekView Answer on Stackoverflow
Solution 3 - IphonespenderView Answer on Stackoverflow
Solution 4 - IphoneSuresh SharmaView Answer on Stackoverflow
Solution 5 - IphoneZumry MohamedView Answer on Stackoverflow
Solution 6 - IphoneBasavaraj BaligarView Answer on Stackoverflow