Need advice about which tool to choose?Ask the StackShare community!
Apache Cordova vs Onsen UI: What are the differences?
## Introduction
Apache Cordova and Onsen UI are popular tools in the world of hybrid mobile app development. While both serve the purpose of creating cross-platform mobile applications, there are key differences between them that developers need to consider.
1. **Supported Platforms**: Apache Cordova is a mobile application development framework that allows developers to build apps for various platforms like iOS, Android, and Windows using web technologies such as HTML, CSS, and JavaScript. On the other hand, Onsen UI is a front-end UI framework specifically designed for developing mobile apps with HTML5 and JavaScript, focusing on providing a rich user interface and user experience across different platforms.
2. **Core Functionality**: Apache Cordova primarily focuses on providing access to device-specific features and native APIs through plugins, allowing developers to easily access and utilize device hardware functionalities. In contrast, Onsen UI is more focused on providing a comprehensive set of UI components and patterns for designing visually appealing and interactive user interfaces, regardless of the underlying platform.
3. **Integration with Frameworks**: Apache Cordova can be integrated with various front-end frameworks like Angular, React, and Vue.js to streamline the development process and enhance the overall user experience. Onsen UI, on the other hand, comes with its own set of built-in components and themes that can be easily customized and extended to create visually stunning mobile applications without the need for additional frameworks.
4. **Community Support**: Apache Cordova has a large and active community of developers, contributors, and plugin creators, which leads to frequent updates, bug fixes, and new features being added to the platform. While Onsen UI also has a supportive community, it may not be as extensive as Cordova's community, potentially affecting the availability of resources, tutorials, and support.
5. **Performance Optimization**: Apache Cordova allows developers to optimize the performance of their apps by using plugins and tools to reduce load times, improve caching mechanisms, and enhance overall responsiveness. Onsen UI, on the other hand, focuses more on providing pre-styled UI components that may require additional optimization techniques to achieve optimal performance on different platforms.
6. **Ease of Learning Curve**: Apache Cordova is relatively easier for web developers to learn and adapt to, especially if they are already familiar with web technologies like HTML, CSS, and JavaScript. Onsen UI, while user-friendly in terms of UI design, may have a steeper learning curve for developers who are not well-versed in front-end development, as it requires a good understanding of the framework's components and styling conventions.
In Summary, Apache Cordova and Onsen UI differ in terms of supported platforms, core functionality, integration with frameworks, community support, performance optimization, and ease of learning curve for developers, making each tool suitable for specific mobile app development requirements.
Heya, I'm very new on here! And I hope I can get advice on this matter :
We are working on a new app. The web version is on Sails.js (V1)/node.js/vue.js. Started with the Web App default settings (including login and payments, which we are using use). We started with a web version to give access to the customer to start creating the data while building the mobile version. (iOS and Android)
I heard of Apache Cordova, that using the same JavaScript/css could be used to not re-code the front-end of the app for iPhones and Androids. I've been told that it is end-of-life now (? - I couldn't find this info myself).
I saw that Vue Native might be an alternative and would only need a few adjustments from our web version as we are using Vue.js for the frontend.
I know next to nothing on this, so I would really appreciate it if you guys could point me to possible solutions you've used and why instead of searching through all the existing solutions. (I'm very open to know if there are alternatives to those two too !!)
We will need to be using the GPS functions of the mobiles, which is a big part of the app.
Thank you!
i don't have any experience with the vue native what so ever but i think Quasar and Ionic are the best options for an HTML/CSS/JS based mobile app ionic has full support of vue and quasar is built on vue you may have to change some configurations in your project files
I've done some Hybrid Mobile apps with both technologies Apache Cordova
and React Native
and described my experience in my blog.
In a few words, I would suggest to use each technology in accordance what what is your current code base and what do you want to achieve.
React Native is a great option if you need that extra edge in performance with multi-threading and native UI rendering. Or you already have a web app based on React which you want to port to mobile.
On the other hand, if you have an existing web application code and you want to reuse some or all, including the ability to use web third-party libraries, then Cordova is the best option.
Proguard
?
ProGuard is the most popular optimizer for Java bytecode. It makes your Java and Android applications up to 90% smaller and up to 20% faster. ProGuard also provides minimal protection against reverse engineering by obfuscating the names of classes, fields and methods.
How to use it inCordova
app?
I didn't find any plugins for it. So I've implemented it by myself and shared it on GitHub.
Feel free to use!
Pros of Apache Cordova
- Lots of plugins48
- JavaScript35
- Great community26
- Easy Development25
- Easy to learn18
- Cross platform15
- Open Source7
- Easy, fast, not buggy in my experience with my code6
- Lots of descendants; PhoneGap, Ionic, Intel XDA etc6
- Can use CSS34
- Rich HTML 54
- Easy debugging4
- HTML, CSS and JS3
- Fast and hot reload3
- Rich css ui3
- Use what you code in your browser3
- Need a light system2
- Native Web Technologies2
- Without extra tooling needed2
- One code base everywhere2
Pros of Onsen UI
- Hybrid mobile3
- Works with any JavaScript framework3
- Allows for rapid prototyping3
- Free2
Sign up to add or upvote prosMake informed product decisions
Cons of Apache Cordova
- No native performance2
- Hard to install1
- Hard to install0