Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21e0f78ed80231f

Jump to content

Microframework

From Wikipedia, the free encyclopedia

A microframework is a term used to refer to minimalistic web application frameworks. It is contrasted with full-stack frameworks.

It lacks most of the functionality which is common to expect in a full-fledged web application framework, 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, Lumen microframework is designed for microservices development and API development.

Pseudocode example

[edit]
require "foo.php";

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

Microframeworks

[edit]
  • Bottle for Python
  • Camping for Ruby
  • Express.js for Node.js
  • Falcon[1] for Python
  • Fastify for Node.js
  • Flask for Python
  • Scalatra for Scala
  • Flight for PHP[2]
  • 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

References

[edit]
  1. "Falcon | The minimal, fast, and secure web framework for Python". falconframework.org. Retrieved 25 October 2021.
  2. "About - Flight - An extensible micro-framework for PHP". docs.flightphp.com. Retrieved 12 July 2026.