I have a POS software developed in PHP and running as a web application. I need to have dual monitors, one facing the employee with full details (sales screens showing heaps of options) and another monitor facing the customer with summarized information (ex. item, price list only)
How can that be achieved?
Many thanks
Because your dealing with the web, event driven development is not going to be possible. So to get around this, you will need to have two browser instances (1 per monitor) where the waitress side will need to do an ajax push on each update and the customer end will need to do some kind of ajax polling based on a timer. There is a lot of information all over the internet about how to accomplish this sort of thing. Take a look at Push notification to the client browser for some more discussion on the topic. There are some less supported methods you maybe able to leverage like realtime push notifications or multipart/x-mixed-replace MIME type or Comet or HTML5 Websockets.