php - Receive notification when something new happens on server side -


i'm building pos format of web application. have issue though. want notify waiter there new order ready go. made notification buttons menu style i'm not sure how notify server side client there new one.

my options saw ajax function calls php file every , updates div current active orders or w/e.

i know other options may have? how can push notifications server or there somehow can avoid doing ajax requests server every x seconds?

thank in advance.


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -