Hi, i think you use tornado. It's a simple way. On Aug 24, 2014 4:56 PM, "Rituparna Matkar" <rituparn...@gmail.com> wrote:
> Hi > > I am trying to finish a phonegap app with django as a backend. I want to > implement web sockets in this app. To give a use case, there are an array > of buttons that all the users can see, if one user makes any changes to the > button (enable/disables) the change should be visible to other users as > well. The way I am coin it right now is after every 3 seconds I am sending > a call to the server weather the status of the button has changed and if > yes I refresh the page. I believe there could be a better solution to this. > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/fbbe58cd-8986-4197-8516-77c37ac8dd87%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/fbbe58cd-8986-4197-8516-77c37ac8dd87%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAe_hYb9sjcb1vEr8Qtj_g5D3Lxuw6-EryMUrd2-5p-jcMb0eQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.