Socket.IO Practical Bootcamp - Quick Start for Beginners
Learn Socket.IO basics creating simple chat app and play around with Events and JavaScript.
Description
Learn Socket.IO basics and be prepared for more advanced courses with real life usage of Socket.IO.
Socket.IO is a library that enables real-time, bidirectional and event-based communication between the browser and the server. It is perfect solution if you are planning to build real time communication applications like chat, games apps etc. where most important thing is real time functionality.
The best way to learn Socket.IO is to create simple app where you will play with events, create listeners, and manage active sessions.
We will learn also how to work with JavaScript arrays (spread operator, filter, find methods etc.). We will manage our Client side UI with JavaScript and HTML and we will create element dynamically.
CSS styles will be provided to not loss time of styling the app as our main concern is to learn Socket.IO.
We will start with creating http server which we will connect with Socket.IO. At the next step we will prepare our playground in HTML. After that we will be ready to start learning Socket.IO. We will cover broadcast, store active session at server side, emit an events, listen for events, create rooms, emit an events to specific clients and rooms.
We will be not covering advanced concepts like:
Adapters which are needed if we can have multiple instances of our server (It will be covered in other course with real apps where we will be using Socket.IO)
Validation - Also they will be covered in more advanced courses where we will need to spread our Socket.IO logic.
What You Will Learn!
- SocketIO basics
- Emitting Events
- Listening for Events
- Broadcast
- SocketIO Rooms
- Emitting directly events to one user
- Store active sessions is server side
- Manage HTML code using JavaScript
- Create HTML elements with JavaScript
- Create SocketIO connection
- Create HTTP Server
- Basics about Namespaces
Who Should Attend!
- Students which would like to learn basics about SocketIO