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 ?, You can use ajax regular refresh or event-triggered refresh. You can also use HTML5 to implement new functions of the wall.
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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.