Best way to push alert to webpage through php/jquery?
===

Just looking for some guru advice/tips as am building a home automation website for our new house.  Will have a php website that each PC (about 10-15) throughout the house will be able to access to perform tasks (eg play movies, music, control lights etc).

On this site, I'd also like to be able to ping a message to all PCs as a handy copy/paste tool (always needing to send links between pcs to view in different room).

What's the best way to go about this? Should I have a jQuery script that's making ajax requests every x secs? Should my php script do this? Would like to make it as efficient as possible, so any clever suggestions or wise words would be most appreciated!