How do Adobe PhoneGap and Apache Cordova differ?

…衆ロ難τιáo~ 提交于 2019-12-17 22:38:53

问题


So far, I haven't been able to find a "plain English" explanation of the difference between Apache Cordova and PhoneGap, and when to use either of them.

I'm looking to build an app with one of them, and I have the following constraints:

  • It needs to be open source (preferably GPL, APL2, etc.)
  • It needs to have a good dev community backing it (and preferably good docs)
  • It needs to take the same javaScript and use it produce native binaries for Android, iOS, Windows Phone and Blackberry (write once, run anywhere)

If both these libraries/SDKs can accomplish these requirements, then how do I determine which project to go with? Is this a "Jenkins/Hudson" thing or are they really two separate projects? Thanks in advance!


回答1:


Currently, the only difference is in the name of the download package and will remain so for some time.

PhoneGap is a distribution of Apache Cordova. You can think of Apache Cordova as the engine that powers PhoneGap, similar to how WebKit is the engine that powers Chrome or Safari.

Source: http://www.meetup.com/The-London-Dreamweaver-Meetup-Group/pages/Difference_between_Apachie_Cordova_and_Phone_Gap/

Moreover, PhoneGap meets all of the requirements you've specified.




回答2:


PhoneGap was originally an open source project by Nitobi for packaging HTML5 code within native 'wrappers' for the creation of mobile applications. Adobe acquired Nitobi and the PhoneGap technology. Adobe proceeded to contribute the PhoneGap code to the Apache Software Foundation in order to ensure that it remains open source. At this point the name was changed to Cordova, with Adobe maintaining the PhoneGap name and brand.

Adobe plans to add value to Cordova under the PhoneGap name, such as adding tool support and services such as PhoneGap Build.

Currently many people still use the PhoneGap name to describe the open source framework (possibly because it is a better name!), but over time, this will probably change as Adobe builds on the PhoneGap brand and product range.

From a developer perspective, this is a pretty good situation, the framework remains open source, but if you want added value, you pay Adobe.




回答3:


History

  • Around 2009 - Nitobi creates PhoneGap framework.
  • September 2011 - Nitobi donates PhoneGap code to Apache Software Foundation.
  • October 2011 - Nitobi announces that it has been acquired by Adobe. Adobe supports open sourcing PhoneGap’s code. Renaming the project has been suggested because of legal reasons.
  • February 2012 - The project maintained by Apache is renamed “Cordova”, after Cordova Street in Vancouver where Nitobi had its office.

Differences

Apache Cordova is the core open source project where development and contributions happen.

Adobe PhoneGap is a distribution of Apache Cordova that additionally provides integration with Adobe’s utilities and services, e.g. PhoneGap Build.

Both Cordova and PhoneGap are extremely similar and their names are often used interchangeably. Apache Cordova receives updates slightly quicker, has a slightly simpler interface and lacks out-of-the-box integration with Adobe services.

Which one to use?

Are you going to use Adobe’s services? Pick Adobe’s PhoneGap. If not, Apache Cordova could be a better fit for you.



来源:https://stackoverflow.com/questions/12318424/how-do-adobe-phonegap-and-apache-cordova-differ

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!