Softwr

Mobile Development · head to head

Apache Cordova vs Serverless Framework

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
Serverless Framework logo

Serverless Framework

Cloud

Build and deploy serverless applications on AWS Lambda

From
Free
Free plan
Yes

The short version

  • Apache Cordova is free; Serverless Framework starts at $4/mo.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Serverless Framework lists YAML configuration.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Serverless Framework falls short: exclusive to AWS Lambda - no support for other cloud providers.

How do Apache Cordova and Serverless Framework differ?

Apache Cordova and Serverless Framework differ on platforms, category (Mobile Development against Cloud) and year founded (2008 against 2015). Only the attributes on which Apache Cordova and Serverless Framework actually diverge.

Attributes where Apache Cordova and Serverless Framework differ
AttributeApache CordovaServerless Framework
PlatformsiOS, Android, Windows, macOS, LinuxAWS Lambda, API, Web
CategoryMobile DevelopmentCloud
Founded20082015

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

Not yet recorded: pricing model for Serverless Framework.

Which features does each one have?

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

  • YAML configuration
  • Single command deployment
  • Extensible plugin ecosystem
  • Multi-language support
  • Unified dashboard
  • Built-in metrics and alerts

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Serverless Framework for deploying APIs and microservices to AWS Lambda. The jobs each tool is most often brought in to do.

Apache Cordova

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

Serverless Framework

  • Deploying APIs and microservices to AWS Lambdanot Apache Cordova
  • Building event-driven applications with serverless functionsnot Apache Cordova
  • Managing multi-language serverless projectsnot Apache Cordova

Where do Apache Cordova and Serverless Framework fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Serverless Framework's: exclusive to AWS Lambda - no support for other cloud providers. 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

Serverless Framework

  • Exclusive to AWS Lambda - no support for other cloud providers
  • Paid tier requires credit system that can be confusing for budgeting
  • Plugin ecosystem quality varies significantly

How much do Apache Cordova and Serverless Framework cost?

Apache Cordova is free to use; Serverless Framework has a free plan, with paid plans from $4/mo. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Serverless Framework

Free
  • FreeFree
    • For organizations with under $2M annual revenue
    • All Framework features included
  • Pay-As-You-Go$4/credit
    • 1 credit = 1 Service Instance or 50K Traces or 4M Metrics
    • Standard rate for larger organizations
  • Reserved Credits$1/credit
    • Discounts up to 74% off (1-year), 77% off (2-year), 80% off (3-year)
    • Additional 10% off for upfront payment

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 Serverless Framework if

  • You need yaml configuration.
  • You want to start without paying.
  • You work on AWS Lambda, API, Web.
  • You also want single command deployment.

Questions people ask

Is Apache Cordova or Serverless Framework better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Serverless Framework fits deploying APIs and microservices to AWS Lambda. Apache Cordova starts at Free and Serverless Framework at Free.
Which is cheaper, Apache Cordova or Serverless Framework?
Apache Cordova starts at Free and Serverless Framework at Free.
Does Apache Cordova or Serverless Framework run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Serverless Framework runs on AWS Lambda, API, Web.
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 Serverless Framework is typically brought in for.
What can Apache Cordova do that Serverless Framework 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. Serverless Framework covers YAML configuration, Single command deployment, Extensible plugin ecosystem, Multi-language support.

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
Serverless Framework: When do I have to pay for Serverless Framework?

The Serverless Framework CLI v4+ is free for organizations earning under $2 million annually. Organizations earning more must purchase credits at $4 per credit standard rate or reserved credits starting at $1 per credit with volume discounts.

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
Serverless Framework: What cloud providers does Serverless Framework support?

Serverless Framework is exclusive to AWS Lambda. It does not support other cloud providers like Azure or Google Cloud.

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
Serverless Framework: What does one credit cover?

One credit equals 1 Service Instance, 50,000 Traces, or 4 Million Metrics.

Source
Share

Related pages

Other head to heads