Kibro

From HaskellWiki
Revision as of 09:51, 1 August 2008 by Chrisdone (talk | contribs) (first commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Kibro

Kibro will be a very simple web framework for working with Haskell and FastCGI.

I've made this page for documenting it, and discussing ideas.

Description

The idea is that a web site is a directory containing a specific structure, created by Kibro. Yes, similar to Rails in that aspect. Running the web site manipulates things only in this directory, keeping it isolated. Downloading a web site from someone should be a case of pulling from their repo. e.g. “darcs pull http://foo.com/example” and typing “cd example && ./example”, which would compile the project with cabal install (to make sure all dependencies are there) and then run it on a port like 3000.

Running “kibro example” should produce something like the following directory structure:

   example/
     fastcgi/
       start
       stop
       restart
     lighttpd/
       lighttpd.conf
       error.log
       access.log
     wwwroot/
       ...
     src/
       Example.hs
     db/
       example.sqlite
     example.kibro
     example.cabal

Something like that.