Don’t know exactly what you mean.
Are you looking to something like that? https://book.cakephp.org/3.0/en/views/cells.html?
Or do you want to push notifications to mobile users or push messages out of browser to operation systems like message center in windows and macOS?
Hello, thanks for answering, I want to push notifications to mobile users and push messages out of browser, my customers need to know for example a new tickets was created.
Thanks a lot, saludos y gracias.
When using ajax, we are sending requests to server periodically. Depends on the interval, it can result in large number of server hits, which can become the bottleneck easily.
some plugin in cake 3.6??? some example? thanks a lot
Yes , AJAX is the last option, and no one recommend to do that, you can use pusher or websocket or Firebase Cloud Messaging.
I have used websocket in one of my project.
For websocket use https://github.com/voryx/Thruway for backend , And wampy.js for frontend.
It’s pub-sub model, so server publish notification and client recieve that subscribed notification topic.
I wanna use Firebase Cloud Messaging. Any example to help? thanks a lot
Very nice share, thanks munavvard222, the docs are amazing and a great scalable solution for small projects !!!