Friday, August 28, 2020

Re: HTML Snippets instead of JSON-API

How does using react with the help of webpack help me to avoid JavaScript?


On Friday, 28 August 2020 at 15:48:34 UTC+2 manglav...@gmail.com wrote:

You can use Django and react with the help of webpack.

 

Sent from Mail for Windows 10

 

From: guettli
Sent: 28 August 2020 14:02
To: Django users
Subject: HTML Snippets instead of JSON-API

 

If you read the current articles about software development,

you get the impression that you must create

a backend API returning JSON (maybe via Django RestFramework)

and then create a GUI with React/Vue/Angular....

 

I am a backend geek. I like Python, Django, Linux, SQL, and try to avoid JavaScript.

 

Nevertheless I want to develop a modern GUI.

 

By chance I found a nice library:

 

 

This does exactly what I was looking for.

 

It helps you to update parts of your html page.

This way the server sends HTML to the client and htmx

inserts the snippets into the page.

 

At the moment I think I found the perfect library.

 

But maybe I am wrong.

 

Which alternatives exist, if you want to avoid JS

and render HTML and HTML forms with Django?

 

Regards,

  Thomas Güttler

 

 

 

 

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f737d8cb-6d11-4722-8351-459b903297bbn%40googlegroups.com.

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3474e2b4-0d5f-438e-b3e4-2065b8f27e8fn%40googlegroups.com.

No comments:

Post a Comment