Boot.dev Blog ยป Backend ยป What Do Frontend and Backend Development Mean?
Art generated by Stable Diffusion. Prompt: 'servers and wesite, sci fi, novel art, no text'

What do Frontend and Backend Development Mean?

By Natalie Schooner on Dec 13, 2022

Curated backend podcasts, videos and articles. All free.

Want to improve your backend development skills? Subscribe to get a copy of The Boot.dev Beat in your inbox each month. It's a newsletter packed with the best content for new backend devs.

Soon after you dip your toe in the water of software development, you’re guaranteed to come across the terms “frontend” and “backend”. There are also frontend and backend developers, but what’s the difference? What do frontend and backend mean?

As it turns out, both frontend and backend development and systems involve coding, and they’re both important parts of developing software products, whether that’s a website, a desktop application, or a mobile app.

The frontend of the software is what the user sees. If you look at a website, even something as simple as a login page, everything you see on the page is considered the frontend. Frontend code dictates the style and layout of the page.

The backend of software exists behind the scenes. Once you’ve entered your username and password, the application needs to verify whether the information is correct. Your profile and password are saved on the server, and the backend is responsible for validating your login and letting the front-end know that it was successful.

Without a front-end, it’s almost impossible to develop an interactive and user-friendly product. Without a backend, there would be no data permanence or business logic. Both frontend and backend are necessary to make interactive software products.

What is frontend? ๐Ÿ”—

The frontend is like the worker of a drive-thru window. It’s the part of the drive-thru process which users directly interact with. The drive-thru worker might take the user’s order over the intercom, hand the prepared food to the user through the window, communicate the final price, and accept the money for payment.

The frontend, or the drive-thru worker, in this case, is not responsible for:

  • Chopping the onions
  • Frying the French fries
  • Grilling the burger patty
  • Assembling the burger
  • Depositing the money at the bank

The window worker, i.e. the frontend, is solely responsible for interacting with the customer and providing the user with updates, like handing over the prepared food and accepting the payment.

Now let’s apply that analogy to a website. The front-end is responsible for the user interface, client-side logic, formatting and sending requests to the backend, receiving responses from the backend, and digesting and updating the user interface based on the backend’s responses.

When you go to any website, the frontend is responsible for determining the overall layout of the page, scroll behavior, buttons, and overall styling. The user interface should also be interactive. The frontend not only defines what color the button is and where it appears on the page but also what the consequences of clicking on the button are.

In your journey to learn about the front-end, you’ll come across terms like “client-side logic.” Client-side logic in this case refers to the light computations or processing of information or interactions the frontend does before submitting a request to the backend. In our drive-thru analogy, this is like if you hand the wrong change to the worker. She can quickly do some math, tell you that you’ve overpaid, and give you back your change all without involving the backend.

For example, on the login page, the frontend will probably check the formatting of your email address to ensure it has an @, includes a period in the second half of the address, and that it follows the rest of the email address formatting rules.

The frontend is also responsible for formatting and sending requests to the backend. Once the frontend has verified the email format, it would format a login request and send it off to the backend. A common protocol to use for this communication between frontend and backend is HTTP (or HTTPS) which you probably know as the prefix to a lot of website URLs, like https://boot.dev.

A great course for learning how to properly set up and customize HTTP requests to connect your frontend and backend is Boot.dev’s HTTP course.

The backend will respond to the request, and the frontend is responsible for receiving these responses, digesting them, and updating the UI based on them. Once the server responds with the successful login status, the frontend should update the page to show the home page instead of the login screen.

Top Frontend Programming Languages ๐Ÿ”—

The most common frontend languages include HTML and CSS. These are the classic (and almost necessary) frontend programming languages, and they’ve been used to create user interfaces for close to 30 years. There’s so ubiquitous because browsers natively understand HTML and CSS. It’s practically impossible to build a front-end that works in a web browser without HTML and CSS.

JavaScript has become a very popular programming language for frontend development in recent years because it makes it so easy to create an animated user interface. A lot of the more modern frontend behaviors, like swipe effects, buttons that look like they get pushed deeper when you press on them, and much more, are thanks to JavaScript.

TypeScript is very similar to JavaScript and used for a lot of the same reasons, and each programmer has their preference between the two. TypeScript gained a lot of popularity thanks to Facebook’s React frontend development framework.

Top Frontend Frameworks ๐Ÿ”—

Frameworks make developing software a lot easier, given the structure and out-of-the-box functionalities that they come with. Some common frontend frameworks include React, Vue, and Svelte. MonoCubed has put together a comprehensive list of the most popular frontend frameworks and their pros and cons. Here’s a condensed version:

Where to Learn Frontend Programming ๐Ÿ”—

Frontend programming has a lot of aspects to it, but thankfully there are a lot of options for learning how to develop frontends for programs. Scrimba has a beginner’s guide to frontend development. FreeCodeCamp has a compilation of close to 200 articles and tutorials to help you learn frontend development. Boot.dev has both JavaScript and HTTP courses, which will teach you foundational concepts that will you developing robust frontends in no time.

There are plenty of coding bootcamps and online tutorials for you to learn how to develop frontends. One of my favorites for beginners is React’s tutorial since it’s extremely well-documented and so popular that it’s practically guaranteed to always be kept up to date. If you do it, you’ll feel like a pro in no time.

What is Backend? ๐Ÿ”—

