+ 1
Messaging system in php
Please does anyone know of any tutorials or have a code for messaging in php mysql. If yes please can you show me.
8 odpowiedzi
+ 2
like live/realtime chat ? my initial thought would be websocket but i havent heard a lot if implementation in php, i'm prettry sure there are some.
though you can try long polling strategy as backup plan.
+ 1
What's a websocket
+ 1
websocket ? its 2 way comunication between server and client (browser). you can find topic related to it easily on the web
+ 1
I like to use a backend-as-a-service as it is more reliable, secure and available when your site is down. Pusher is my favorite, Firebase is also good.
For Pusher, you should create an account at pusher.com and select your tech stack. You will be directed to your dashboard.
0
Thanks, but it's not really what I need
0
But please do you know of any tutorials for making a messaging system
0
Ore isnt firebase is a bit too much ? i mean its fine on personal level and i would argue its easiest way to setup, but for normal app that used for real its already quite expensive i cant imagine the chat app.
i havent use pusher, but i like pubsub pattern