Softwr

Mobile Development · head to head

AdonisJS vs Apache Cordova

AdonisJS logo

AdonisJS

Mobile Development

Batteries-included TypeScript framework for Node.js with a Laravel-like structure

From
Free
Free plan
Yes
Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes

The short version

  • AdonisJS is an MIT-licensed TypeScript-first Node.
  • Both are free.
  • Only AdonisJS lists routing and controllers; only Apache Cordova lists targets iOS, Android and Electron.
  • Where AdonisJS falls short: opinionated: one supported way for most tasks.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.

How do AdonisJS and Apache Cordova differ?

AdonisJS and Apache Cordova differ on platforms. Only the attributes on which AdonisJS and Apache Cordova actually diverge.

Attributes where AdonisJS and Apache Cordova differ
AttributeAdonisJSApache Cordova
PlatformsWebiOS, Android, Windows, macOS, Linux

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Not yet recorded: category for AdonisJS, founded for AdonisJS.

Which features does each one have?

They share no listed features; 8 appear only for AdonisJS and 6 only for Apache Cordova. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AdonisJS

  • Routing and controllers
  • Lucid style ORM and models
  • Validators
  • Authentication
  • Mail and queues
  • Cache and rate limiter
  • File uploads
  • Built-in testing

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

What is each one used for?

AdonisJS is most often brought in for full-stack TypeScript web apps; Apache Cordova for wrapping an existing web app as a mobile app. The jobs each tool is most often brought in to do.

AdonisJS

  • Full-stack TypeScript web appsnot Apache Cordova
  • Teams used to Laravel conventionsnot Apache Cordova
  • APIs with built-in auth and validationnot Apache Cordova
  • Apps needing queues and mail out of the boxnot Apache Cordova

Apache Cordova

  • Wrapping an existing web app as a mobile appnot AdonisJS
  • Single codebase for iOS and Androidnot AdonisJS
  • Prototyping mobile apps with web skillsnot AdonisJS
  • Accessing device features from JavaScript through pluginsnot AdonisJS

Where do AdonisJS and Apache Cordova fall short?

AdonisJS's most cited limit: opinionated: one supported way for most tasks. Apache Cordova's: apps render in a web view, so UI is not native by default. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AdonisJS

  • Opinionated: one supported way for most tasks
  • Funded by sponsors and community rather than a company
  • Node.js only, with no multi-runtime story
  • Smaller community than Express or NestJS

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

How much do AdonisJS and Apache Cordova cost?

AdonisJS is free to use; Apache Cordova is free to use. Plan by plan below, from each vendor's own pricing page.

AdonisJS

Free

No published plan breakdown. See the AdonisJS review.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Which should you pick?

Choose AdonisJS if

  • You need routing and controllers.
  • You want to start without paying.
  • You also want lucid style orm and models.

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Questions people ask

Is AdonisJS or Apache Cordova better?
It depends on the job. AdonisJS fits full-stack TypeScript web apps; Apache Cordova fits wrapping an existing web app as a mobile app. AdonisJS starts at Free and Apache Cordova at Free.
Which is cheaper, AdonisJS or Apache Cordova?
AdonisJS starts at Free and Apache Cordova at Free.
Does AdonisJS or Apache Cordova run on more platforms?
AdonisJS runs on Web. Apache Cordova runs on iOS, Android, Windows, macOS, Linux.
Can I use AdonisJS for free?
Both have a free tier, so you can try either at no cost before committing.
What is AdonisJS best used for?
AdonisJS is most often used for full-stack typescript web apps, teams used to laravel conventions, apis with built-in auth and validation, apps needing queues and mail out of the box. Of those, full-stack typescript web apps and teams used to laravel conventions are not what Apache Cordova is typically brought in for.
What can AdonisJS do that Apache Cordova cannot?
AdonisJS covers Routing and controllers, Lucid style ORM and models, Validators, Authentication. Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code.

Answered from the vendors’ own pages

AdonisJS: Is AdonisJS free?

Yes. It is released under the MIT licence and funded by sponsors.

Source
Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
AdonisJS: Who funds AdonisJS?

The project says it is independent and community funded, with no company or venture money behind it.

Source
Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
AdonisJS: What is included in AdonisJS?

Authentication, ORM, validation, mail, queues, cache and testing.

Source
Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
Share

Related pages

Other head to heads