The 'How It Works' Series

With an understanding of web development using very high level languages and little hardware knowledge, I thought it was about time to dive in and really learn how the web works, from the bottom up. This plan is not intended to be static, rather continuously edited and updated with additional content that makes sense as I move along.

It is also anticipated that I do my due diligence and research freely topics I don’t understand, using resources I find that I may or may not document here. I plan to write blog posts along the way, to help assimilate new knowledge and note important things I want to have for reference in the future. That said, stay tuned for posts here!

So let’s get started.


  1. I will begin with what we can all connect with - What does it take to get a web page?, a brief tutorial of what really happens on a high level when we type in a web page.
  2. Then I cast a wider net, into How does the Internet work?, which details the infrastructure of the internet, from protocol stacks as a structure, to routing, to common application protocols.


  1. Definition of Network Units
  2. TCP Characteristics, Operations, and Structure
  3. More on TCP synchronization


  1. What is the difference between a port and a socket?
  2. Internet Sockets (only through section 3), which also details data encapsulation, more detail on IP addresses, and connecting that to writing actual code in C


  1. A brief intro to Websockets, making comparisons to AJAX in web development.
  2. The Introduction section of The Websocket Protocol
  3. Different communication techniques on the web
  4. Optional - Intro to AJAX, 2 weeks-long, gives a breather from networking and computer infrastructure, but would take my knowledge of javascript to the next level. In the course, I will be building a web app using Ajax best practices through various APIs.

Number Systems and C

  1. Intro to Hex, Decimal, Binary, Bits, and Bytes
  2. How Base64 came about
  3. Then I will begin to learn basic C, using Introduction to C, aiming to write a program that opens a web socket, while of course learning the basics of the language. I’ll write a program with a seg fault, and learn what a stack overflow is.

Hardware and Operating Systems

  1. Big and Little Endian
  2. Computer Science from the Bottom Up, etailing the fundamentals of operating systems through to how applications are compiled and executed. I don’t intend to read this front-to-back, rather gaining a thorough understanding of a couple main points: understand VM, CPU, binary, and C.
  3. Taking more of an electrical engineering approach, connecting hardware to software on a granular level, Code: The Hidden Language of Computer Hardware and Software

Networking and Security

  1. Networking for web developers, 2 weeks-long Udacity course, gives a practical introduction of tools that would allow me to explore under the hood of the web. This should strengthen my understanding of how the internet works by using real tools.
  2. Configuring Linux Web Servers, 1 week-long, will expand on my knowledge of http and networking with some hands-on experience, and also covers a topic of interest: web security, and how this works in a Linux server.
  3. Lastly, Client-server communication, 5 weeks-long, fills in the missing gap with some practical insights into the differences between HTTP1 HTTPS, and HTTP2, as well as instruction on how to resolve some common security issues in applications.