Building a Blogging System with Haskell and Yesod - Part 4 of 6
summary
Hands‑on build of a blogging system that actually wires post authoring, commenting, a JSON API and persistent storage using Haskell and Yesod; demonstrates using yesod-auth for login/authorization, persistent-backed models, handler code that uses setMessage/getMessage and Hamlet templates, and Stack + template‑haskell tricks (addDependentFile) to force template reloads. Covers concrete pitfalls — overloaded strings to HTML, form i18n needing renderMessage — and shows the app compiling and running so the examples are executable, not just abstract.
AI-written summary · about
chapters (17)
- 0:00Intro
- 3:30Message handler
- 4:30GetMessage
- 6:50Message
- 11:15Session
- 12:10Default Layout
- 13:50HTML
- 16:40Embedding
- 18:55SetMessage
- 22:05Filter
- 25:15Forms
- 27:45Compile
- 34:05Dependencies
- 40:05Break
- 43:05Authentication Authorization
- 50:35Master Data
- 51:37Authentication
related talks
30mThrough the lens of Haskell: exploring new ideas for library design
52mClojure Web Development
22mStatic Sites with Sphinx and Markdown
29mSyntax Hijacking: Genius or Evil?
27mCoding Competition Software VS Murphy's Law
02h 59mDocumenting your code from docstrings to automated builds
40mAsyncio Stack & React.js or Development on the Edge
48mGetting Started with Frege
