1. new in this version
  2. build a web 2.0 app in happstack
  3. why happstack is cool
  4. getting started with happstack
  5. prerequisites
  6. cabal install me
  7. first shot at happstack
  8. url handling
  9. basic HTML inclusion
  10. templates
  11. stringtemplate basics
  12. debugging
  13. form data: get and post
  14. form data: file uploads
  15. cookies
  16. introduction to macid
  17. first steps with macid
  18. scaling with multimaster
  19. using macid safely
  20. macid dummy data
  21. changing the data model
  22. macid stress test
  23. limitations of macid
  24. foreign characters
  25. IxSets
  26. cron jobs
  27. thanks
  28. appendix (floundering in ghci)

Prerequisites

For best results with this tutorial, you hopefully have the following.

  • Basic knowledge of Haskell and HTML.
  • A somewhat modern computer. This tutorial has been run on as little as a PIII with 512 MB of RAM.
  • A modern operating system. You should be able to develop Happstack applications using Windows, OS X, or Linux.
  • If you want to create a public web site based on the materials here, I recommend getting either a private server or a virtual private server which gives you admin privileges to install the packages and software you need.
  • More requirements are described in the instructions for installing and running this tutorial locally. However, if you have the basics ingredients above you should be okay.

Install me already!