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.

Falcon - Bare-metal web API framework for Python<https://falconframework.org/>
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.

Hope this helps


Eric

________________________________
From: [email protected] <[email protected]> on behalf 
of Charley Paulus <[email protected]>
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 [email protected].
To post to this group, send email to [email protected].
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.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/VI1P193MB04326D9BB6EB175F38C29FD58CF20%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to