Skip to content
Advertisement

Real time website information/content updating [closed]

Since a year and a half I am trying to figure out how some websites update their content in real time without AJAX method.

Please see this example website: https://pro.btcturk.com/en/basic/exchange/BTC_TRY

That website is changing many texts within content in different timing. It means that when the server is updated with new values in the database then the website is listening to database changes and then reflecting/delivering inside content without ajax calls.

Can someone give an example how to achieve such functionality possibly using Javascript or PHP normal hand-code appreciated?

Thank you

Advertisement

Answer

You can see the process here:

More information here: Websockets

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement