biff
integrant
biff | integrant | |
---|---|---|
29 | 14 | |
727 | 1,194 | |
- | - | |
8.9 | 6.3 | |
8 days ago | 4 days ago | |
Clojure | Clojure | |
MIT License | MIT License |
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...
integrant
-
I Hate NestJS
Have a look at Integrant from Clojure: https://github.com/weavejester/integrant
-
A History of Clojure (2020) [pdf]
* Lifecycle management: Mount, Integrant or Component (https://github.com/tolitius/mount https://github.com/weavejester/integrant and https://github.com/stuartsierra/component)
-
Any resources for "current best practices and learnings?"
Allesandra Sierra’s Component has lots of competitors now: first mount which has since fallen out of favor for integrant. There’s newer ones too, like clip and donut-power.
- Clojure needs a Rails, but not for the reason you think
-
How can I learn functional programming?
This was the missing piece for me at least. As mentioned in another reply the Imperative shell, functional core helped me a lot with that. I discovered it through Clean Architecture and by using some micro-frameworks in Clojure that really emphasised the use of the pattern.
-
Reloaded workflow with nbb & expressjs
After reviewing the options, I settled on weavejester/integrant because it's small - only one dependency and two source files in total.
-
[ANN] Reveal Pro 1.3.308 — sticker windows for system libraries (component, integrant, mount)
Today I released a new version of Reveal Pro — dev.vlaaad/reveal-pro {:mvn/version "1.3.308"} — that adds sticker integration for system libraries such as mount, component and integrant!
- Little confusion trying to understand Integrant's source code
-
Forcing engineers to release by some arbitrary date results in shipping unfinished code - instead, ship when the code is ready and actually valuable
Component is nice but I found the records and protocols annoying to work with. Have you checked out Integrant? That ones been my preferred component-style library.
-
Tour of our 250k line Clojure codebase
I don't really like 'Component'. I seems very clunky and we had a lot of issues with it and a lot incidental complexity in our codebase (now converted to Java). It was the first real system that did these sort of things but if I start a project now, I much rather use Integrant or Clip.
https://github.com/weavejester/integrant
https://github.com/juxt/clip
I haven't used Clip a lot yet but my next project is defiantly going to be with Clip.
What are some alternatives?
kit - Lightweight, modular framework for scalable web development in Clojure
component - Managed lifecycle of stateful objects in Clojure
clojure-py - A implementation of Clojure in pure (dynamic) Python
mount - managing Clojure and ClojureScript app state since (reset)
xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt
re-frame - A ClojureScript framework for building user interfaces, leveraging React
coast - The fullest full stack clojure web framework
timbre - Pure Clojure/Script logging library
shadow-cljs - ClojureScript compilation made easy
wonderland-clojure-katas - Clojure Katas inspired by Alice in Wonderland
nippy - The fastest serialization library for Clojure
learn-you-a-haskell - “Learn You a Haskell for Great Good!” by Miran Lipovača