Building a Blogging System with Haskell and Yesod - Part 5 of 6
summary
Part of a hands‑on series that actually builds a blogging system with Haskell and Yesod, this session shows concrete code: routing and subsite wiring, the scaffolding that supplies a dummy auth plugin, and how to implement authorization with isAuthorized and protect pages with requireAuth. The delivered app includes post authoring, login/authorization, commenting, JSON API endpoints and persistent DB storage; most examples compile and run and the scaffold already supplies much of the plumbing so exercises focus on wiring and small customizations.
AI-written summary · about
chapters (11)
- 0:00Sub-sites in Yesod
- 2:05Routing sub-sites in Yesod
- 6:03Reusable menu bar
- 13:10isAuthorized and auth checks
- 20:28Workshop time interest
- 23:51Debugging type mismatches
- 31:26Menu items by login state
- 43:44isAuthorized role
- 53:05JSON APIs with auth
- 57:42Conditional menu rendering
- 1:01:21Q&A
related talks
52mBuilding Scalable Web Applications with Haskell
32mHeadfirst into Haskell
17mBuilding web apps with Haskell and IHP (Lightning Talk)
57mReal-world Haskell: Good, Bad, & Ugly
55mModern Software Development with Haskell
01h 04mHaskell - A Peek Inside the Ivory Tower
25mScale By The Bay 2018 Unconference: Joe Kachmar
44mReal-World Functional Ruby
