tiscaf http server, overview

tiscaf - TIny SCAla Framework - is a framework I'm working on. The framework is written in and intended to be used with the Scala programming language. Here a part of the framework is presented - it is an http server.

motivations

Very often a current software exosphere makes almost impossible to do things a simple way. OTOH, if you like to spend your life dealing with extraneous-designed XML-files (rather coding), be warned - tiscaf lives in another world. At any case - welcome!

features

documentation

The manual is here. OTOH, the server using is very simple, and you can look at (the beginning of) these source files:

Also, README file (inside archive) has something useful to try HomeServer.

tested

I use the server on Linux, with last Sun's J2SE and Scala from trunk. Firefox, Opera, Arora and (limited) IE6 browsers were used to test. ApacheBench was used for benchamrking.

Please, report me other test/use cases wrt operating systems and http clients.

Treat current status as beta.

source code

Is here: tiscaf-0.2.4.zip (hit "refresh" if not found).

useful critics

Send to me, Andrew Gaydenko, a@gaydenko.com (please, add tiscaf to your subject). I'm mostly interested in a feedback concerning API stabilization.

events (in reverse order)

2008.11.22 v.0.2.4 is released. Changes: HReqHeaderData's and HTalk.req's methods host and port return now Option[String] instead of String. Thanks to Will Scullin - he has pointed me there are plenty of simplified http clients which don't bother about Host-string in request headers.

2008.10.27 v.0.2.3 is released. Changes:

2008.10.15 v.0.2.2 is released - again for windows users. Thanks to Christos KK Loverdos - he has kindly provided .bat scripts to quickly build-and-try HomeServer.scala demo.

2008.10.15 v.0.2.1 is dedicated to ms windows users. Thanks to Tim Clendenen - he has pointed to an issue concerning windows file system and tested a fix.

2008.10.13 v.0.2 is released. Changes:

I'm still waiting for further suggestions wrt API stabilization.

2008.10.09 As long as one of the goals of tiscaf publishing is a participating in adoption and spreading of the Scala programming language, I have decided to lower licensing restrictions and have republished the application (v.0.1.1) in terms of LGPL.

2008.10.08 tiscaf http server v.0.1 is published in terms of GPL2.