We’ve covered the frontend. Now let’s take a look behind the curtains.

The backend of a software application handles the tasks that the user doesn’t directly see. The backend’s responsibilities include storing and arranging data, configuring communication between server, database, and application, and doing business-logic services. A backend developer would also be responsible for writing and maintaining APIs.

Those sound like meaningless buzzwords, don’t they? Let’s imagine Facebook’s backend as an example. The backend is responsible for storing and arranging the data that keeps track of your Facebook friends. When the backend configures communication, that means it makes your stored user profile available to the frontend, which is Facebook’s mobile app and website.

Let’s look at another example to understand business-logic services, which is an umbrella term that covers processes unique to that product or business.

For example, let’s say you’re on a bank’s website and logged in to your account. You want to request a transfer of funds.

After you press the “transfer” button, the frontend will format and send an API request with the information you provided, like the recipient’s account number and the amount you want to transfer. The backend server receives this request and springs into action.

There are probably quite a few different backend services that happen at this point, one of which will be responsible for actually executing the logic that removes the money from your account and adds it to the recipient’s account. Those various processes are business-logic services. They’re specific to the process of a bank funds transfer and wouldn’t be useful for a different product.

Top Backend Programming Languages ๐Ÿ”—

Most folks agree that when deciding to learn frontend or backend first, back-end should be your bedrock. (Plus, backend engineers earn more than frontend.) Frontend can be quite finicky to fully master, and it’s easy enough to get to the point where you can get a method to output what you intend it to.

For that reason, most classic computer science programs teach their students first with Java. Because of its universal recognition and classic design, Java remains very popular as a backend programming language. Some of the other top backend programming languages include Go, Python, JavaScript, and Rust.

Language Category Winner Who’s hiring?
Go Fastest growing Uber, Delivery Hero, Trivago, YouTube, Spotify
Python Most used for beginners AirBnB, SpaceX, Stripe
JavaScript Most used Facebook, Google, eBay
Rust Most loved Meta, AWS, Discord, Mozilla, Brave
Java Legacy LinkedIn, PayPal, Netflix
PHP Most likely to linger Meta, Wikipedia, Tumblr, Slack
Ruby Highest paid Crunchbase, Twitter, Etsy
SQL Best non-programming backend language Accenture, Dell, Microsoft

Table from our article on the subject of the best backend programming languages.

Each programming language has pros and cons, so picking which language to use to develop a backend depends on the constraints and the goals.

Common Backend Technologies and Frameworks ๐Ÿ”—

Frameworks are such an important part of developing maintainable, modern, and practical backend technologies. It’s no wonder so many companies and open-source communities have put in concerted efforts to develop powerful and useful backend frameworks.

Some of the most popular backend frameworks include Laravel, .NET, NodeJS, Django, and Flask. Statics & Data put together a cool motion graphic of the shifts in backend framework popularity over the last ten years.

Backend technologies are diverse and numerous. Kubernetes, Docker, Apache, TensorFlow, Apache Hadoop, and many more are astounding backend technologies that are extremely useful and specialized in what they do. If you’re not incorporating machine learning into your backend, TensorFlow probably isn’t something you need to use. Nonetheless, there are a bunch of cool tools out there. Some are free and some aren’t. There are even companies that offer backend-as-a-service, so you’d only have to concern yourself with the frontend and connecting it to the provided backend.

Common Databases Used in Backend Development ๐Ÿ”—

Databases and the management of them are integral parts of the backend. An application that doesn’t have permanence isn’t very useful. If your Google Drive didn’t save documents after you closed them, it wouldn’t be good for much.

The most common databases used in backend are MySQL, PostgreSQL, DynamoDB, and MongoDB. Boot.dev has put together a guide to the best backend technologies to decipher which database is best for each scenario, and if you’re interested in a deep dive in SQL you can check out their Learn SQL course.

Where to Learn Backend Development ๐Ÿ”—

If you’re interested in learning how to develop backends and want to know what goes on behind the curtain of a software application, there are a lot of great ways to learn how!

Whether you want to sign up for a backend bootcamp or start by following some tutorials, there are plenty of options. Boot.dev is a great option if you want to learn at your own pace and avoid paying high course fees. Nucamp offers more hand-holding, but costs significantly more. Nashua Community College is more affordable than Nucamp, but offers less direct interaction with instructors.

If you want to go for a cheaper option than coding bootcamps, tutorials are a great way to go. They’re almost always free, but it’s the most extreme self-taught route, which can be frustrating and slow.

FreeCodeCamp.org has put together a nice beginner’s guide to writing your first backend application. Since JavaScript is such a versatile and popular language, I think this guide to creating a backend in JavaScript is also worth a gander.

Backend vs. Frontend ๐Ÿ”—

Pitting them against each other is a false dichotomy. Backend and frontend are two sides of the same coin. They both involve writing code, running processes, accepting inputs and creating outputs, and they’re both needed to make amazing software products.

Each company or even team may draw the line between the two a little bit differently. Someone has to be responsible for the connection from the frontend to the backend, and even if you assign developers to be strictly backend or frontend, they do need to coordinate and communicate to create a seamless integration between the two.

By mastering these two tech stacks, you’ll be on your way to starting a solid career, earning some real money, and doing something fun and fulfilling with your job.

Find a problem with this article?

Report an issue on GitHub