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.
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!
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 tips to try HomeServer.
Is here: tiscaf-0.3.zip (hit "refresh" if not found).
Send to me, Andrew Gaydenko, a@gaydenko.com (please, add tiscaf to your subject). I'm mostly interested in a feedback concerning tricky requests dropping a (reasonably configured) server down.
2010.06.10 v.0.3 is released: towards Scala 2.8. Changes:
def asByte(key : String) : Option[Byte]
def asShort(key : String) : Option[Short]
def asInt(key : String) : Option[Int]
def asLong(key : String) : Option[Long]
def asFloat(key : String) : Option[Float]
def asDouble(key : String) : Option[Double]
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.