Reference articles on history, science, culture and more
Encyclopedia

Microframework

Minimal web framework

A microframework is a minimalist web application framework. They are contrasted with full-stack frameworks.

Microframeworks lack most of the functionality common to full-fledged web app frameworks, such as:

Typically, a microframework facilitates receiving an HTTP request, routing the HTTP request to the appropriate function, and returning an HTTP response. Microframeworks are often specifically designed for building the APIs for another service or application. For example, the Lumen microframework for PHP is designed for both microservices development and API development.

01Pseudocode example

require "foo.php"; foo::get("/hello/{name}", function($name) { return "Hello $name!"; });

02List of microframeworks

Below is a non-exhaustive list of microframeworks:

  • Bottle for Python
  • Camping for Ruby
  • Express.js for Node.js
  • Falcon for Python
  • Fastify for Node.js
  • Flask for Python
  • Scalatra for Scala
  • Flight for PHP
  • Lumen for PHP
  • Slim for PHP
  • Silex for PHP
  • Sinatra for Ruby
  • Spark for Java
  • Jooby for Java
  • Javalin for Java
  • Jodd for Java
  • Helidon for Java
  • Pippo for Java
  • Rapidoid for Java
  • Armeria for Java
  • Akka HTTP for Java
  • Ratpack for Java
  • Ktor for Kotlin
  • Toolatra for Tcl
Watch videos about MicroframeworkExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Microframework, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.