Sunday, December 28, 2014

Re: cake events

Thanks mark

Looks interesting, will certainly see what else can be done with push.

Hope anyway that our previous text helped with finding a solution.

Enjoy, John

On Saturday, 27 December 2014 22:06:15 UTC+2, euromark wrote:
For a small community application I also still ajax PULL every x seconds for this.
As long as the users stay in a range (< xxxx ?) this might very well work as a (short term) solution.

The state of the art approach would be  a PUSH notification service, though, as described

mark


Am Samstag, 27. Dezember 2014 09:01:27 UTC+1 schrieb . .:
Hi. I am implementing a Message system (ie, user A sends a message to user B). After user A sends a message to B, I would like to show the number of unread messages. One way of implementing this is to check for any new messages on every page refresh. Could I instead use trigger a cakephp event? Can I trigger an event in user A's session and have the listener be in another (user B) session? Thanks.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: