Miguel,

You motivated me to write up an intro blog post to using Channels and DRF 
together. It's here if you want to take a look 
http://oddbird.net/2018/12/12/channels-and-drf/

I hope it's helpful, and I'll try to answer any other questions you might 
have!

--Kit

On Wednesday, December 5, 2018 at 11:16:55 AM UTC-7, Miguel Expósito wrote:
>
> Hi, Tom:
>
> I'm thinking of starting a new asynchronous project with a Vue frontend 
> and a DRF backend. I'd need events and updates from the server, and I 
> thought of Django Channels. What is the current status of this feature in 
> DRF? Is there any roadmap? Any estimated release date? What would be your 
> advice in a situation like this? Maybe using Daniel's or somebody's plugin 
> or extension?
>
> I'm considering using other technology such as node.js, which has native 
> support for this. But I'd like to use DRF because of our existing knowledge 
> of Python.
>
> Any advise is welcome.
>
> Thanks a lot in advance.
>
> El jueves, 15 de febrero de 2018, 15:26:59 (UTC+1), Tom Christie escribió:
>>
>> Sounds interesting. Not sure I have any particular suggestions, but can 
>> add some context around the plans I had. (Possibly still *have* , at a 
>> later date.)
>>
>> My rough plan for Websockets support is a little similar, in that it'd be 
>> able easy ways to mirror an existing HTTP endpoint with an equivalent WS 
>> endpoint that provides streaming updates whenever the content changes. 
>> Personally I was planning to approach it as a separate proxy service, and 
>> use Redis Pub/Sub for the webapp to notify the Websocket server whenever 
>> there are changes.
>>
>> An approach that works entirely in Django would be great tho.
>>
>> Separate issue this, but I think the biggest thing missing for folks ATM 
>> is probably just a lack of tutorials or blog posts on using Channels and 
>> REST framework together.
>>
>>   - T.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to