News for hackers. Stuff that matters.
Re:Real-Time Django: Get Started with Django Channels by pbreit on Thursday March 17, 2016 @07:28PM (#11308512)
Well, obviously an SPA would not run into any of the cruftiness since you're just using Django as a "dumb pipe" to the DB.
Re:Real-Time Django: Get Started with Django Channels by mastazi on Thursday March 17, 2016 @08:42PM (#11308976)
Not all SPAs are based on the DB+"dumb pipe"+SPA stack, sometimes you need to process things on the server, based on your business requirements and/or performance considerations. Sometimes the processing done in that layer can be quite significant. If that is your need, both Django itself (using JsonResponse and serialization objects) and Django REST Framework allow you to do so much more than dumb piping.
Re:Real-Time Django: Get Started with Django Channels by ralmidani on Thursday March 17, 2016 @08:10PM (#11308768)
My point is Django is not limited by the fact that it was initially conceived as a framework for serving static web pages.