sharedb
reactor
Our great sponsors
sharedb | reactor | |
---|---|---|
6 | 11 | |
5,976 | 612 | |
0.7% | - | |
7.1 | 7.1 | |
16 days ago | about 1 month ago | |
JavaScript | Python | |
GNU General Public License v3.0 or later | - |
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.
sharedb
-
Writing Redux Reducers in Rust
Sure! Not sure about rust but I wrote this several years ago: https://github.com/share/sharedb (though now other people maintain it)
-
Is there a lib or a pattern for synchronizing a complex JSON over the network ?
This is called Operational Transformation, and there are a few libraries to help with it. One that looks fairly mature is https://github.com/share/sharedb
-
Reactive Clojure: You don't need a web framework, you need a web language
one that sort of fell by the wayside when Meteor and Ember got popular, was/is Derby.js/ShareDB. https://github.com/derbyjs/derby https://derbyjs.com/ https://github.com/share/sharedb
The LiveView lead resurgence in server side rendering is exciting. Does anyone have any insight as to why ShareDB never really took off?
- [AskJS] Which 3d JS engine should I use for a networked FPS camera that can support up to 32 players on a VPS?
-
online user document sharing?
Rather than implementing your own you might be able to use a library like ShareDB. I think there was another one out there built on the open-sourced Google Wave code, but I don't remember the name.
reactor
- Reactor, a LiveView Library for Django
- Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
- Django equivalent to Rails Hotwire
-
Back-end languages are coming to the front-end
I'd love to see this approach make more headway in the Django community. Based on the last DjangoCon it seems like the community is coalescing around HTMX.
This tool does play very nicely with Django's templating engine; you can just have HTMX re-render a particular template block on the server, and send down that updated block. The migration path is quite clean; you just wrap your "HTMX-updated" template block in a `hx-post` div.
Having not gone too deep on HTMX, I'm interested in folks' thoughts on where it's lacking vs. LiveView and Hotwire. One area I can see is performance; Elixir is going to be faster than Django, and so if you're trying to handle high session counts over websockets. But the impression I get is that HTMX is a bit more light-weight, so I'm wondering if there's usecases that can't be met with it vs. LiveView.
Other Django libraries that haven't quite seen as much uptake:
We have https://github.com/edelvalle/reactor, and a port of Hotwire: https://github.com/hotwire-django but both of these don't seem to have much adoption (yet!).
-
Reactive Clojure: You don't need a web framework, you need a web language
Thank you for posting those, I wanted to post them but I don't comment often (). Wanted to chip in another contemporary: edelvalle/reactor, which is inspired by LiveView[0].
[0]: https://github.com/edelvalle/reactor
I am using Hotwire for a project, and I'm learning Elixir and Phoenix on the side. Finding edelvalle/reactor was immediately helpful to me though, because I cut my teeth on Python/Django, so reading a Python reference implementation helps me learn nuts and bolts of libraries, faster. (so, I figure that this might help someone else grok how these approaches work.)
-
How to combine Rails's Ajax support and Stimulus
If this sounds like a barebones version of notable frameworks like Elixir's Phoenix LiveView, Rails's StimulusReflex or Hotwire Turbo, PHP's LiveWire, Django's Reactor... well, you're right! (Bonus: my colleague @jgaskins built a LiveView clone for Crystal)
-
Phoenix LiveView/Laravel LiveWire alternatives for Django
Reactor
-
HTML over-the-wire is the future of Web Development
Reactor is a LiveView library for Django. It enables you to do something similar to Phoenix LiveView using Django Channels.
-
Django with htmx for easy and efficient SPAs
It looks a bit similar to Elixir Live View. Or similar in Django https://github.com/edelvalle/reactor, there are a couple of libraries.
-
StimulusReflex, or LiveView for Rails
Django does: https://github.com/edelvalle/reactor
What are some alternatives?
liveblocks - Liveblocks is a platform to ship collaborative features like comments, notifications, text editors in minutes instead of months.
django-unicorn - The magical reactive component framework for Django ✨
Meteor JS - Meteor, the JavaScript App Platform
django-htmx - Extensions for using Django with htmx.
yjs - Shared data types for building collaborative software
turbo - The speed of a single-page web application without having to write any JavaScript
automerge - A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Phoenix - Peace of mind from prototype to production
inertia-laravel - The Laravel adapter for Inertia.js.
htmx - </> htmx - high power tools for HTML
imba - 🐤 The friendly full-stack language
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications