rspective/websockito

List of topics covered in a workshop

afronski opened this issue · 4 comments

Propositions of topics that should be covered in the workshop:

  • Creating client.
  • Setting up the very simple server.
  • Bidirectional communication.
  • Publish-subscribe pattern.
  • Using Node.js primitives (e.g. streams) to work effectively with it.
  • Topics specific only to socket.io.
    • Only >= 1.0.0 or earlier versions as well?
    • Different workshop maybe?

Feedback and help is welcome! 😉

My proposition:

  1. Assignment about Buffer.
  2. Assignment about EventEmitter.
  3. Creating simple server which will act as a Echo protocol implementation.
  4. Creating simple client which will act as a Echo protocol consumer.
  5. Setting up very simple socket.io server.
  6. Setting up very simple socket.io client.
  7. Using hubs and broadcasting in socket.io.
  8. Publish-subscribe pattern in clean ws implementation.
  9. Consuming incoming messages as streams - Assignment 1.
  10. Consuming incoming messages as streams - Assignment 2.
  11. Preparing server where user can spin up a long running task, which communicates success, error and progress for each user separately.

This looks promising 👍 Let's see it in practice!

@afronski I would omit first 2 assignments (Buffer and EventEmitter) since they are covered by other workshoppers. Instead the Echo assignment could be developed in several simple steps:

  • accept a connection
  • respond to a message
  • react to a connection close

After that the Echo could evolve into a Chat app - broadcasting a message from one client to all connected clients.

FTR: There are some ideas at nodeschool/workshoppers#28