Am 21.10.21 um 13:31 schrieb Jet Ezra:
Well, this looks like a cool attempt but still lacking the python
part. I would like to update the DOM just with Python not anything
like Javascript. From what I have read from the links above, I have
realised that we are writing HTML that has already been covered up
with JS, but in my issue, we are trying to run independent of JS just
like we see in C# where one writes C# instead of JS in .NET
Dttempts like djhtmx and django-htmx to add that python functionality,
but they are far from perfect. With bare HTMX, you need no extra Js.
Django-htmlx is just a small wrapper to help including htmx into Django,
does nothing more. And djhtmx adds a few helpers to create a
"components" system, similar to django-unicorn. But when it comes to
bigger projects, this is error prone as it lacks interactions between
components.
But fo rmy part, I would *love* to see HTMX "included" in Django, as it
seems to be the perfect couple, if done right.
Christian
On Wed, Oct 20, 2021 at 6:16 PM 'Adam Johnson' via Django developers
(Contributions to Django itself) <django-developers@googlegroups.com>
wrote:
Check out htmx as a way to avoid needing JavaScript in your Django
applications: https://htmx.org/
Example app: https://github.com/adamchainz/django-htmx
On Sun, 19 Sept 2021 at 00:00, Jet Ezra <ezraj...@gmail.com> wrote:
I know this may not be necessary at the moment because we are
comfortable depending on front-end frameworks, but I have my
two ideas here:
1. what if django alone without any framework can be used to
design progressive web apps, with routers that do not reload
the page, we currently have one of the best routing but what
if they support SPAs this time?
2. what if we could instead of Javascript in the templates, we
write python, case in example is forexample how we write C# in
.NET withing our templates not writing JavaScript. Currently
Django is requiring its developer to again go ahead and learn
JS too, what if we remove that??
--
You received this message because you are subscribed to the
Google Groups "Django developers (Contributions to Django
itself)" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to
django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/bdefe58e-b26f-434e-a83f-36917b81f936n%40googlegroups.com
<https://groups.google.com/d/msgid/django-developers/bdefe58e-b26f-434e-a83f-36917b81f936n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/CAMyDDM2N6zFK7p0VA8e-Y-DwpCSsePH3O5q3g1P7O8O8-Vi5kA%40mail.gmail.com
<https://groups.google.com/d/msgid/django-developers/CAMyDDM2N6zFK7p0VA8e-Y-DwpCSsePH3O5q3g1P7O8O8-Vi5kA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
jet
--
You received this message because you are subscribed to the Google
Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/CAMjc0xUSKYUgJrrUOTscr0%2BT8xLABqwF%3DK9BmDANyLVTuNS%2BKQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-developers/CAMjc0xUSKYUgJrrUOTscr0%2BT8xLABqwF%3DK9BmDANyLVTuNS%2BKQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
Dr. Christian González
https://nerdocs.at
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/ad6962d2-8c5d-0af3-e4c0-fa9e9921055a%40nerdocs.at.