~/talk

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

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

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

  1. 0:00Sub-sites in Yesod
  2. 2:05Routing sub-sites in Yesod
  3. 6:03Reusable menu bar
  4. 13:10isAuthorized and auth checks
  5. 20:28Workshop time interest
  6. 23:51Debugging type mismatches
  7. 31:26Menu items by login state
  8. 43:44isAuthorized role
  9. 53:05JSON APIs with auth
  10. 57:42Conditional menu rendering
  11. 1:01:21Q&A
~/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.