Backend

In the computer world, the "backend" refers to any part of a website or software program that users do not see. It contrasts with the frontend, which refers to a program's or website's user interface. In programming terminology, the backend is the "data access layer," while the frontend is the "presentation layer."

Most modern websites are dynamic, meaning webpage content is generated on-the-fly. A dynamic page contains one or more scripts that run on the web server each time the page is accessed. These scripts generate the content of the page, which is sent to the user's web browser. Everything that happens before the page is displayed in a web browser is part of the backend.

Examples of backend processes include:

  1. processing an incoming webpage request
  2. running a script (PHP, ASP, JSP, etc.) to generate HTML
  3. accessing data, such as an article, from a database using an SQL queries
  4. storing or updating records in a database
  5. encrypting and decrypting data
  6. handling file uploads and downloads
  7. processing user input via JavaScript

All of the examples above, besides the last one, are server-side processes that run on the web server. JavaScript is a client-side process, meaning it runs in the web browser. JavaScript may be considered a backend or a frontend process, depending on if the code affects the user interface or not.

The backend and frontend work together to create the full user experience. Data generated in the backend is passed to the frontend and presented to the user. While some organizations have separate backend and frontend development teams, the line between the two layers is rarely black and white. Therefore, many developers write code for both the backend and frontend. This is known as full-stack development.

NOTE: Backend may also be written "back end" (as a noun) or "back-end" (as an adjective). For simplicity, "backend" (the closed compound word) has become an acceptable term for both.

Updated April 11, 2020 by Per C.

quizTest Your Knowledge

What is the difference between freeware and shareware?

A
Freeware is always open source, while shareware is not.
0%
B
Freeware is developed by a community, while shareware is created by a single developer.
0%
C
Freeware is free to use forever, while shareware is often a limited-time trial.
0%
D
Freeware is platform-specific, while shareware is multiplatform.
0%
Correct! Incorrect!     View the Freeware definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Backend on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.