1. happs intro
  2. the missing happs documentation
  3. getting started with happs
  4. prerequisites
  5. cabal install me
  6. main
  7. url handling
  8. templates
  9. stringtemplate basics
  10. debugging
  11. form data: get and post
  12. form data: file uploads
  13. cookies
  14. introduction to macid
  15. using macid safely
  16. macid dummy data
  17. macid updates and queries
  18. changing the data model
  19. macid stress test
  20. limitations of macid
  21. foreign characters
  22. cron jobs
  23. thanks
  24. 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. I have a PIII laptop with 512M of ram.
  • A modern operating system. You should be able to develop HAppS applications using windows, mac, or linux.
  • If you want to create a public web site based on the materials here, I recommend getting either a private server (more expensive) or a virtual private server (less expensive) which gives you admin privileges to install the packages and software you need. I use the cheapest virtual private server plan at linode to host this tutorial publicly. I wouldn't try hosting a HappS project publicly using a shared hoster like dreamhost that doesn't give you root powers to administer your server. (Dreamhost is great for other things, like cheap storage for online images.)
  • 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.
  • Please let me know -- or patch the tutorial -- if I forgot something. I hate getting stuck on some finicky aspect of installation when I am trying to learn something.

Install me already!