Need advice about which tool to choose?Ask the StackShare community!
Apache Cordova vs JUCE: What are the differences?
What is Apache Cordova? Platform for building native mobile applications using HTML, CSS and JavaScript. Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.
What is JUCE? Deliver music applications on all main platforms, with high performances and professional tools. It is a C++ framework for low-latency applications, with cross-platform GUI libraries to get your apps running on Mac OS X, Windows, Linux, iOS and Android.
Apache Cordova belongs to "Cross-Platform Mobile Development" category of the tech stack, while JUCE can be primarily classified under "Cross-Platform Desktop Development".
Some of the features offered by Apache Cordova are:
- Cross-platform (CLI) workflow
- Platform-centered workflow
- Hundreds of plugins
On the other hand, JUCE provides the following key features:
- For desktop and mobile
- Building powerful and complex applications
- User Interface & Graphics
Apache Cordova and JUCE are both open source tools. It seems that JUCE with 1.66K GitHub stars and 682 forks on GitHub has more adoption than Apache Cordova with 779 GitHub stars and 331 GitHub forks.
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 JUCE
- Cross platform4
- Fast2
- Pure C++ code1
- Open Source1
- Performance1
- Nice GUI1
Sign up to add or upvote prosMake informed product decisions
Cons of Apache Cordova
- No native performance2
- Hard to install1
- Hard to install0
Cons of JUCE
- Free Edition has Made with Juce2