documentation

1 view
Skip to first unread message

andrew

unread,
Mar 15, 2008, 5:34:51 AM3/15/08
to HAppS
i am new to happs - was able to download, compile and run.
now i look for documentation, examples and similar - where is it?

andrew

Anton van Straaten

unread,
Mar 15, 2008, 7:08:22 PM3/15/08
to HA...@googlegroups.com
> i am new to happs - was able to download, compile and run.
> now i look for documentation, examples and similar - where is it?

For examples, check out the source tree, which in 0.9.2 contains these
examples:

./HAppS-HTTP/Examples/set/FromData/Cookies.hs
./HAppS-HTTP/Examples/set/FromData/Inline.hs
./HAppS-HTTP/Examples/set/FromData/Optional.hs
./HAppS-HTTP/Examples/set/FromData/Basics.hs
./HAppS-HTTP/Examples/set/ServerPart/PathSegments.hs
./HAppS-HTTP/Examples/set/ServerPart/SideEffects.hs
./HAppS-HTTP/Examples/set/ServerPart/HelloWorld.hs
./HAppS-HTTP/Examples/set/Web/FileServe.hs
./HAppS-HTTP/Examples/set/Web/ControlFlow.hs
./HAppS-HTTP/Examples/set/Web/Trace.hs
./HAppS-HTTP/Examples/set/Web/ErrorCodes.hs
./HAppS-HTTP/Examples/set/Web/IO.hs
./HAppS-HTTP/Examples/AllIn.hs
./HAppS-HTTP/Examples/Timer.hs
./HAppS-Data/examples/test.hs
./HAppS-Data/examples/Foo.hs
./HAppS-IxSet/Examples/IxState.hs
./HAppS-State/Examples/CheckpointTest.hs
./HAppS-State/Examples/testState.hs

For documentation, check out the examples. ;) Also see the happs.org site.

Given the limited documentation, the source code is pretty useful. E.g.
for understanding the URL dispatch mechanism, the code in SimpleHTTP.hs
in HAppS.Server is helpful.

Various people have blogged about using HAppS, sometimes in a tutorial
style. See e.g.:

http://reddit.com/r/programming/search?q=happs

If you come across articles elsewhere, note that HAppS has been evolving
pretty quickly, so older articles may be out of date.

Anton

Julia Hughes

unread,
Mar 28, 2008, 7:42:48 AM3/28/08
to HAppS
Reply all
Reply to author
Forward
0 new messages