php - How to implement an instant user message and notification system? -
i beginning write university graduation project , i've chosen create web based php/mysql restaurant management system in there 4 categories of users - clients can make orders, waiters clients' orders , them, cooks receive client orders , them notifying waiters when order done , finally, managers can add , remove waiters , cooks , edit or update restaurant menu.
the important part of application notification system - i.e. when client asks waiter clicking button waiter must notification , when cook ready order , clicks button notify waiter, waiter should notification immediately.
what best way implement such system using html/javascript/php/mysql?
you should websockets. it's new thing introduced in html5.
basically allows have two-way communication between browser , server time.
of course need mysql database , php server side scripting, javascript communication , html rendering result
Comments
Post a Comment