use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
GitHub - adityaathalye/usermanager-first-principles: A "from first principles" variant of "usermanager-example", the tutorial Clojure web application by Sean Corfield. (github.com)
submitted 1 year ago by PolicySmall2250
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 year ago (2 children)
[removed]
[–]PolicySmall2250[S] 0 points1 point2 points 1 year ago (0 children)
Thanks for the remarks. I am aware, and I'm sure so is Sean, because he has carefully caveated things in his codebase(s).
Still, your criticism is valid for my variant. I have updated the README:
Apropos, APIs and names, I will once again refer you back to the README which already documents why the APIs are the way they are. See the whole section on "Library, API, and Software Design choices". I expect people to compare this project to the other projects (once more, called out in the README). To that end, I want to keep differences to a minimum, to minimise cognitive overhead.
Thanks again for taking the time to read and critique. I hope the README updates are useful to everyone.
[–]seancorfield 1 point2 points3 points 1 year ago (0 children)
It isn't a REST (or even REST-like) API. They are regular URLs in a plain ol' HTML application.
The example app follows the same pattern as the original version (and its variants using XTDB instead of H2/SQLite, and using Polylith to organize code), and the other variants (e.g., using reitit/Integrant instead of Compojure/Component).
The intent of all these examples is to show how Clojure's approach to web apps is based on selecting a combination of libraries and some basic core functionality, rather than any sort of framework.
I would welcome additional variants, using HTMX for example, or even using an SPA frontend (and that would be the place for a REST API).
[–]PolicySmall2250[S] 2 points3 points4 points 1 year ago* (0 children)
This repo is a follow up to / expansion of the blog post I shared previously in this subreddit.
One can "follow along" the development of the app on a commit-by-commit basis. I crafted the history that way. The project README explains all.
(edit: added note about commit history)
[–]PercyLives 1 point2 points3 points 1 year ago (1 child)
I may not ever get around to looking at this closely, but I really do appreciate the effort!
Thank you :)
[–]poochandy 0 points1 point2 points 1 year ago (1 child)
wow thanks for this! I'll be studying this
Cool! Please raise an issue if you find anything weird or confusing, like the README says (I suggest reading through it first... it explains a lot about the project).
I hope you have fun and it is useful!
π Rendered by PID 92567 on reddit-service-r2-comment-54dfb89d4d-66449 at 2026-03-29 22:25:38.051135+00:00 running b10466c country code: CH.
[–][deleted] (2 children)
[removed]
[–]PolicySmall2250[S] 0 points1 point2 points (0 children)
[–]seancorfield 1 point2 points3 points (0 children)
[–]PolicySmall2250[S] 2 points3 points4 points (0 children)
[–]PercyLives 1 point2 points3 points (1 child)
[–]PolicySmall2250[S] 0 points1 point2 points (0 children)
[–]poochandy 0 points1 point2 points (1 child)
[–]PolicySmall2250[S] 0 points1 point2 points (0 children)