HI Collin, Thanks for pointing that out. Apart from the documentation, do you have any examples of how to implement it?
Thank you. On Thu, Nov 13, 2014 at 5:55 AM, Collin Anderson <cmawebs...@gmail.com> wrote: > Hello, > > From a front-end standpoint, I personally like EventSource for this, > though you could also use websockets or polling (checking every few > minutes/seconds). > > https://developer.mozilla.org/en-US/docs/Web/API/EventSource > http://en.wikipedia.org/wiki/Server-sent_events > > Collin > > On Tuesday, November 11, 2014 8:12:43 PM UTC-5, Max Nathaniel Ho wrote: >> >> I found this excellent example on Chrome Desktop Notification - Chrome >> desktop notification example? >> <http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F2271156%2Fchrome-desktop-notification-example&sa=D&sntz=1&usg=AFQjCNEWGRx6xl4wkT7WpHZcsuH2mh0Atg> >> >> I am able to create the Desktop Notification by clicking a button. >> >> However, that is pretty front-end. >> >> I would like to find out how to link an event in the web app. For >> example, the event could be someone posting a job for a freelance work. >> And user who is logged into the web app but not actively browsing on the >> web page will be notified via the Chrome Desktop Notification. >> >> Are there any examples of how I can create a Event Handler to listen to >> data in the backend, and prompt the user via the Desktop Notification? >> >> Many thanks! >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/64rg0i9ChyY/unsubscribe. > To unsubscribe from this group and all its topics, 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/c162fe08-81fa-4a25-aa55-30bd2821ce2b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c162fe08-81fa-4a25-aa55-30bd2821ce2b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Regards, Max Nathaniel Ho. -- 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/CAMognGFTsKL5dHEUxAdx3VkbjDHe-nXkEi8uq_riPmnwuLWf4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.