~/talk

Building a Blogging System with Haskell and Yesod - Part 4 of 6

Talkat LambdaConf 2017 · 2017-05-25..05-27· [python]
links:none on file
slides:none on file

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

  1. 0:00Intro
  2. 3:30Message handler
  3. 4:30GetMessage
  4. 6:50Message
  5. 11:15Session
  6. 12:10Default Layout
  7. 13:50HTML
  8. 16:40Embedding
  9. 18:55SetMessage
  10. 22:05Filter
  11. 25:15Forms
  12. 27:45Compile
  13. 34:05Dependencies
  14. 40:05Break
  15. 43:05Authentication Authorization
  16. 50:35Master Data
  17. 51:37Authentication
~/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.