schema VS kit

Compare schema vs kit and see what are their differences.

schema

Clojure(Script) library for declarative data description and validation (by plumatic)

kit

Lightweight, modular framework for scalable web development in Clojure (by kit-clj)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
schema kit
9 34
2,380 447
0.0% 2.7%
0.0 8.0
about 1 year ago 1 day ago
Clojure Clojure
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

schema

Posts with mentions or reviews of schema. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-25.
  • Tired by the dynamicism
    7 projects | /r/Clojure | 25 Jan 2023
    Plumatic schema (https://github.com/plumatic/schema) , or friends I might be wrong, but I think schema might make more sense to you coming from the F# world (might be wrong)
  • Clojure from a Schemer's perspective
    3 projects | /r/Clojure | 1 Nov 2022
    This one? I didn't. I hear good things about it, and it's reached a point of maturity, being widely used in production.
  • Worrying comment from HN on Building a Startup on Clojure
    3 projects | /r/Clojure | 4 Oct 2022
    Uhhh spec has existed for a long time and before that, schema Nowadays we also have the excellent malli. If his codebase is full of functions where the shape of the data isn’t obvious, isn’t documented and isn’t specified in a specific/schema, that’s on him and his bad coding practices and really no different from passing data in other dynamic languages. A class by itself (without additional effort) only gives you field names.
  • Building a Startup on Clojure
    11 projects | news.ycombinator.com | 4 Oct 2022
    I don't understand this reputation either. There are very large systems built on other Lisps. For example, Emacs has a massive amount of Elisp. Elisp is much more primitive than Clojure, and traditionally libraries don't use e.g. data schemas [1] as runtime contracts for data.

    Obviously, once a system built on top of a dynamic language grows beyond certain threshold, you need to be very disciplined as there are no static types to ensure some degree of correctness.

    [1] https://github.com/plumatic/schema

  • Clojure needs a Rails, but not for the reason you think
    24 projects | news.ycombinator.com | 30 Jul 2022
  • General anxiety regarding learning Clojure and such
    4 projects | /r/Clojure | 22 Oct 2021
    Try to learn a schema library early, like Malli or Prismatic Schema. Do not mistook them as "static-typing" things - it's more for data validation and coercion than "security that things will get the right typing information". The idea to learn them early is how you'll shape future code: validating all "output data" first, them using that data inside your program without "defensive programming" like checking every time if a specific value on a map is nil, etc
  • Six years of professional Clojure development
    9 projects | news.ycombinator.com | 6 May 2021
  • What are some great Clojure libraries, as of 2021?
    12 projects | /r/Clojure | 30 Mar 2021
    In Clojure, declarative data specifications for validation and generation are also very mainstream. Schema was first out the door, Clojure Spec is the most popular library, while malli is gaining popularity fast at the moment.

kit

Posts with mentions or reviews of kit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-09.
  • Ask HN: What is your go-to stack for the web?
    5 projects | news.ycombinator.com | 9 Feb 2024
    Clojure using for the server side https://github.com/kit-clj/kit

    htmx for frontend, using the built-in kit htmx module.

  • Kit – Clojure Web Development
    1 project | news.ycombinator.com | 27 Dec 2023
  • Why Is Jepsen Written in Clojure?
    8 projects | news.ycombinator.com | 6 Dec 2023
    I am not sure what a web framework is, to be honest. The choices for many parts of a web application are really domain-specific and I'm not sure a single "framework" would work for everyone.

    As far as web-related components go, my app uses Rum (as an interface to React), ring, http-kit, pushy (for history manipulation), sente (for websockets), buddy (for authentication tools).

    If you are looking for a batteries-included "I want to have some sort of webapp right away" thing, I think https://kit-clj.github.io would fit the bill, but the general feeling in the Clojure community is that unlike Python with Django or Ruby with Rails, the choice of app components is not predetermined by the language.

  • A History of Clojure (2020) [pdf]
    22 projects | news.ycombinator.com | 10 Aug 2023
  • Most commonly used libraries/frameworks in Clojure
    2 projects | /r/Clojure | 11 Jun 2023
    Luminus has, in theory, been superseded by Kit: https://kit-clj.github.io/ but even so it is still "an opinionated bundle of libraries" rather than a framework.
  • Is there an open source project focused on ClojureScript, React, Reagent?
    14 projects | /r/Clojure | 24 May 2023
    I learned by using https://luminusweb.com/docs/clojurescript.html to get me started. It gives you a plethora of sane starting points, and you can just work on switching it to your own business logic. Troubleshooting and adding functionality will usually lead you to understand how things work. The authors of luminus have moved on to build kit: https://kit-clj.github.io/ which is probably another good starting point.
  • Help finding a webdev framework that works out of the box
    6 projects | /r/Clojure | 13 May 2023
  • Clojure Turns 15 panel discussion video
    24 projects | news.ycombinator.com | 13 Feb 2023
    The cljs stack I hear about a lot (and use) is ShadowCLJS with reagent (https://reagent-project.github.io/) and re-frame (https://day8.github.io/re-frame/). ShadowCLJS is more of a build tool, but is really well documented and easy to use. Reagent is basically react but a simpler API, and re-frame is a layer on top of that provides data subscriptions and event-handlers to manage app state. It's overkill for some apps but I find it's actually super easy to work with and not as much complexity as I thought.

    For backend there is luminus (https://luminusweb.com/) or Kit (https://kit-clj.github.io/). They are basically project templates that wire together a ton of popular solutions for various things - database access, migrations, security, html templating, etc. Also includes frontend frameworks like re-frame if you want.

  • your thoughts on the kit framework?
    1 project | /r/Clojure | 10 Jan 2023
    The component itself is just a thin wrapper for conman, you can see it here.
  • Ask HN: Share Your Personal Site
    10 projects | news.ycombinator.com | 6 Jan 2023
    Here’s me: https://luciano.laratel.li/

    I was happy I could get the domain! Pretty simple hand-rolled server-rendered site using the kit-clj[0] and neat-css[1]. Main backbone of the site is here[2]. I used to use a CLJS SPA but it was overkill and not as nice to use (load times particularly.)

    [0]: https://kit-clj.github.io/

What are some alternatives?

When comparing schema and kit you can also consider the following projects:

malli - High-performance data-driven data specification library for Clojure/Script.

biff - A Clojure web framework for solo developers.

clj-kondo - Static analyzer and linter for Clojure code that sparks joy

duct - Server-side application framework for Clojure

specter - Clojure(Script)'s missing piece

re-frame-template - A Leiningen template for creating a re-frame application (client only) with a shadow-cljs build.

matcher-combinators - Library for creating matcher combinator to compare nested data structures

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

clojure-dsl-resources - A curated list of Clojure resources for dealing with domain-specific languages.

clojure-inertia-pingcrm-demo - PingCRM on Clojure - A Clojure/Script fullstack demo application to illustrate how Inertia.js works.

fulcro - A library for development of single-page full-stack web applications in clj/cljs

usermanager-reitit-integrant-example - A little demo web app in Clojure, using Integrant, Ring, Reitit, Selmer (and a database)