Software:Apache Cordova
Original author(s) | Joe Bowser, Michael Brooks, Rob Ellis, Dave Johnson, Anis Kadri, Brian Leroux, Jesse MacFadyen, Filip Maj, Eric Oesterle, Brock Whitten, Herman Wong, Shazron Abdullah |
---|---|
Initial release | 2009 |
Written in | C#, C++, CSS, HTML, Java, JavaScript and Objective-C |
Platform | Android iOS, macOS Windows (8.1, 10, Phone 8.1) Electron[1] |
Type | Mobile development framework |
License | Apache License 2.0[2][3] |
Website | cordova |
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][7]
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,[8] Monaca, VoltBuilder, TACO, Onsen UI, GapDebug, App Builder, Cocoon, Framework7, Quasar Framework, Evothings Studio, NSB/AppStudio, Mobiscroll, and Telerik Platform.[9] 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.[10]
History
PhoneGap was first developed at an iPhoneDevCamp event in San Francisco in August 2008.[11] 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 (the original developer) on October 3, 2011.[12] Coinciding with that, the PhoneGap code was contributed to the Apache Software Foundation to start a new project called Apache Cordova.[13] The project's original name, Apache Callback,[14] was viewed as too generic.[citation needed] Then, it also appears in Adobe Systems as Adobe PhoneGap and also as Adobe PhoneGap Build. The Phonegap Blog shows more details, why finally the name "Cordova" was chosen. It says: "While genesis stories of PhoneGap often vary with the teller, most committers can agree the project was born at Nitobi, when the office was on Cordova Street in Vancouver."
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.
Awards
PhoneGap won the People's Choice Award at O'Reilly Media's 2009 Web 2.0 Conference.
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
- Multiple phone web-based application framework
- Quasar Framework
- RhoMobile Suite
- Cocos2d
- WinJS
- NativeScript
- Xamarin
- Flutter
- Titanium SDK
- Appery.io
References
- ↑ "Cordova support by platform - Apache Cordova". https://cordova.apache.org/docs/en/latest/guide/support/index.html.
- ↑ "PhoneGap License". Phonegap.com. http://www.phonegap.com/about/license.
- ↑ "FAQ | PhoneGap Build | Edge Tools & Services | Adobe & HTML". Html.adobe.com. http://html.adobe.com/edge/phonegap-build/faq.html.
- ↑ "Adobe Announces Agreement to Acquire Nitobi, Creator of PhoneGap". Adobe.com. 2011-10-03. http://www.adobe.com/aboutadobe/pressroom/pressreleases/201110/AdobeAcquiresNitobi.html.
- ↑ Jose Fermoso (April 5, 2009). "PhoneGap Seeks to Bridge the Gap Between Mobile App Platforms". GigaOM. http://gigaom.com/2009/04/05/phonegap-seeks-to-bridge-the-gap-between-mobile-app-platforms/.
- ↑ Community, Tiki. "Apache Callback - Tiki Wiki CMS Groupware :: Development". https://dev.tiki.org/Apache+Callback.
- ↑ "Apache Callback Proposal". Wiki.phonegap.com. 2013-08-15. http://wiki.phonegap.com/w/page/46311152/apache-callback-proposal.
- ↑ "The Last Word on Cordova and PhoneGap". 6 March 2014. http://blog.ionic.io/what-is-cordova-phonegap/.
- ↑ "Apache Cordova". http://cordova.apache.org/.
- ↑ "Cordova Contributor's Who's Who". apache.org. 2015-11-02. http://wiki.apache.org/cordova/who.
- ↑ Myer, Thomas (2011-11-11) (in en). Beginning PhoneGap. John Wiley & Sons. ISBN 978-1-118-23932-2. https://books.google.com/books?id=F6BdRqHozfsC.
- ↑ Rao, Leena (2011-10-03). "Adobe Acquires Developer Of HTML5 Mobile App Framework PhoneGap Nitobi" (in en-US). https://techcrunch.com/2011/10/03/adobe-acquires-developer-of-html5-mobile-app-framework-phonegap-nitobi/.
- ↑ Finley, Klint (2012-09-24). "Adobe Launches Hosted PhoneGap Build Service For Creating Cross-Platform Mobile Apps" (in en-US). https://techcrunch.com/2012/09/24/adobe-launches-hosted-phonegap-build-service-for-creating-cross-platform-mobile-apps/.
- ↑ Wargo, John M. (2015-03-26) (in en). Apache Cordova 4 Programming. Addison-Wesley Professional. ISBN 978-0-13-404827-7. https://books.google.com/books?id=O52yBwAAQBAJ.
- ↑ "The Development of Mobile Applications using HTML5 and PhoneGap on Intel Architecture-Based Platforms". 2012-06-22. http://software.intel.com/en-us/articles/the-development-of-mobile-applications-using-html5-and-phonegap-on-intel-architecture-based. "However, HTML5 has some limitations. Most prominent is the lack of API to access device hardware and sensors such as accelerometer, compass, GPS, etc. While native applications can access device hardware, they lack the portability that Web apps provide. Thus, a solution is to code a hybrid application, which cumulatively uses the benefits of native and Web apps."
- ↑ Sapan Diwakar (2012-06-21). "Titanium vs Phonegap vs Native application development". http://www.sapandiwakar.in/api-research-study-iphone-and-android-applications/.
- ↑ "Cordova support by platform - Apache Cordova". https://cordova.apache.org/docs/en/11.x/guide/support/.
- ↑ "Building Cordova apps for Firefox OS ✩ Mozilla Hacks – the Web developer blog". 20 February 2014. https://hacks.mozilla.org/2014/02/building-cordova-apps-for-firefox-os/.
- ↑ "Using PhoneGap and the Sony Ericsson WebSDK to develop Android apps". Android and Me. http://androidandme.com/2009/12/news/using-phonegap-and-the-sony-ericsson-websdk-to-develop-android-apps/.
- ↑ "Platform Support". Adobe PhoneGap. http://docs.phonegap.com/en/edge/guide_support_index.md.html#Platform%20Support.
- ↑ "PhoneGap supported features". Phonegap.com. http://www.phonegap.com/about/feature.
Bibliography
- Pelletier, Jeff (April 25, 2013). Mobile App Manual: The Blueprint (1st ed.). Withinsight Publishing. p. 96. ISBN 978-0989072106. http://mobileappmanual.com.
- Shotts, Kerri (February 26, 2013). PhoneGap 2.x Mobile Application Development Hotshot (1st ed.). Packt Publishing. p. 388. ISBN 978-1849519403. http://www.packtpub.com/phonegap-2-mobile-application-hotshot/book.
- Gifford, Matt (October 22, 2012). PhoneGap Mobile Application Development Cookbook (1st ed.). Packt Publishing. p. 320. ISBN 978-1849518581. http://www.packtpub.com/phonegap-mobile-application-development-cookbook/book.
- M. Wargo, John (June 11, 2012). PhoneGap Essentials: Building Cross-Platform Mobile Apps (1st ed.). Addison-Wesley Professional. p. 384. ISBN 978-0321814296. http://phonegapessentials.com/. Retrieved June 29, 2012.
- Munro, Jamie (March 29, 2012). 20 Recipes for Programming PhoneGap: Cross-Platform Mobile Development for Android and iPhone (1st ed.). O'Reilly Media. p. 76. ISBN 978-1-4493-1954-0. http://shop.oreilly.com/product/0636920023708.do.
- Marinacci, Joshua (March 21, 2012). Building Mobile Applications with Java: Using the Google Web Toolkit and PhoneGap (1st ed.). O'Reilly Media. p. 86. ISBN 978-1-4493-0823-0. http://shop.oreilly.com/product/0636920021063.do.
- Lunny, Andrew (September 23, 2011). PhoneGap Beginner's Guide (1st ed.). Packt Publishing. p. 328. ISBN 978-1-84951-536-8. http://www.packtpub.com/phonegap-beginners-guide/book.
- Ghatol, Rohit (November 14, 2011). Beginning PhoneGap: Mobile Web Framework for JavaScript and HTML5 (1st ed.). Apress. p. 700. ISBN 978-1-4302-3903-1. http://www.apress.com/9781430239031.
- Myer, Thomas (December 13, 2011). Beginning PhoneGap (1st ed.). Wrox. p. 336. ISBN 978-1-118-15665-0. http://www.wiley.com/WileyCDA/WileyTitle/productCd-111815665X.html. Retrieved October 10, 2011.
External links
The Wikibook Android has a page on the topic of: PhoneGap |
Original source: https://en.wikipedia.org/wiki/Apache Cordova.
Read more |