practicalli

https://practicalli.github.io/ http://yt.vu/+practicalli (youtube)
practicalli-john 2020-08-14T08:04:35.300700Z

@nando response and request at Clojure hash-maps, so you can write a handler function to print them to standard out or to the web page as part of the response. https://practicalli.github.io/clojure-webapps/projects/leiningen/todo-app/compojure/show-request-info.html

practicalli-john 2020-08-14T08:06:09.302600Z

Ring has request and response functions that can generate those hash-maps.

practicalli-john 2020-08-14T08:07:57.305200Z

Handlers are just normal Clojure functions, so in the REPL those functions can be called with a hash-map, even an empty one, and see the results.

nando 2020-08-14T23:55:59.306700Z

Thanks John, that's very helpful. A few more bits have fallen into place. I'm looking forward to the next broadcast in this series and am looking out for the notification.