The Great Divide: When Web Development Bifurcated into Frontend and Backend
· 4 min read
Today, software engineering roles are very much divided into the fields of frontend and backend. But it wasn’t always like this.
Long ago, when the ability to share information over a network was first invented, all people were doing was sending text. In fact, the structured format of that text is what gave rise to the normal web as we know it today, thanks to the Hypertext Transfer Protocol (the rules that web browser clients understand).
A simple example of an HTTP text response a web browser gets from a server looks like this:
HTTP/1.1 200 OK
Content-Type: text/html
<html>
<body>
<h1>Hello, World!</h1>
<p>This is a simple text response over the network.</p>
</body>
</html>
Well, people started exposing endpoints on the network, and the web became the standard way to showcase that information. HyperText Markup Language (HTML) was created to share information rendered in a way that was friendly for web browsers.
Soon, people started linking their pages. In fact, people were sharing information over the internet so much that it became difficult to track where it was all coming from. Search engines like Google came up back in the day to solve this exact problem.
The internet was then seen as a revolutionary technology - at least, there was a good debate around it. People started seeing the internet as a way not just to showcase information, but to actively exchange it. This was indeed revolutionary, and businesses started forming around it. As a matter of fact, if you had a .com at the end of your domain, you were deemed to be creating something worth investing in. The dot-com bubble crash was the ultimate evidence of how “successful” every business really was, but nonetheless, a lot of companies - Google, Amazon, Intel, did survive the bubble and became the household names they are today.
But there was still a problem. Remember the linking of those pages? A business website would have to link its different webpages together: they would have a home page, a product page, a contact page. Clicking on each link would request the complete HTML from the server all over again, even though the header, the footer, and many components of the website remained exactly the same.
This quickly started becoming a bottleneck as the number of users increased. But it got some people thinking about how to make the website components remain on the client side, and just request different data for each page. This thinking gave rise to what we know today as the Single Page Application (SPA).
Single Page Applications had all the information about how the User Interface components would look, and based on predefined rules, they could fetch data from the server and render it dynamically on the webpage. This was largely made possible by a technology called AJAX (Asynchronous JavaScript and XML), which allowed browsers to communicate with the server in the background without interrupting the user. Now, the paradigm shifted from downloading the whole HTML on every link click to simply loading the HTML once, and using AJAX to request just the raw data on subsequent calls.
However, SPAs went through their own intense iterations. With screen sizes exploding into a massive variety of shapes and resolutions, from large desktop monitors down to mobile phones. Some developers started specializing purely in building these complex, dynamic interfaces. That became the modern Frontend. But fetching and managing that data wasn’t exactly easy either. With the sheer volume of internet users rising, routing logic, scaling databases, and handling information securely became a colossal task of its own. This necessity evolved into what we know today as Backend engineering.
What started as just sending text back and forth over a network had finally split into two distinct, highly specialized disciplines.