Softwr

Mobile Development · head to head

Apache Cordova vs AWS CDK

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
AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2.
  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only AWS CDK lists construct Library of reusable components.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.

How do Apache Cordova and AWS CDK differ?

Apache Cordova and AWS CDK differ on platforms and category (Mobile Development against Developer Tools). Only the attributes on which Apache Cordova and AWS CDK actually diverge.

Attributes where Apache Cordova and AWS CDK differ
AttributeApache CordovaAWS CDK
PlatformsiOS, Android, Windows, macOS, LinuxWindows, macOS, Linux
CategoryMobile DevelopmentDeveloper Tools

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

Not yet recorded: founded for AWS CDK.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 8 only for AWS CDK. 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 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

Only in AWS CDK

  • Construct Library of reusable components
  • CDK CLI for synthesis and deployment
  • Programmatic CDK Toolkit Library
  • Support for TypeScript, JavaScript, Python, Java, C# and Go
  • Deployment through AWS CloudFormation
  • Custom and shareable constructs
  • Construct Hub registry
  • Open source under Apache 2.0

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; AWS CDK for defining AWS infrastructure in TypeScript or Python. The jobs each tool is most often brought in to do.

Apache Cordova

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

AWS CDK

  • Defining AWS infrastructure in TypeScript or Pythonnot Apache Cordova
  • Reusable internal infrastructure modulesnot Apache Cordova
  • Serverless application stacksnot Apache Cordova
  • Testing infrastructure with unit testsnot Apache Cordova
  • Standardising environments across accountsnot Apache Cordova

Where do Apache Cordova and AWS CDK fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. AWS CDK's: targets AWS only, so it does not provision resources on other clouds. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

AWS CDK

  • Targets AWS only, so it does not provision resources on other clouds
  • Deploys through CloudFormation, so its resource coverage and limits apply
  • Infrastructure written in code can be harder to review than declarative templates
  • The AWS resources it creates are billed separately at standard AWS rates

How much do Apache Cordova and AWS CDK cost?

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

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Which should you pick?

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.

Choose AWS CDK if

  • You need construct library of reusable components.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want cdk cli for synthesis and deployment.

Questions people ask

Is Apache Cordova or AWS CDK better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; AWS CDK fits defining AWS infrastructure in TypeScript or Python. Apache Cordova starts at Free and AWS CDK at Free.
Which is cheaper, Apache Cordova or AWS CDK?
Apache Cordova starts at Free and AWS CDK at Free.
Does Apache Cordova or AWS CDK run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. AWS CDK runs on Windows, macOS, Linux.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what AWS CDK is typically brought in for.
What can Apache Cordova do that AWS CDK cannot?
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. AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go.

Answered from the vendors’ own pages

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
AWS CDK: Which languages does AWS CDK support?

The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.

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
AWS CDK: How does AWS CDK deploy resources?

CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.

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
AWS CDK: Is AWS CDK free?

It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.

Source
AWS CDK: When was AWS CDK first released?

Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.

Source
Share

Related pages

Other head to heads