[Haskell-cafe] ANN: Cute Hack - Hyena handler + Bamboo Blog Engine :)

Jinjing Wang nfjinjing at gmail.com
Sat Apr 25 01:58:00 EDT 2009


A few interesting progress on Hack:

* many middleware ported from Rack, including a lambda! ( just like a
pony for wsgi, and a lobster for rack )
* 2 handlers, one for Kibro on fcgi / lighttpd, one for Hyena web server
* apps are portable, Bamboo is a port of Panda that runs on Hack,
works fine with both handlers
* Hyena handler is still experimental

A lambda app looks like this

-- Main.hs source

module Main where

import Hack
import Hack.Utils

import Hack.Handler.Hyena
import Hack.Contrib.Lambda

main = run $ lambda dummy_app

-- compile

ghc --make -O2 Main.hs

-- run

now go to http://localhost:3000/lambda



* [Hack] (http://github.com/nfjinjing/hack/tree/master)
* [Bamboo] (http://github.com/nfjinjing/bamboo/tree/master)


More information about the Haskell-Cafe mailing list