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:
- Accounts, authentication, authorization, roles
- Database abstraction via an object-relational mapping
- Input validation and input sanitation
- Web template engine
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
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
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.