Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.4 KB

lesson-07.org

File metadata and controls

43 lines (34 loc) · 1.4 KB

Lesson 7: A simple HTTP service

  • [X] Simple HTTP service: ring handlers, libraries
  • [X] What is a request? What is a response?
  • [X] Routing
  • [X] Middlewares
  • [X] A toy problem: Guess what number I’m thinking?
  • [X] Sending HTTP requests

Preparatory Material for Lesson 7

Lesson plan

Discuss problem solutions — see these points:

  • points?

Things to explain

  • The Ring model
  • building a simple app.
  • compojure and middleware
  • Idempotent functions, request methods, caching
  • Where’s the state?

Tags

  • starting-point
  • request-methods
  • manual-dispatching
  • compojure-routing
  • http-ring-responses
  • destructuring-routes
  • understanding-middlewares
  • using-middleware-and-destructured-routes
  • separation-of-concerns