PhoneGap vs. Titanium

2019-01-30 10:13发布

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

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

5条回答
2楼-- · 2019-01-30 10:49

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.

查看更多
干净又极端
3楼-- · 2019-01-30 10:50

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.

查看更多
爷、活的狠高调
4楼-- · 2019-01-30 10:51

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.

查看更多
爷、活的狠高调
5楼-- · 2019-01-30 10:54

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

查看更多
叼着烟拽天下
6楼-- · 2019-01-30 11:01

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.

查看更多
登录 后发表回答