Git Product home page Git Product logo

Comments (9)

nerdoc avatar nerdoc commented on August 25, 2024 5

Oh, maybe you could mention that in the docs or archive it? Thanks anyway!

from reactor.

jbjuin avatar jbjuin commented on August 25, 2024 2

@edelvalle Hi eddy, may i ask what are the reasons for you to stop reactor ?

from reactor.

nerdoc avatar nerdoc commented on August 25, 2024

Just saw that daphne 3.0.3 etc is in reactor master, but in the version available on PyPi there is the outdated version 2.4.0. Is there a new release planned?

from reactor.

edelvalle avatar edelvalle commented on August 25, 2024

@nerdoc I have this project abandoned, sorry...

I'm more in favor of django-unicorn or my own weird stuff https://github.com/edelvalle/djhtmx

from reactor.

nerdoc avatar nerdoc commented on August 25, 2024

BTW and off-topic, unicorn uses Ajax instead of websockets. Isn't that much slower? And is only one-directional? With websockets/channels you can use push notifications - with ajax you need polling.

from reactor.

nerdoc avatar nerdoc commented on August 25, 2024

I'll chime in again here... @edelvalle - did you abandon this project completely? In another comment you are saying you are using reactor in your own company. But https://iskra.ml is down... you sya you're using htmx/djhtmx...
For a long term project, what would you recommend to use ATM?
I've seen and tried many projects now. Sockpuppet, Django-Unicorn, htmx, and 5-10 other small abandoned projects. htmx is good, but not really integrated with Django. Your djhtmx makes things a lot better, but lacks docs, and completion...

So - on long term, on which horse would you bet?

from reactor.

nerdoc avatar nerdoc commented on August 25, 2024

This is solved with the current development version. Thanks for coming back to this fabulous project.

from reactor.

edelvalle avatar edelvalle commented on August 25, 2024

Anyways let me answer you:

  • I'm no longer doing Iskra, another company
  • We are not using reactor there, we are using https://github.com/edelvalle/djhtmx (that is more like unicorn), but planning to use reactor at some point
  • I had a lot of stress at home lately because I had been alone with the kid and dog, because my wife is studying away from home and I had little time to maintain anything
  • Lately I had been working on this https://github.com/edelvalle/django-triplets

That's why you don't see to much development here but, the project is not dead, is just resting. And I will accept and review any PR anyone makes.

from reactor.

nerdoc avatar nerdoc commented on August 25, 2024

Yes, I know djhtmx, I have tested it too. And pure HTMX, and reactor, and django-unicorn, and django-sockpuppet, extensively. Every project has its advantages and downsides. I think that reactor has a great potential because it combines a few things:

  • websockets/channels (urgently needed, so you can send push notifications from the server,; faster than AJAX)
  • ease of use (like Unicorn)
  • litte bit more flexible than Unicorn (template names/places, etc), less "magic".
  • smaller footprint than Unicorn
  • encapsulation (I like the idea of components. HTMX is great, but tends to encourage unmaintainable spaghetti code in the long run)

What it lacks:

  • Documentation
  • Tests (I know you said you're testing it in production...)
  • Forms support. This is something I miss in Unicorn, see this issue and this, so that Form helpers like Crispy forms can be supported. This is mandatory for a bigger project with maybe dynamic nature of forms, and many forms.

I'm long-term planning for a huge, modular application, and can't find a component framework to rely on. React was my favourite, until you "abandoned" it. Therefore I'm glad you came back. I would prefer HTMX for long-term support - but maintainability of code is much more important than fearing to deal with spaghetti code soon.
So encapsulation is mandatory.

I'm no proffessional programmer (just a MD), but would add some thoughts (and maybe code) to React if I can help.

from reactor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.