-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
movieListChanged scalable #6
Comments
Hi @nerdoc, I don't have a definitive answer on event naming, and I'm still experimenting with my projects. However, I would never use a generic name, like Best regards, |
Ok, so events in this case would be page specific - or topic-specific. BTW, a generic name like |
I'd love to read your conclusion about the different frameworks you tried. Frameworks are better implemented in new projects because they are often difficult to fit existing projects. I'm really satisfied with the Django+HTMX combo. I only miss support for dependent/cascaded fields at the Form level. I made it work by creating custom form mixins, but I wish I could use a less hacky solution. |
Oh yes, and how I tried... Sockpuppet:Pros:
Cons:
Django-UnicornPros:
Cons:
ReactorPros:
Cons:
djhtmx(same author as Reactor)
Cons:
turbo-djangoA channels using streaming library which adds push messaging possibilities to Django. Pros:
Cons:
django-htmx / HTMXPros:
Cons:
So my conclusion is: I'll probably stay with HTMX, and try to not let my weaker self produce too much spaghetti code.
So if Unicorn components would u
Sorry, just woke up from a dream... |
H Benoit,
thanks for this great article, it freed my mind ;-)
A question rose up: You use the
movieListChanged
custom event and included it into the header. Do you add custom events per page, just for the things that are needed? Or do you recommend to create "generic" events (listUpdated
) with attributes - to keep their list a little bit smaller?I am considering this pattern in a larger (open source) application and just want to make the "right" decision.
Thanks again for your great code.
The text was updated successfully, but these errors were encountered: