5 ms·
> React+Redux paired with an API For building a REST API, there are no frameworks or languages I know of that are easier, quicker, or more user-friendly than D
by jnbiche 8y ago
> React+Redux paired with an API
For building a REST API, there are no frameworks or languages I know of that are easier, quicker, or more user-friendly than Django REST Framework. I say this of someone who is not a big fan of Django in general (although it's not a bad framework).
However, I wish that Django REST Framework were build on top of an async HTTP server. Although it's never been an issue, I've occasionally in the past felt uneasy building APIs on top of Django since I know beyond a certain point scaling will be an issue. But either fortunately or unfortunately, I've never had that problem.
- swah 8y agoI'm trying DRF now (last project in Golang) and one point I have no idea which way to go is how to deliver updates to the mobile client (avoiding polling every N seconds). I'm not sure I want to try Django channels, which comes with its own spec (ASGI?) and possibly changes the entire way the Django application is run[1]. Should I go with Django channels or - my alternative idea - deploy a separate Golang server only for "real time updates" ? Then I can send updates by simply POSTing from Django to Golang, which forwards the update to the mobile client. [1] For example: https://channels.readthedocs.io/en/latest/topics/databases.html https://channels.readthedocs.io/en/latest/topics/databases.h...
- collinmanderson 8y agoThere's recent talk of giving Django an async option: https://groups.google.com/d/topic/django-developers/Kw7-xV6TrSM/discussion https://groups.google.com/d/topic/django-developers/Kw7-xV6T...