I am not very familiar with the principle of implementing the wall function. After sending a message, you can use a simulated login to obtain the relevant information, and then the information is stored in the database. how can this information be displayed on the webpage. Is it to refresh the webpage once a second? ------ Solution ------------------ you can use ajax to regularly refresh or trigger a refresh event. You can also use the newly defined HTML5 web & nbsp; socket interface to establish persistent connections with the server.
I hope you can answer this question.
After sending a message, you can use a simulated login to obtain the relevant information, and then the information is stored in the database. how can this information be displayed on the webpage.
Is it to refresh the webpage once a second?
------ Solution --------------------
You can use ajax regular refresh or event-triggered refresh.
You can also use the newly defined web socket Interface of HTML5 to establish persistent connections with the server for instant communication between upstream and downstream.