biff
xtdb
Our great sponsors
biff | xtdb | |
---|---|---|
29 | 17 | |
721 | 2,441 | |
- | 1.1% | |
8.9 | 9.9 | |
4 days ago | 3 days ago | |
Clojure | Clojure | |
MIT License | Mozilla Public License 2.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...
xtdb
-
Mariposa – A programming language with time-travel
You don't necessarily need to embed it into the programming language itself to get a ton of value. XTDB (https://github.com/xtdb/xtdb) offer a Clojure, Java and HTTP API for interacting with the database, which is bitemporal and lets you query the database for a specific point in time for example.
- Everything wrong with databases and why their complexity is now unnecessary
-
I made a basic python client and ORM for XTDB
XTDB is a bitemporal and dynamic relational database for SQL and Datalog, written in Clojure. The Python application I work on uses XTDB for its bitemporal and schema-less nature. There were a few Python clients that looked unmaintained and lacked some features we needed, so I tried to build something that would have fit our own requirements in hindsight. This includes:
-
Endatabas: A SQLite-inspired, SQL document database with full history
it's bitemporal, will be SQL-compatible, and also has another query-language - XTQL :
https://github.com/xtdb/xtdb/tree/2.x/dev/xtql
-
Is Datomic right for my use case?
You can also consider other durable Datalog options like datahike or datalevin which can work either as lib (SQLite style) or in a client-server setup; if you want to play with bi-temporality XTDB is a rock solid option with very good support and documentation.
-
Datomic Is Now Free
You could look into http://xtdb.com/ if you want an open source alternative
-
Taming the Time: how to install & develop with XTDB
XTDB, or Cross-Time Database, is a distributed and transactional database system designed to handle complex and changing data with ease. It is based on a bitemporal model, which allows for the tracking of both the valid time and transaction time of data, enabling powerful and flexible querying capabilities. With XTDB, developers can work with immutable data structures, which simplifies development and improves reliability. Its graph query language, Datalog, provides a powerful and expressive way to navigate relationships within the data.
- Introduction to Datalog
- Clojure Turns 15 panel discussion video
- Xtdb
What are some alternatives?
kit - Lightweight, modular framework for scalable web development in Clojure
datahike - A durable Datalog implementation adaptable for distribution.
clojure-py - A implementation of Clojure in pure (dynamic) Python
datalevin - A simple, fast and versatile Datalog database
coast - The fullest full stack clojure web framework
crux - General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb]
shadow-cljs - ClojureScript compilation made easy
datascript - Immutable database and Datalog query engine for Clojure, ClojureScript and JS
nippy - The fastest serialization library for Clojure
spring-data-jpa-temporal - Temporal auditing extension of the Spring Data JPA module
re-frame - A ClojureScript framework for building user interfaces, leveraging React
entish - Entish is a declarative Datalog-like language for formal RPG rules