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 2 years ago

0 3 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (3)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 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 2 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 2 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.