Schematra
A minimal web framework for CHICKEN Scheme, inspired by Sinatra. Schematra is currently an early exploration project created for learning purposes, but hopefully it will grow into something more useful over time.
Why Schematra?
I created Schematra because I wanted to:
Improve my knowledge of scheme : Building a web framework is a great way to explore a language's capabilities and idioms
: Building a web framework is a great way to explore a language's capabilities and idioms Create something simple : Most web frameworks are complex beasts. Schematra aims to be minimal and understandable
: Most web frameworks are complex beasts. Schematra aims to be minimal and understandable Enable modern web development: The framework is designed to work well with modern tools like Tailwind CSS and htmx, making it easy to build interactive web applications without heavy JavaScript frameworks. Although tbh this is completely agnostic to how the framework works, it's what most of my examples will use.
Features
Simple route definition with get and post functions
and functions URL parameter extraction (e.g., /users/:id ) & body parsing
... continue reading