Reputation: 714
My apologies in advance as this may be lengthy.
I'm trying to determine if what I need is socket programming or some other technology.
What I'd like to do is have the web app automatically update as new data is inserted into the database. My limited understanding leads me to believe that socket programming could accomplish this but I can't find answers to my questions (perhaps because I don't know where to look).
So, with that said, here are my questions:
Any resources that you could direct me to would be great and much appreciated. I've read the basics on php.net and a few blog posts but nothing very in depth.
Upvotes: 1
Views: 264
Reputation: 28151
You should avoid opening a second custom socket in a webapp. Since it requires you to set up port forwarding and firewall rules to get it running.
You should look for WebSocket, polling or long-polling.
Upvotes: 1