3 ms·
Oh, request-response maps (heh) well to lisps; I copied Ring's API for my project. My biggest issue I guess, is getting out of a Class and Interface mindset. T
by girvo 13y ago
Oh, request-response maps (heh) well to lisps; I copied Ring's API for my project. My biggest issue I guess, is getting out of a Class and Interface mindset.
That said, do you have any advice for how to think about state in regards to web development? The database and its various assumptions were my biggest headache. What is the go-to library for Clojure here?
- islon 13y agoWell, in a typical web application (the server part) all your state is normally in the database so you don't need to worry about it. Just use pure functions that process the request get/put the data in the database and give the response. Do you have any specific needs for state other than the database?