Developing apps with Apache Cordova
Scarcity
The Cordova support ends here, however. In particular, the framework was not designed to offer any user-interface components or widgets that would allow you to click together a user interface quickly. Only simple dialog windows for warnings, error messages, and simple queries are available (via the cordova-plugin-dialogs
plugin).
For further UI elements (e.g., switching pages), you must either implement them yourself or rely on JavaScript libraries such as the popular jQuery UI [10]. However, a disadvantageous side effect is that the application will not be able to assume the appearance of the target platform.
Another disadvantage for pure Linux users: Because Cordova requires the SDKs for each respective target platform, iOS apps can only be created and tested on OS X. Therefore, if you want to develop for iPhones, you need an Apple computer. The same applies to Windows Phone and a Windows computer.
Furthermore, app developers must set up and maintain the SDKs by hand, as well as manually certifying apps such as those for the Play Store. The Cordova documentation consists only of a short tutorial, though it is still a very detailed reference [1].
Conclusion
Despite these restrictions, HTML, CSS, and JavaScript experts can get to their first app fairly quickly using Cordova. You can address the smartphone hardware in the familiar JavaScript and do not need to worry about platform differences: The same code runs on both iOS and Android.
Cordova's command-line tools abstract the individual platform SDKs from the properties, although app developers do require the relevant hardware for their installation. You must also work on the command line, implement the user interface completely independently, and retrofit numerous functions via the appropriate plugins.
If you want to create a finished app at greater speed or with just a few mouse clicks, then, you will be better served by another tool.
Infos
- Cordova: https://cordova.apache.org
- Sworkit: http://sworkit.com
- Clever Baby: http://www.mycleverbaby.com
- Ionic: http://ionicframework.com
- Adobe PhoneGap: http://phonegap.com
- Android Studio: https://developer.android.com/develop/index.html
- Node.js: https://nodejs.org
- Cordova documentation: https://cordova.apache.org/docs/en/latest/
- Apache's plugin directory: https://cordova.apache.org/plugins/
- jQuery UI: https://jqueryui.com
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.