biff
reitit
Our great sponsors
biff | reitit | |
---|---|---|
29 | 14 | |
721 | 1,374 | |
- | 0.6% | |
8.9 | 8.7 | |
4 days ago | 3 days ago | |
Clojure | Clojure | |
MIT License | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
biff
- Biff, a Web Framework for Clojure
- Why Is Jepsen Written in Clojure?
-
Riff: A “mycelium-clj” for the Clojure ecosystem?
I definitely believe Clojure needs a rails. Not only will it help beginners get started, if it can help people get started faster and build fast like Django and rails do, I think it'll help more with adoption.
Biff and fulcro seems like they have a shot at this
Biff- https://github.com/jacobobryant/biff
Fulcro - https://github.com/fulcrologic/fulcro
-
State of Clojure 2023 Results
Jacob is doing a fantastic job with https://biffweb.com/ If the Clojure community would focus more of its manpower on such projects, then I think we can make Clojure the obvious choice to start a software business, by saving an insane amount of time. And time is by far the scarcest resource in a startup.
-
Leaving Clojure - Feedback for those that care
If you can get away with not using React, I highly recommend Biff. It uses XTDB and Rum by default but they can be swapped out pretty easily for Postgres and Reagent. I'm planning to publish some docs on how to do that when I have a chance.
-
Help finding a webdev framework that works out of the box
The best one of these imo is https://biffweb.com
-
Any resources for "current best practices and learnings?"
I'm also really liking the strategy of the old-school is new again with sever side rendering serving actual HTML instead of JSON for certain things, using HTMX, an example can be found here: https://biffweb.com/
-
Anyone here using HTMX with Clojure?
Take a look at Biff project https://biffweb.com/
-
Recommendations on Datalog Databases -- Schema Libraries
+1 for Malli and XT! For the relevant parts of Biff, see the example app's schema and the transaction reference docs. Biff has its own transaction format which includes schema checks via malli and various other conveniences, and it gets translated into XT's lower-level transaction format. Might provide some inspiration at least.
-
Biff tutorial: build a chat app with Clojure
Rum is used throughout, though mostly via middleware[1], so you (almost) never see any calls to `rum.core/render-static-markup`. But all of the hiccup-style data structures (`[:div "foo"]`, etc) do get rendered by Rum.
htmx doesn't render anything on the backend; rather it gives the frontend more ways to interact with the backend. e.g. say you make an inline form--htmx gives you the ability to display/submit that form without refreshing the entire page, but all the html that's sent to the frontend is still getting rendered first by Rum.
[1] See https://github.com/jacobobryant/biff/blob/6353c406adef034448... and https://github.com/jacobobryant/biff/blob/6353c406adef034448...
reitit
- A History of Clojure (2020) [pdf]
- Elixir for Cynical Curmudgeons
- Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
-
Help finding a webdev framework that works out of the box
I would build the CLJS for your game logic. Then I would build the backend server separately with API endpoints your front end to talk to. https://github.com/metosin/reitit is a pretty good option.
-
The hard way or the easy way?
A significant feature of reitit is that routes are composed of simple vectors and maps. That means you can pre-process that data structure however you want before building the router.
- how to get body of request on reitit
- Clojure needs a Rails, but not for the reason you think
-
Web dev stack in Clojure
You might look at the examples on the Reitit page. Reitit seems to be the emerging library for routing, and it does get you most of the way there, no matter which direction you are looking to go..
- Was sind zwei schöne Momente, die ihr heute schon hattet?
-
Malli 0.6.0 is out - performance, instrumentation and dev-tooling
for runtime validation & coercion, you can use the pedestal-utilities from reitit which support all of spec, schema and malli. For dev-time var instrumentation (static & dynamic), there are several ways to add those to existing or 3rd party codebases.
What are some alternatives?
kit - Lightweight, modular framework for scalable web development in Clojure
malli - High-performance data-driven data specification library for Clojure/Script.
clojure-py - A implementation of Clojure in pure (dynamic) Python
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt
ring-oauth2 - OAuth 2.0 client middleware for Ring
coast - The fullest full stack clojure web framework
re-frame - A ClojureScript framework for building user interfaces, leveraging React
shadow-cljs - ClojureScript compilation made easy
component - Managed lifecycle of stateful objects in Clojure
nippy - The fastest serialization library for Clojure
hiccup - Fast library for rendering HTML in Clojure