Apache Cordova (formerly PhoneGap) is a mobile application development framework created by Nitobi. Adobe Systems purchased Nitobi in 2011, rebranded it as PhoneGap, and later released an open-source version of the software called Apache Cordova.[4] Apache Cordova enables software programmers to build hybrid web applications for mobile devices using CSS3, HTML5, and JavaScript, instead of relying on platform-specific APIs like those in Android, iOS, or Windows Phone.[5] It enables the wrapping up of CSS, HTML, and JavaScript code depending on the platform of the device. It extends the features of HTML and JavaScript to work with the device. The resulting applications are hybrid, meaning that they are neither truly native mobile application nor purely Web-based. They are not native because all layout rendering is done via Web views instead of the platform's native UI framework. They are not Web apps because they are packaged as apps for distribution and have access to native device APIs. Mixing native and hybrid code snippets has been possible since version 1.9.
The software was previously called just "PhoneGap", then "Apache Callback".[6]
PhoneGap was Adobe's commercial version of Cordova along with its associated ecosystem. Many other tools and frameworks are also built on top of Cordova, including Ionic,[7] Monaca, VoltBuilder, TACO, Onsen UI, GapDebug, App Builder, Cocoon, Framework7, Quasar Framework, Evothings Studio, NSB/AppStudio, Mobiscroll, and Telerik Platform.[8] These tools use Cordova, and not PhoneGap for their core tools.
Contributors to the Apache Cordova project include Adobe, BlackBerry, Google, IBM, Intel, Microsoft, Mozilla, and others.[9]
History
PhoneGap was first developed by Nitobi Software at an iPhoneDevCamp event in San Francisco in August 2008.[10] Apple Inc. has confirmed that the framework has its approval, even with the change to clause 3.3.1 of the Apple iPhone SDK developer license agreement 4.0 adopted in 2010. The PhoneGap framework is used by several mobile application platforms such as Monaca, appMobi, Convertigo, ViziApps, and Worklight as the backbone of their mobile client development engine.
Adobe acquired Nitobi Software on October 3, 2011.[11] The PhoneGap code was subsequently contributed to the Apache Software Foundation to start a new project called Apache Cordova.[12] The project's original name when submitted to the Apache Software Foundation, Callback,[13] was changed to Cordova for ease in searching the web.[14] It also appears in Adobe Systems as Adobe PhoneGap and also as Adobe PhoneGap Build.
Early versions of PhoneGap required an Apple computer to create iOS apps and a Windows computer to create Windows Mobile apps. After September 2012, Adobe's PhoneGap Build service allows programmers to upload CSS, HTML, and JavaScript source code to a "cloud compiler" that generates apps for every supported platform. This service was discontinued in 2020.
Design and rationale
The core of an Apache Cordova application uses CSS3 and HTML5 for rendering and JavaScript for logic. HTML5 provides access to underlying hardware such as the accelerometer, camera, and GPS. However, browsers' support for HTML5-based device access is not consistent across mobile browsers, particularly older versions of Android. To overcome these limitations, Apache Cordova embeds the HTML5 code inside a native WebView on the device, using a foreign function interface to access the native resources of it.[15]
Apache Cordova can be extended with native plug-ins, allowing developers to add more functionalities that can be called from JavaScript, making it communicate directly between the native layer and the HTML5 page. These plugins allow access to the device's accelerometer, camera, compass, file system, microphone, and more.
However, the use of Web-based technologies leads some Apache Cordova applications to run slower than native applications with similar functionality.[16]
Supported platforms
As of version 11, Apache Cordova currently supports development for the operating systems Apple iOS, Google Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron (software framework) (which in turn runs on Windows, Linux and macOS).[17] Earlier version of Apache Cordova used to support Bada, BlackBerry, Firefox OS,[18][19] LG webOS, Microsoft Windows Phone (7 and 8), macOS, Nokia Symbian OS, Tizen (SDK 2.x), and Ubuntu Touch.[20][21]
See also
- List of rich web application frameworks
- Quasar Framework
- RhoMobile Suite
- Cocos2d
- WinJS
- NativeScript
- Xamarin
- Flutter
- Titanium SDK
- Appery.io
Bibliography
External links
References
- Cordova support by platform - Apache Cordova cordova.apache.org^
- PhoneGap License Phonegap.com, retrieved 2013-10-09^
- FAQ | PhoneGap Build | Edge Tools & Services | Adobe & HTML Html.adobe.com, retrieved 2013-10-09^
- Adobe Announces Agreement to Acquire Nitobi, Creator of PhoneGap Adobe.com, 2011-10-03, retrieved 2012-04-07^
- Jose Fermoso. PhoneGap Seeks to Bridge the Gap Between Mobile App Platforms GigaOM, April 5, 2009, retrieved 2012-04-07^
- Apache Callback Proposal Wiki.phonegap.com, 2013-08-15, retrieved 2013-10-09^
- The Last Word on Cordova and PhoneGap The Official Ionic Blog, 6 March 2014^
- Apache Cordova Apache Cordova^
- Cordova Contributor's Who's Who apache.org, 2015-11-02, retrieved 2015-11-02^
- Thomas Myer. Beginning PhoneGap John Wiley & Sons, 2011-11-11^
- Leena Rao. Adobe Acquires Developer Of HTML5 Mobile App Framework PhoneGap Nitobi TechCrunch, 2011-10-03, retrieved 2023-07-20^
- Klint Finley. Adobe Launches Hosted PhoneGap Build Service For Creating Cross-Platform Mobile Apps TechCrunch, 2012-09-24, retrieved 2023-07-20^
- John M. Wargo. Apache Cordova 4 Programming Addison-Wesley Professional, 2015-03-26^
- Camden, Raymond K.. Apache Cordova in Action. N.p.: Manning, 2015. Chapter 1.1 The History of PhoneGap (and Cordova)^
- The Development of Mobile Applications using HTML5 and PhoneGap on Intel Architecture-Based Platforms 2012-06-22, retrieved 2013-02-17^
- Sapan Diwakar. Titanium vs Phonegap vs Native application development 2012-06-21, retrieved 2013-02-17^
- Cordova support by platform - Apache Cordova cordova.apache.org, retrieved 2023-07-28^
- Building Cordova apps for Firefox OS ✩ Mozilla Hacks – the Web developer blog 20 February 2014, retrieved 26 February 2014^
- Using PhoneGap and the Sony Ericsson WebSDK to develop Android apps Android and Me, retrieved 2012-04-07^
- Platform Support Adobe PhoneGap, retrieved 2016-02-23^
- PhoneGap supported features Phonegap.com, retrieved 2013-10-09^