Computer software is becoming more and more complex and made up of many parts. We all know that, so there's no need to dwell on it. It didn't happen recently but over the last dozen or so years, and small programs made of a few source files now exist mostly in language or algorithm tutorials. Clients feel it too: during conversations they are sometimes buried in technical terms, some of which are gradually becoming clearer while others are still black magic. Sometimes clients also want to meet the team building the system for them and understand their roles. That's hard to do without knowing the terms "frontend" and "backend". They are what we'll cover today, and we'll explain what they actually mean.

As we already know, applications are increasingly complex and split into layers. This has many benefits, because individual pieces can be built by different developers (or even different teams), which not only speeds up development but also lets specialists from different fields focus on what they like best. True, we haven't reached the level of doctors who devote themselves to one specific field of medicine, but it's still hard to find a developer who will work with equal skill and passion on the structure of database queries and on centering a subsection heading on one of the subpages. Of course, versatile developers exist and are valued, but there's no denying that everyone has preferences, which can be summed up roughly as "likes working on the frontend" or "likes working on the backend".

The frontend ("front" for short) is the part of the software that you can see. That's the shortest way to put it. It consists of the user interface (colloquially, the "views"), the application layout (the graphic template), the visible reaction to what the user does and everything that happens on the browser side (taking web applications as the example). If you admire a website's beautiful "graphics" and clarity, you are most likely tipping your hat to the work of graphic designers or UX designers. If the site works without "lags", reacts correctly to clicks and everything eventually finishes loading, that means the frontend developers did their job well. This is the kingdom of HTML, CSS (or rather various CSS preprocessors) and above all JavaScript and TypeScript. Of course, I'm simplifying a lot, but that is the nature of this text, which is meant to give non-technical people an idea of "what it's all about".

The backend ("back" for short, or the "back room", though that is rarely said), on the other hand, is the "logical" part, which has no graphical interface of its own but is responsible for delivering data to the views and handling the so-called business logic, that is all the operations that affect the system's data and processing. This is where the complex algorithms (if needed) that suggest solutions to users live (say, recommended accounts to follow). This is also where the API sits, which is exposed not only to the frontend but often to other interested parties who want to integrate with the system (if its design allows for it). You could say it's the thankless part (like a soccer referee): when it works properly, nobody notices it, but if something is wrong with it, users immediately complain. Besides, backend developers rarely get to show off their work. Frontend developers can show a nicely working (in motion) website, whereas the "back end" people are unlikely to knock a room off its feet with a demo of an authorization module. On this side the range of languages and technologies is much wider, and if I name just PHP, C#, Java, Node.js or Python, I'll surely turn the fans of other languages against me. Oh, I actually just named them.

It's also worth mentioning that these terms are fairly flexible. A piece of software can have many frontends (for example client applications for different groups of users), and just as many backends (for example various APIs or application subservers). What's more, some people call the client application the "front" and the administration panel the "backend". Still, understanding them as the two large parts of the software is much more common and "canonical".

Of course, both functions are needed, and most often they are shared among many people. A system has to work well, look decent and behave correctly. There are also wizards who like to roam between these sides of the barricade. We call them full stack developers, although the term is a bit broader and sometimes also covers the skill of properly deploying an application to a server. But that is often handled by DevOps people. As you can see, there are quite a few of these terms. This leads us to the obvious conclusion that building software is teamwork, and besides frontend and backend developers you also need to think about graphic designers, designers, testers, administrators, project managers and other, truly varied people (not to mention clients, who provide the spark for everything), who help reach the ultimate goal: a good application that, above all, meets the client's expectations.

I hope that now, when you hear the terms "frontend" and "backend", you'll feel at home and easily work out which part of an application is being talked about. And if not, don't hesitate to ask. IT specialists usually can't wait to talk about the techniques of their work. Just a warning: sometimes it's a bit boring.

Best regards, Jakub Rojek