Foundations — learning path
The layer under everything else: how bytes become text, how data is encoded, serialized, compressed and checked for integrity, what encryption and hashing really do, and how the network works from your laptop through Docker to Kubernetes (IP, NAT, DHCP, DNS, ports, firewalls, tunnels, troubleshooting). Every chapter has Go and Laravel code and a hands-on lab.
Legend
| Badge | Meaning |
|---|---|
| Must-know | asked in almost every interview; you meet it at work constantly |
| Important | frequent; expected at senior level |
| Good to know | extra depth that sets you apart |
| WIP / Todo | shown next to a chapter only while it is still being written |
How to read this page. Groups are in reading order and each one builds on the previous; short on time, take the Must-know chapters of every group first. The last column says in one line what the chapter gives you. Every chapter ends with a Self-check: questions & answers block (open/close all, filter by level); all questions are collected in the Interview Q&A hub.
Chapters
18 chapters · 18 complete
Data Representation & Integrity
| Chapter | Level | What you learn |
|---|---|---|
| Bits, Bytes & Text Encoding | Must-know | Everything a program stores or sends is a sequence of bytes; text is bytes plus an agreement (an encoding) about which characters they mean… |
| Binary-to-Text Encoding | Important | A binary-to-text encoding turns arbitrary bytes into a restricted alphabet of printable characters so they can travel through channels that only carry text; it costs size, it never adds secrecy… |
| Serialization Formats | Must-know | Serialization turns an in-memory value into bytes and back; the format you pick decides what those bytes can say (types, names, schema, versions), how big and fast they are… |
| Compression | Important | Compression removes predictability from bytes: an entropy coder gives short codes to common symbols, a dictionary coder replaces repeats with back-references, and every real codec (gzip, Brotli, zstd, lz4… |
| Checksums & Hashing | Important | A "hash" is three different tools under one name: checksums catch accidents, fast hashes spread keys, cryptographic hashes stand up to attackers, and none of them replaces the others. |
| Cryptography Fundamentals | Important | Cryptography is a small toolbox of primitives (ciphers, AEAD, MACs, signatures, key exchange, KDFs, randomness); each one buys a specific security goal… |
| Password Hashing & Signed Tokens | Must-know | Passwords are stored as slow, salted, parameter-tagged hashes; everything else you hand out (API keys, links, sessions, tokens) is either a hash of a random secret or a value signed with a key… |
| TLS in Practice | Must-know | TLS gives a connection three things (a private channel, tamper detection, and proof of who the server is); in practice every failure you meet is about the third one, certificates and trust. |
Networking for Developers
| Chapter | Level | What you learn |
|---|---|---|
| Network Models | Must-know | A network is a stack of layers where each layer wraps the one above in its own header, so "open a URL" is really six or seven small protocols taking turns on the same bytes. |
| IP Addressing | Must-know | An IP address is a number with a split in it: the left part names a network, the right part names a host on it, and every routing, firewall, VPC and Kubernetes decision is arithmetic on that split. |
| NAT, PAT & Port Forwarding; DHCP Lease Flow;… | Important | NAT lets many private hosts share a few public addresses by rewriting IP addresses and ports in flight and remembering each rewrite in a table… |
| DNS Resolution for Developers | Must-know | A name becomes an address through a chain of small decisions on your machine (library, nsswitch.conf, /etc/hosts, resolv.conf, caches) before any DNS server is asked… |
| Ports, Sockets & Connections | Must-know | A connection is a pair of sockets named by a 5-tuple; ports, file descriptors, kernel queues and timers are the finite resources behind every "connection refused"… |
| Firewalls | Important | A firewall is a list of rules that decide, packet by packet or flow by flow, what may enter, leave or cross a machine or a network; the whole skill is knowing where the rule list sits (host, container bridge… |
| Docker Networking | Must-know | A Docker container is a process in its own network namespace, wired to the host by a veth pair and a Linux bridge; Docker then writes NAT and filter rules so that containers can reach out… |
| Kubernetes Networking | Important | Kubernetes gives every pod its own IP on a flat network, puts a virtual IP and a DNS name in front of every group of pods, and lets you bolt on HTTP routing… |
| VPNs & Tunnels | Important | A tunnel carries one protocol inside another so traffic can cross a network that would not carry it directly; SSH forwards, WireGuard, mesh VPNs… |
| Network Troubleshooting Playbook | Must-know | Every network failure a developer meets shows up as one of about fifteen error strings, and each string tells you which layer broke and what to run next… |