News for hackers. Stuff that matters.
Re:Clojure needs a Rails by Jeaye on Sunday July 31, 2022 @02:46AM (#32293760)
I disagree that Clojure needs a Rails, in the sense that there's a single framework to use for all web server needs. However, I do really think Clojure needs a better documentation story for web development across the board.

Getting a ring + reitit + malli + integrant + core.async + vertx-mongo server running requires putting together a _lot_ of different pieces. A framework is one way to solve this, but so too is documentation. Perhaps it's just my Clojure mindset, but I'd be hesitant to reach for a one-stop-shop framework for all of the above, but I would definitely be interested in some docs which helped guide me hook all of them together. Is there such a thing as a documentation framework? :)

-- Thinking about how Clojure devs feel about libraries makes me realize how ironic it is that so many of them use Emacs.

Re:Clojure needs a Rails by uxcolumbo on Sunday July 31, 2022 @03:47AM (#32294000)
> I would definitely be interested in some docs which helped guide me hook all of them together

Yogthos put together this guide - in book format:

https://pragprog.com/titles/dswdcloj3/web-development-with-c...

-

Additional links:

https://yogthos.net/posts/2022-01-08-IntroducingKit.html

https://kit-clj.github.io/

https://luminusweb.com/

Re:Clojure needs a Rails by teodorlu on Sunday July 31, 2022 @03:01AM (#32293820)
> but I would definitely be interested in some docs which helped guide me hook all of them together. Is there such a thing as a documentation framework? :)

What's the first step to making those docs?

There are resources floating around, but they can be hard to find. I really like the docs for http-kit and luminous - they are cohesive.

Re:Clojure needs a Rails by valyagolev on Sunday July 31, 2022 @01:10PM (#32296972)
Lein templates are a great way to get started with a lot of pieces already in. Perhaps there's already a template for your needs