PhoneGap vs. Titanium
Asked Answered
A

6

56

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

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

Administrator answered 5/5, 2010 at 10:4 Comment(1)
This question appears to be a duplicate of #1483086Bev
T
17

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.

Timeconsuming answered 7/5, 2010 at 5:33 Comment(3)
What does it mean for me as a dev? Should I care?Internal
I take it you are asking about the licensing differences? As a developer you probably don't care but your lawyer might :) For example, Apache and GPL licensed software have some incompatibilities that might not be right for you: apache.org/licenses/GPL-compatibility.htmlTimeconsuming
The PhoneGap code was contributed to the Apache Software Foundation (ASF) under the name Apache CordovaNinette
B
10

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

Blaisdell answered 31/7, 2012 at 18:8 Comment(0)
N
6

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.

Nuts answered 5/5, 2010 at 10:13 Comment(2)
It's no longer (if it ever was) effected by this.Radarman
Its not affected by this because Titanium conrols hardware according to those stated rules, and the javascript runs in webkit (if its not webkit, then there indeed is a problem).Losse
L
4

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.

Locker answered 8/6, 2012 at 10:38 Comment(0)
P
1

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.

Pair answered 20/11, 2015 at 4:1 Comment(0)
C
1

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.

Capitular answered 26/4, 2019 at 12:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.