Skip to content

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 ​

BadgeMeaning
Must-knowasked in almost every interview; you meet it at work constantly
Importantfrequent; expected at senior level
Good to knowextra depth that sets you apart
WIP / Todoshown 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 ​

ChapterLevelWhat you learn
Bits, Bytes & Text EncodingMust-knowEverything 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 EncodingImportantA 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 FormatsMust-knowSerialization 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…
CompressionImportantCompression 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 & HashingImportantA "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 FundamentalsImportantCryptography is a small toolbox of primitives (ciphers, AEAD, MACs, signatures, key exchange, KDFs, randomness); each one buys a specific security goal…
Password Hashing & Signed TokensMust-knowPasswords 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 PracticeMust-knowTLS 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 ​

ChapterLevelWhat you learn
Network ModelsMust-knowA 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 AddressingMust-knowAn 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;…ImportantNAT 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 DevelopersMust-knowA 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 & ConnectionsMust-knowA 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"…
FirewallsImportantA 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 NetworkingMust-knowA 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 NetworkingImportantKubernetes 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 & TunnelsImportantA 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 PlaybookMust-knowEvery 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…

Built by Morteza Negahi