learning-software-engineering / learning-software-engineering.github.io

MIT License
15 stars 202 forks source link

Building Interactive Web Applications with WebSockets #519

Closed ananyamjain closed 6 months ago

ananyamjain commented 6 months ago

In the evolving landscape of web development, the need for real-time, interactive web applications is more prominent than ever. Users expect dynamic experiences with instant updates—be it in chat applications, live sports scores, or stock market feeds. Several CSC301 partners demonstrate needs for dynamic experiences within their products.

This is where WebSockets come into play, offering a powerful solution for bi-directional communication between a client and a server over a single, long-lived connection. I propose adding a new heading, "Building Interactive Web Applications with WebSockets" under the bigger section Tech Stacks to the wiki.

I intend to shed light on this by addressing the following topics -

  1. Introduction - Briefly introduce WebSockets and identify relevance to CSC301 curriculum.
  2. Understanding - This will include a technical overview
  3. WebSockets vs HTTP - Comparing these two to underscore WebSockets' advantages.
  4. Advantages and Disadvantages - Talk about benefits and cover some challenges and considerations.
  5. Setting up - Outline the basic setup requirements for a WebSocket project.
  6. Real-World Use Cases - Describe several applications of WebSockets in the real world
  7. Conclusion - Summarize the key ideas and include further readings.
JanelGilani commented 6 months ago

This proposal addresses a crucial aspect of modern web development and aligns well with the evolving needs of CSC301 partners and the broader industry landscape. WebSockets offer a powerful solution for real-time, interactive web applications, and providing an overview of their usage, advantages, and setup will be immensely beneficial for CSC301 students. Looking forward to seeing this content added to the wiki and exploring real-world use cases of WebSockets. Great initiative!

Aviral-03 commented 6 months ago

This is an excellent topic to delve into. While WebSockets may seem sophisticated and not commonly utilized in beginner projects, they are integral to larger software solutions. Therefore, understanding these concepts can greatly benefit CSC301 students, while giving them the ability to implement these solutions effectively.

ananyamjain commented 6 months ago

Completed