List of topics covered in a workshop
afronski opened this issue · 4 comments
afronski commented
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?
- Only
Feedback and help is welcome! 😉
afronski commented
My proposition:
- Assignment about
Buffer
. - Assignment about
EventEmitter
. - Creating simple server which will act as a
Echo
protocol implementation. - Creating simple client which will act as a
Echo
protocol consumer. - Setting up very simple
socket.io
server. - Setting up very simple
socket.io
client. - Using hubs and broadcasting in
socket.io
. Publish-subscribe
pattern in cleanws
implementation.- Consuming incoming messages as streams - Assignment 1.
- Consuming incoming messages as streams - Assignment 2.
- Preparing server where user can spin up a long running task, which communicates success, error and progress for each user separately.
pawelrychlik commented
This looks promising 👍 Let's see it in practice!
LukaszWiktor commented
@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.
afronski commented
FTR: There are some ideas at nodeschool/workshoppers#28