First of all I saw this post and it is almost what I need but I am a bit confused.
If I am using shared hosting that allows me to install node, socket etc...
But I have one server. How can I use realtime with node/socket on my apache server... Basically i am wondering how does it works... Everywhere i searched i found how to create node server and set up website there but I want to use node/socket only for realtime data fetch.
So beside how to run that on apache server I want to know this:
If my website with code like:
<input type="text" name="text">
<input type="submit" name="send" value="Send">
And I have ajax for sending data somewhere and update database. I don't understand now what I am saying to node? "Connect to that database and get new data each time it is updated." Or something else?
Or on the mentioned post someone commented use node to store your data it is faster?
How that work? How can I communicate with node? I am so confused....