PHP for node.js communication
I am trying to create a notification system very similar to SO (one when a new message is received). My site is built in PHP and I would like to be notified when data is inserted into the DB from PHP.
At the top of my head, I was just curling up the server node passing some post parameters to it, is this the correct way to do it?
Is there any good practice (security, performance ...)?
source to share