Get the latest tech news

Show HN: Schematra – Sinatra-inspired minimal web framework for Chicken Scheme


sinatra inspired scheme web framework. Contribute to rolandoam/schematra development by creating an account on GitHub.

Simple route definition with get and post functions URL parameter extraction (e.g.,/users/:id) & body parsing Middleware support Included naive session middleware (cookie storage) Development mode with REPL integration (leveraging emacs run-scheme) Very simple hiccup inspired template system Built on top of the solid Spiffy web server ok(200) created(201) found(302) - for redirects bad-request(400) unauthorized(401) forbidden(403) not-found(404) internal-server-error(500) And many others following HTTP status code conventions Redirect and halt both generate a specific signal that's captured by the main router and short-circuit any other processing: no other middleware or part of the route handler will be executed.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of scheme

scheme

Photo of sinatra love letter

sinatra love letter

Related news:

News photo

Why MIT switched from Scheme to Python (2009)

News photo

SIOF (Scheme in One File) – A Minimal R7RS Scheme System

News photo

AI is learning to lie, scheme, and threaten its creators during stress-testing scenarios