re-frame VS django-extensions

Compare re-frame vs django-extensions and see what are their differences.

re-frame

A ClojureScript framework for building user interfaces, leveraging React (by day8)

django-extensions

This is a repository for collecting global custom management extensions for the Django Framework. (by django-extensions)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
re-frame django-extensions
23 12
5,376 6,422
0.2% 1.0%
9.1 4.5
about 1 month ago 2 days ago
Clojure Python
MIT License 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.

re-frame

Posts with mentions or reviews of re-frame. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-10.
  • Goodbye, Clean Code
    1 project | news.ycombinator.com | 8 Dec 2023
    This article always reminds me of this excerpt from re-frame’s docs [0]:

    > Now, you think and design abstractly for a living, and that repetition will feel uncomfortable. It will call to you like a Siren: "refaaaaactoooor meeeee". "Maaaake it DRYYYY". So here's my tip: tie yourself to the mast and sail on. That repetition is good. It is serving a purpose. Just sail on.

    [0]: https://github.com/day8/re-frame/blob/master/docs/correcting...

  • A History of Clojure (2020) [pdf]
    22 projects | news.ycombinator.com | 10 Aug 2023
    * Single-Page App: shadow-cljs for the build concerns (https://github.com/thheller/shadow-cljs), Reagent with Re-frame for complex/large app (https://reagent-project.github.io and https://github.com/day8/re-frame). Even if we now prefer using HTMX (https://htmx.org) and server-side rendering (Hiccup way of manipulating HTML is just amazing, https://github.com/weavejester/hiccup).
  • Is there an open source project focused on ClojureScript, React, Reagent?
    14 projects | /r/Clojure | 24 May 2023
    Big and/or complete projects that use re-frame The main list: https://github.com/day8/re-frame/blob/master/docs/External-Resources.md
  • Reflet introduces descriptions: a new kind of polymorphic query
    2 projects | /r/Clojure | 1 May 2023
    Reflet is a set of tools for building Re-frame + React based web apps with graph and non-graph data models. This includes:
  • Were React Hooks a Mistake?
    2 projects | news.ycombinator.com | 10 Mar 2023
    https://github.com/day8/re-frame

    Notably the author of re-frame has been weary of hooks.

    I think that’s for a good reason. The approach in re frame feels like the best way to manage state so far for a react based app. Everything that changes state flows through an event. State can only be observed through subscriptions. Side effects are isolated to their own type of event. Debugging and testing are so straight forward with these concepts.

    Redux got close but it has two problems in my mind. Like hooks, it encapsulates for no good reason. Put the state in one thing that you can observe holistically before and after pure events. It also has too much boiler plate.

  • 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.

  • Reflet: building Re-frame + React based web apps with graph and non-graph data models
    2 projects | /r/Clojure | 8 Feb 2023
    Reflet aims to be a natural progression on top of Re-frame to support complex, data driven requirements. In that sense, it is both easy to learn, but powerful. You could say it's sort of like Re-frame++ (or Fulcro for Re-frame). Its main design goals are:
  • Killing mutants to improve your tests
    5 projects | dev.to | 7 Nov 2022
    At my current client we're working on having a frontend architecture for writing SPAs in JavaScript similar to re-frame's one: an event-driven bus with effects and coeffects for state management[1] (commands) and subscriptions using reselect's selectors (queries).
  • Giving new life to existing Om legacy SPAs with re-om
    6 projects | dev.to | 4 Nov 2022
    Some of us had worked with effects and coeffects before while developing SPAs with re-frame and had experienced how good it is. After working with re-frame, when you come to horizon, you realize how a good architecture can make a dramatic difference in clarity, testability, understandability and easiness of change.
  • what componies uses Clojure, and what componies deceased the use of other languages after additions of Clojure, for example Dropbox decrease the use of python after addition of Go programming language, are there any similar story with Clojure?
    2 projects | /r/Clojure | 2 Oct 2022
    https://youtu.be/geeK1-jjlhY (talk about an initial prototype with re-frame and the decision to do a rewrite in Clojure)

django-extensions

Posts with mentions or reviews of django-extensions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-24.
  • Ask HN: Anyone use a code to mindmap/flowchart tool?
    14 projects | news.ycombinator.com | 24 Feb 2024
    django_extensions/utils/dia2django.py: https://github.com/django-extensions/django-extensions/blob/...

    django_extensions/management/modelviz.py:

  • Color Django shell by development environment
    2 projects | dev.to | 15 May 2023
    I often perform operational tasks such as modifying data or debugging failures using the Django shell. In fact, anything I can't do through the admin or through management commands I use the shell for. The package django-extensions provides a shell on steroids that I much prefer over the built in shell. It allows you to run a custom REPL such as IPython or Ptpython and has autocomplete, command history, automatic model class imports and a myriad of other dev tools. shell_plus is for a Django programmer what a scalpel is for a surgeon.
  • How do I list all my endpoints across the whole project
    1 project | /r/django | 5 Aug 2022
    It currently has a bug with the latest django update I think; so if it it isn't fixed by the time you try it, remember to check it out later, because django-extensions is genuinely useful.
  • Is it normal to forget a lot of commands despite having used them multiple times in the past?
    1 project | /r/django | 24 Jul 2022
    alias m='exit_if_not_in_python_virtual_env && ./manage.py' alias mcs='exit_if_not_in_python_virtual_env && ./manage.py collectstatic' alias mcsu='exit_if_not_in_python_virtual_env && ./manage.py createsuperuser' alias mm='exit_if_not_in_python_virtual_env && ./manage.py migrate' alias mmm='exit_if_not_in_python_virtual_env && ./manage.py makemigrations' alias mrs='exit_if_not_in_python_virtual_env && ./manage.py runserver' alias ms='exit_if_not_in_python_virtual_env && ./manage.py shell' alias msa='exit_if_not_in_python_virtual_env && ./manage.py startapp' alias mt='exit_if_not_in_python_virtual_env && ./manage.py test' alias mts='exit_if_not_in_python_virtual_env && ./manage.py testserver' # [django-extension](https://github.com/django-extensions/django-extensions): alias msu="exit_if_not_in_python_virtual_env && ./manage.py show_urls" alias mvt="exit_if_not_in_python_virtual_env && ./manage.py validate_templates" alias msp="exit_if_not_in_python_virtual_env && ./manage.py shell_plus" alias mrsp="exit_if_not_in_python_virtual_env && ./manage.py runserver_plus"
  • Is there a way to enable sql tracing in Django?
    1 project | /r/djangolearning | 17 Apr 2022
    I use https://github.com/django-extensions/django-extensions
  • How to get urls path from django views list ?
    1 project | /r/django | 16 Nov 2021
    If you just want a list of all the available urls & paths in your app, take a look at the django-extensions package. It has a django management command show_urls, which will list them all out nicely.
  • django and the issue of doing too much under the hood
    1 project | /r/django | 8 Nov 2021
    https://github.com/django-extensions/django-extensions has a command, show_urls which outputs the URLs rendered for a project along with the name of their view handler
  • Django for Startup Founders: A better software architecture for SaaS startups
    7 projects | news.ycombinator.com | 23 Jun 2021
    # 1 million lines of logic and who knows how many queries

    I've actually seen this pattern in every Django project :(

    Regarding urls, instead of enforcing a flat file, I'd highly recommend always using django_extensions[0]. You'll get `shell_plus` that auto imports model and `show_urls` that you can grep for endpoint and gives you the handler.

    [0] https://github.com/django-extensions/django-extensions

  • Failing the CI build if django migrations are out of date
    1 project | dev.to | 12 May 2021
    A common mistake in django is to make a model change but forget to run makemigrations to generate a migration for the model change. Sometimes it is not entirely obvious when this need to happen. For example, let's say I'm using the django-extensions library and I define a model like:
  • Data Analysis with Django
    3 projects | /r/django | 29 Apr 2021
    Django Extensions has a shell_plus with notebook mode.

What are some alternatives?

When comparing re-frame and django-extensions you can also consider the following projects:

reagent - A minimalistic ClojureScript interface to React.js

django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

fulcro-rad-demo - A demo for Fulcro RAD using either SQL or Datomic databases.

django-crispy-forms - The best way to have DRY Django forms. The app provides a tag and filter that lets you quickly render forms in a div format while providing an enormous amount of capability to configure and control the rendered HTML.

Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

django-seed - :seedling: Seed your Django database with fake data

Elm - Compiler for Elm, a functional language for reliable webapps.

django-sql-dashboard - Django app for building dashboards using raw SQL queries

reitit - A fast data-driven routing library for Clojure/Script

Django - The Web framework for perfectionists with deadlines.

shadow-cljs - ClojureScript compilation made easy

django-b2 - Django backblaze b2 storage using b2sdk. Maybe useful for easier access to b2 outside of Django too. Plus: script to upload a (backup) file and tool to backup the postgres database.