Introducing structure in Clojure
summary
Shows how to build a small Clojure web app that books restaurant tables by layering pure domain data, use case functions and adapters, then wiring live parts with a system map and lifecycle. Uses Clojure spec for domain validation, compojure + ring for HTTP routing, a Postgres adapter implementing a save_booking protocol and the component lifecycle library to start and stop DB and server, keeping logic testable and decoupled.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:17Cloure and Architecture
- 1:36Hexagonal Architecture
- 4:24Project Structure
- 5:50Domain Entities
- 7:22Use Cases
- 9:35Web Adapters
- 12:12System Components
- 16:08System Integration
- 19:17Testing and Evolution
- 22:06Application Main
- 24:05Maintainability
- 29:16Q&A and Closing
related talks
32mFrameworkless Web Development in Clojure
32mNo Pain, no Gain: Using Clojure for Web Applications
21mA Clojure Carol: Three Clojure Web Development A-Ha Moments
30mReal Estate Clojure
41mComponents Just Enough Structure
38m"Growing Data Center networking mgmt UI using ClojureScript, Reagent and re-frame"
33m"Consequential Clojure Architectures"
01h 07mComposing (Clojure) Web Stacks using Functional First Principles
