Developing Web Applications with Haskell
summary
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
chapters (24)
- 0:00Intro
- 0:49Format The workshop is divided in four blocks
- 3:05Lots of libraries
- 7:00Hello, $name
- 9:06Structure of a handler A Spockopplication consists of honders
- 10:20Routes are type-safe
- 13:19HTML with Blaze
- 14:44Shakespearean HTML
- 19:11Two approaches
- 20:11Define a schema, 1/2
- 24:03Handling DB connections
- 27:37Insertion
- 28:33Query by identifier
- 31:26Query by field data, 1/2
- 32:51Two exercises more 3. Working with Persistent
- 37:02Doing it by hand
- 37:59The Maybe Applicative
- 39:15The Applicative pattern
- 45:13Define a Form
- 47:50Form/View lifecycle, code
- 49:01View to Blaze
- 51:07Web Application Interface
- 52:24WAI applications
- 55:26Middleware in Spock
related talks
17mBuilding web apps with Haskell and IHP (Lightning Talk)
45mActually Using Haskell!
37mBuilding the Hundred-Year Web Service with htmx
32mNo Pain, no Gain: Using Clojure for Web Applications
41mHaste: Full-Stack Haskell for Non-PhD Candidates
23mIntegrating Web Apps
34mPurely Functional Web Apps
11mHow to Build a Blog in 10 Minutes with Hyper
