Softwr

Mobile Development · head to head

Apache Cordova vs AWS CloudFormation

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 CloudFormation logo

AWS CloudFormation

Mobile Development

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only AWS CloudFormation lists stacks and templates.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.

How do Apache Cordova and AWS CloudFormation differ?

Apache Cordova and AWS CloudFormation differ on pricing model and platforms. Only the attributes on which Apache Cordova and AWS CloudFormation actually diverge.

Attributes where Apache Cordova and AWS CloudFormation differ
AttributeApache CordovaAWS CloudFormation
Pricing modelOpen-sourceNo charge for AWS resource types; extensions per handler operation
PlatformsiOS, Android, Windows, macOS, LinuxWeb, Linux, macOS, Windows

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for AWS CloudFormation, founded for AWS CloudFormation.

Which features does each one have?

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

  • Stacks and templates
  • Change sets
  • Drift detection
  • StackSets
  • Rollback
  • Registry extensions

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; AWS CloudFormation for recreating identical dev, staging and production environments on AWS. The jobs each tool is most often brought in to do.

Apache Cordova

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

AWS CloudFormation

  • Recreating identical dev, staging and production environments on AWSnot Apache Cordova
  • Deploying one baseline of security resources across many accounts with StackSetsnot Apache Cordova
  • Serverless applications packaged with AWS SAMnot Apache Cordova
  • Previewing and auditing infrastructure changes through change setsnot Apache Cordova

Where do Apache Cordova and AWS CloudFormation fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. AWS CloudFormation's: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. 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 CloudFormation

  • It only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it
  • Raw templates are verbose and hard to reuse, which is why many teams add CDK on top
  • A failed update can leave a stack in a stuck state such as UPDATE_ROLLBACK_FAILED that needs manual intervention
  • New AWS features sometimes arrive in CloudFormation after the console and API, so you wait or script around the gap
  • Deleting a stack deletes its resources, so a mistaken delete of a stack with data needs DeletionPolicy discipline

How much do Apache Cordova and AWS CloudFormation cost?

Apache Cordova is free to use; AWS CloudFormation 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 CloudFormation

Free
  • AWS resource typesFree
    • No additional charge for using CloudFormation with AWS resources
    • You pay for the resources the stack creates
  • Third-party extensionsOn request
    • $0.0009 per handler operation, first 1,000 per month free
    • $0.00008 per second of handler duration beyond 30 seconds

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 CloudFormation if

  • You need stacks and templates.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want change sets.

Questions people ask

Is Apache Cordova or AWS CloudFormation better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; AWS CloudFormation fits recreating identical dev, staging and production environments on AWS. Apache Cordova starts at Free and AWS CloudFormation at Free.
Which is cheaper, Apache Cordova or AWS CloudFormation?
Apache Cordova starts at Free and AWS CloudFormation at Free.
Does Apache Cordova or AWS CloudFormation run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. AWS CloudFormation runs on Web, Linux, macOS, Windows.
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 CloudFormation is typically brought in for.
What can Apache Cordova do that AWS CloudFormation 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 CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets.

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 CloudFormation: Does CloudFormation cost money?

Not for AWS resource types. You pay for the resources it creates; third-party extensions are billed at $0.0009 per handler operation after 1,000 free.

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 CloudFormation: CloudFormation or Terraform?

CloudFormation is AWS-only with state managed by AWS; Terraform spans many providers and keeps its own state.

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 CloudFormation: How does CDK relate?

CDK lets you write infrastructure in a programming language and synthesises CloudFormation templates.

Share

Related pages

Other head to heads