~/talk

Developing Web Applications with Haskell

Talkat LambdaConf 2015 · 2015-05-22..05-24· [web-platform, databases]
slides:none on file

Shows concrete code and a working workflow: routing and HTML generation with Spock + Blaze + Hamlet, database schema and queries with Persistent (and Esqueleto for SQL joins), form validation using digestive functors, plus deployment to Heroku. Builds a small note‑taking server from project setup through connection pooling, insert/select semantics, type‑safe route parameters, form views and error handling, and finally a deployed instance that actually runs.

AI-written summary · about

  1. 0:00Intro
  2. 0:49Format The workshop is divided in four blocks
  3. 3:05Lots of libraries
  4. 7:00Hello, $name
  5. 9:06Structure of a handler A Spockopplication consists of honders
  6. 10:20Routes are type-safe
  7. 13:19HTML with Blaze
  8. 14:44Shakespearean HTML
  9. 19:11Two approaches
  10. 20:11Define a schema, 1/2
  11. 24:03Handling DB connections
  12. 27:37Insertion
  13. 28:33Query by identifier
  14. 31:26Query by field data, 1/2
  15. 32:51Two exercises more 3. Working with Persistent
  16. 37:02Doing it by hand
  17. 37:59The Maybe Applicative
  18. 39:15The Applicative pattern
  19. 45:13Define a Form
  20. 47:50Form/View lifecycle, code
  21. 49:01View to Blaze
  22. 51:07Web Application Interface
  23. 52:24WAI applications
  24. 55:26Middleware in Spock
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.