How to create an auto-refresh live news website? Which is the best technology to use for building such a website? [closed]

General Tech Technology & Software 3 years ago

4.83K 3 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (3)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 years ago

I want to go about creating a news website that posts local news. This website should have the auto refresh capability(The user should have the option to turn it off). Which is the best technology that I should use for building such a website? I am quite proficient in Html and Java. I wanted to know if there is any technology or programming language that I can learn quickly and get to work on this website development.

0 views
0 shares

profilepic.png
manpreet 3 years ago

I would go for HTML5 in combination with WebSockets. The WebSocket protocol is very efficient and can be used for your scenario. Depending on the size of your news messages, you can either send the content directly via WebSocket messages, or - which I personally would prefer - notify the page to fetch news content with Ajax and put that on the page. So you get realtime notifications with minimum overhead (that means, you don't have to check for new content periodically).


0 views   0 shares

profilepic.png
manpreet 3 years ago

I would go for HTML5 in combination with WebSockets. The WebSocket protocol is very efficient and can be used for your scenario. Depending on the size of your news messages, you can either send the content directly via WebSocket messages, or - which I personally would prefer - notify the page to fetch news content with Ajax and put that on the page. So you get realtime notifications with minimum overhead (that means, you don't have to check for new content periodically).


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum