3 ms·
>we're using Ring[0] at the backend >Ring is a Clojure web applications library inspired by Python's WSGI and Ruby's Rack. We have had this on the Common Lisp
by flavio81 8y ago
>we're using Ring[0] at the backend
>Ring is a Clojure web applications library inspired by Python's WSGI and Ruby's Rack.
We have had this on the Common Lisp world for years, see "Clack" and "Lack" -- two libs that work together and do exactly this.
> Take a look at e.g. Liberator docs[2] and tell me, where's a CL library for just that
If you want exactly a "Liberator" in Common Lisp, there has been a good one for 3 years on:
https://github.com/joaotavora/snooze https://github.com/joaotavora/snooze
Note how Snooze uses Clack. Clack is almost a de-facto standard now.
To be honest, REST services can be done with a regular web development routing lib.
>Or, in a CL project we had to implement CORS handling ourselves, whereas in Clojure we get it for free
But it's only adding a few headers to your HTTP headers... Patching the response handler to add those is an easy task in CL (Clack already has the facilities to let you add middlewares into the response handler), does one really need a library for that?
I don't want to sound arrogant, but the complains seem a bit exaggerated.