Hackage: Ketchup: A super small web framework for those who don't like big and fancy codebases

Home Search Browse What's new Upload User accounts Ketchup: A super small web framework for those who don't like big and fancy codebases [ Tags : library , mit ] Ketchup is a very small HTTP server implementation, currently under 400 LoC total! Ketchup is also made to be as modular and embeddable as possible, if you want a cabal-free Haskell app, just take those two/three files you need and put it in your project! Currently Ketchup comes with: Basic httpd functionality (IPV4 only for now) Regexp routing with parameters (ie. ` user :name/(.*)`) Static file handler (ie. `static "."` as route/handler) Dependencies The core parts of Ketchup are all depedency free, that includes Ketchup.Httpd and Ketchup.Utils (and to a certain extent, Ketchup.Chunked). The dependencies required are for the following modules: Ketchup.Routing (uses regex-pcre-builtin, This can ben modified to use builtin POS...

Linked on 2014-06-29 23:10:35 | Similar Links