Hi,
If the JSON is related to a data model, and if this model is elaborated and subject to evolution in the furure, Django can help a lot. Add Django RESTFramework to the combo to take care of the REST stuff.
If not, I'd suggest Falcon (https://falconframework.org/), which is a light and very efficient framework made for developing REST based services. I've used it quite a lot for writing micro-services of a complex platform. Services working with data models are developed on top of Django. The other ones are Falcon based.
falconframework.org Extended Test. Falcon was also benchmarked under CPython 3.6 with a more realistic scenario, in which the routing table had multiple entries, the query string contained percent-encoded characters, and several complex response headers were set in the response. |
Eric
From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf of Charley Paulus <charley.paulus@gmail.com>
Sent: Saturday, October 27, 2018 3:13:33 PM
To: Django users
Subject: Django to serve JSON: overkill?
Sent: Saturday, October 27, 2018 3:13:33 PM
To: Django users
Subject: Django to serve JSON: overkill?
Hi,
Is it overkill to use Django just to dispatch url requests and to reply with JSON (i.e. not using at all the HTML template engine)?
Thanks.
Best regards,
Charley
--
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/fac5482d-3d6d-4970-8700-61a710026ba5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is it overkill to use Django just to dispatch url requests and to reply with JSON (i.e. not using at all the HTML template engine)?
Thanks.
Best regards,
Charley
--
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/fac5482d-3d6d-4970-8700-61a710026ba5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment