0

My webpage requests the data to database to get the updated value in every 3 seconds. is this standard way ?

22nd Nov 2016, 5:01 PM
shures
shures - avatar
4 Respuestas
+ 4
no use ajax to do this. Using only with PHP will slow down your webpage with little number of user.
22nd Nov 2016, 5:13 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
then you are using standard way, but there are many thing you can use to make your site load more fast. One of it is socket. But do not go there if you are a new programmer
23rd Nov 2016, 2:21 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
yup...I have used ajax..and It requests upadated data in background in every 3 seconds
23rd Nov 2016, 2:13 PM
shures
shures - avatar
0
would you please explain what socket does ?
29th Nov 2016, 11:50 AM
shures
shures - avatar