Building a Blogging System with Haskell and Yesod - Part 3 of 6
summary
Continues the hands‑on build of a Yesod blog using Haskell: shows concrete code for the foundation datatype and keeping global state, splitting handlers into files and wiring routes with makeYesodDispatch, loading external Hamlet/Julius/Cassius templates, and using client sessions encrypted cookie plus the set/get message pattern for redirects. Covers scaffolding layout—defaultLayout and widget composition—and the file‑based template loaders; live exercises run but occasional rough edges mean expect follow‑along work.
AI-written summary · about
chapters (23)
- 0:00Intro
- 0:33Keeping Global Values
- 8:37Getting Hub
- 10:15Haskell
- 14:05Text
- 16:08Type
- 17:25Premove
- 18:10Add functions
- 19:15Dependencies
- 20:40Explanation
- 25:00Browser Overlap
- 25:55Widgets
- 27:13Wrap up
- 32:00Stack templates
- 34:08Cache
- 35:10Template Overview
- 37:15Importing Files
- 38:40Foundation
- 42:30DefaultLayout
- 46:30Page Content
- 48:45Sessions
- 51:10Messages
- 52:40Scaffolding
related talks
30mThrough the lens of Haskell: exploring new ideas for library design
52mClojure Web Development
29mSyntax Hijacking: Genius or Evil?
02h 59mDocumenting your code from docstrings to automated builds
02h 06mETA lang a Journey from Haskell via STG and Bytecode to Assembly Part 2
01h 06mDocument your code
30mStaging with Class: A Specification for Typed Template Haskell
22mStatic Sites with Sphinx and Markdown
