Monday, July 24, 2017

From old-school Post/Redirect/Get to modern web

I use Post/Redirect/Get since several years. I use simple HTML forms (via ModelForm) with a plain old submit-button.

Above pattern works.

But I think the web of the future works different.

Up to now my web application sends html to the web client. I think modern web applications
don't send html, they send data (in json format).

I guess in the future web clients render the (json) data using a library/framework.

For me this client-side rendering is completely new. I have no clue where to start this adventure.

I guess django-rest-framework could help on the server side....

Has anyone hints or practical experience?



--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9151365a-2497-4db4-aaaa-90ea50a350eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment