Ever wondered what actually happens when your JavaScript app talks to a backend server?
In this video, we break down exactly how data travels from a JavaScript client to a Go backend — and back again. We cover Serialization, Deserialization, JSON, and the OSI model in the simplest way possible.
If you are learning backend development, this is the one concept you cannot skip.
Topics Covered:
Why client and server cannot talk directly
What JSON is and why we use it
What Serialization means with real code
What Deserialization means with real code
How the OSI model fits into all of this
The full flow from client to server and back
00:00 - Introduction to Serialization & Deserialization
00:21 - Why do we need a common language? (Real-world analogy)
01:04 - The problem with different programming languages on Client vs Server
01:42 - What is JSON (JavaScript Object Notation)?
02:02 - Visualizing the Client-Server interaction (JS to Go example)
03:48 - Deep dive into Serialization
04:28 - Code Example: Converting JS Objects to JSON
06:03 - Deep dive into Deserialization
07:27 - How data travels: The OSI Model explained
08:08 - Overview of the 7 OSI Layers (Application to Physical)
10:55 - Summary of the Serialization & Deserialization cycle
12:24 - Key takeaways and Wrap-up