Frontend and backend

In software engineering, the terms frontend and backend (sometimes written as back end or back-end) refer to the separation of concerns between the presentation layer (frontend), and the data access layer (backend) of a piece of software, or the physical infrastructure or hardware. In the client–server model, the client is usually considered the frontend and the server is usually considered the backend, even when some presentation work is actually done on the server itself.

Introduction

In software architecture, there may be many layers between the hardware and end user. The front is an abstraction, simplifying the underlying component by providing a user-friendly interface, while the back usually handles data storage and business logic.

In telecommunication, the front can be considered a device or service, while the back is the infrastructure that supports provision of service.

A rule of thumb is that the client-side (or "frontend") is any component manipulated by the user. The server-side (or "backend") code usually resides on the server, often far removed physically from the user.

Software definitions

In content management systems, the terms frontend and backend may refer to the end-user facing views of the CMS and the administrative views, respectively.[1][2]

In speech synthesis, the frontend refers to the part of the synthesis system that converts the input text into a symbolic phonetic representation, and the backend converts the symbolic phonetic representation into actual sounds.[3]

In compilers, the frontend translates a computer programming source code into an intermediate representation, and the backend works with the intermediate representation to produce code in a computer output language. The backend usually optimizes to produce code that runs faster. The frontend/backend distinction can separate the parser section that deals with source code and the backend that generates code and optimizes. Some designs, such as GCC, offer choices between multiple frontends (parsing different source languages) or backends (generating code for different target processors).[4]

Some graphical user interface (GUI) applications running in a desktop environment are implemented as a thin frontend for underlying command-line interface (CLI) programs, to save the user from learning the special terminology and memorizing the commands.

Web development as an example

Another way to understand the difference between the two is to understand the knowledge required of a frontend vs. a backend software developer. The list below focuses on web development as an example.

Both

Frontend focused

Backend focused

Note that both positions, despite possibly working on one product, have a very distinct set of skills.

API

The frontend communicates with backend through an API. In the case of web and mobile frontends, the API is often based on HTTP request/response. The API is sometimes designed using the "Backend for Frontend" (BFF) pattern, that serves responses to ease the processing on frontend side.[5]

Hardware definitions

In network computing, frontend can refer to any hardware that optimizes or protects network traffic.[6] It is called application front-end hardware because it is placed on the network's outward-facing frontend or boundary. Network traffic passes through the front-end hardware before entering the network.

In processor design, frontend design would be the initial description of the behavior of a circuit in a hardware description language such as Verilog, while backend design would be the process of mapping that behavior to physical transistors on a die.[7]

See also

References

  1. ^ "Front End vs Back End of Your Website: Everything You Need to Know". DOJO Creative. 7 February 2020. Archived from the original on 1 September 2022. Retrieved 31 August 2022.
  2. ^ Thapliyal, Vimal. "Difference Between Frontend and Backend MVC – Joomlatuts". joomlatuts.net. Archived from the original on 30 December 2016. Retrieved 30 December 2016.
  3. ^ Gutierrez--Osuna, Ricardo. "L18: Speech synthesis (backend)" (PDF). tamu.edu. Texas A&M University. Archived from the original (PDF) on 14 February 2019. Retrieved 29 December 2016.
  4. ^ Bin Muhammad, Rashid. "Operating Systems Notes". www.personal.kent.edu. Kent State University. Archived from the original on 31 August 2018. Retrieved 30 December 2016.
  5. ^ Wickramarachchi, Viduni (24 February 2021). "The BFF Pattern (Backend for Frontend): An Introduction". Bits and pieces. Archived from the original on 27 March 2024. Retrieved 13 November 2021.
  6. ^ O'Dell, Mike. "Network Front-End Processors, Yet Again | June 2009 | Communications of the ACM". cacm.acm.org. Archived from the original on 2016-12-30. Retrieved 2016-12-30.
  7. ^ "Front-End Design | Online Documentation for Altium Products". techdocs.altium.com. Archived from the original on 2016-12-30. Retrieved 2016-12-30.

Read other articles:

Masjid Agung Al-FalahAgamaAfiliasiIslamLokasiLokasiKota Jambi, IndonesiaArsitekturTipeMasjidPeletakan batu pertama1971Rampung1980 Masjid Agung Al-Falah merupakan masjid terbesar di Jambi, Indonesia. Masjid ini juga dikenal sebagai Masjid 1000 Tiang, meskipun jumlah tiangnya hanya 256.[1] Masjid ini dibangun pada tahun 1971 dan selesai pada tahun 1980, bangunannya memang hanya seperti sebuah pendopo terbuka dengan banyak tiang penyangga dan satu kubah besar di atasnya. Lokasi Masjid Agung…

Penyuling tembaga leher angsa di tempat penyulingan Glenfiddich yang memproduksi wiski. Penyuling atau dalam bahasa Inggris disebut Still dalam teknik kimia adalah alat yang digunakan untuk mendistilasi campuran cairan dengan memanaskannya hingga mendidih secara selektif dan kemudian cairan mendingin guna mengembunkan uap.[1] Penyuling menggunakan konsep yang sama dengan alat distilasi dasar, tetapi dalam skala yang jauh lebih besar. Still telah digunakan untuk memproduksi parfum dan oba…

العلاقات الصينية الدومينيكية الصين دومينيكا   الصين   دومينيكا تعديل مصدري - تعديل   العلاقات الصينية الدومينيكية هي العلاقات الثنائية التي تجمع بين الصين ودومينيكا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقارن…

H.Waris ThalibS.Ag. M.M. Wali Kota Tanjungbalai ke-15PetahanaMulai menjabat 22 Agustus 2022 (Pelaksana Tugas: 3 Mei 2021 — 22 Agustus 2022)PresidenJoko WidodoGubernurEdy RahmayadiHassanudin (Pj.) PendahuluM SyahrialPenggantiPetahana Wakil Wali Kota Tanjungbalai ke-5Masa jabatan26 Februari 2021 – 22 Agustus 2022PresidenJoko WidodoGubernurEdy RahmayadiWali KotaM Syahrial PendahuluIsmail MarpaungPenggantiLowong Informasi pribadiLahir5 Juni 1971 (umur 52)Sei Apung, Suma…

Castelfondo abolished municipality in Italy (en)Frazione Castelfondo (it) Tempat Negara berdaulatItaliaRegion otonom dengan status khususTrentino-Tirol SelatanProvinsi di ItaliaTrentinoCommune di ItaliaBorgo d'Anaunia (en) NegaraItalia Ibu kotaCastelfondo PendudukTotal614  (2017 )GeografiLuas wilayah25,87 km² [convert: unit tak dikenal]Ketinggian948 m Berbatasan denganBrez Fondo Laurein (en) St. Pankraz (en) Unsere Liebe Frau im Walde-St. Felix (en) SejarahSanto pelindungNikolas dari …

Basilika Bunda PenolongBasilika Minor Bunda PenolongPrancis: Basilique Notre-Dame de Bon-SecoursBasilika Bunda PenolongLokasiPéruwelzNegaraBelgiaDenominasiGereja Katolik RomaArsitekturStatusBasilika minorStatus fungsionalAktif Basilika Bunda Penolong (Prancis: Basilique Notre-Dame de Bon-Secours) adalah sebuah gereja basilika minor Katolik yang terletak di Péruwelz, Belgia. Basilika ini ditetapkan statusnya pada 1910 dan didedikasikan kepada Bunda Penolong.[1] Lihat juga Gereja…

Carlos Bonet Informasi pribadiNama lengkap Carlos Bonet CáceresTanggal lahir 2 Oktober 1977 (umur 46)Tempat lahir Asunción, ParaguayTinggi 176 m (577 ft 5 in)Posisi bermain Right wingerInformasi klubKlub saat ini LibertadNomor 8Karier senior*Tahun Tim Tampil (Gol)1997–1998 Sol de América ? (?)1998–2002 Atlético de Rafaela ? (?)2002–2007 Libertad 124 (9)2007–2009 Cruz Azul 83 (2)2009–2010 Olimpia 19 (1)2010– Libertad 23 (0)Tim nasional‡2002– Paraguay 73 (1)…

1937 single by Robert JohnsonTerraplane BluesOriginal 78 record labelSingle by Robert JohnsonReleasedMarch 1937 (1937-03)RecordedNovember 23, 1936StudioGunter Hotel, San Antonio, TexasGenreBluesLength3:01LabelVocalionSongwriter(s)Robert JohnsonProducer(s)Don Law Terraplane Blues is a blues song recorded in 1936 in San Antonio, Texas, by bluesman Robert Johnson. Vocalion issued it as Johnson's first 78 rpm record, backed with Kind Hearted Woman Blues, in March 1937. The song became a mo…

1936 Syracuse Orangemen men's soccerISFA, national champions (ASHA)ConferenceIndependentRecord6–0–2Head coachArthur Horrocks (10th season)Home stadiumArchbold StadiumSeasons← 19351937 → The 1936 season was Syracuse University's 17 season fielding a men's varsity soccer team. The team played their home matches at Archbold Stadium, and were coached by Arthur Horrocks in their tenth season as head coach. Guido Semino lead the Orangemen in goals scored scoring 23 …

le Vau de Bouche Ru du Vau de Bouche, 2,7 km après Lucy-le-Bois Cours du Vau de Bouche. Caractéristiques Longueur 21,2 km Bassin 32 km2 Bassin collecteur la Seine Débit moyen 0,217 m3/s (Lucy-le-Bois) Régime pluvial Cours Source source · Localisation Sauvigny-le-Bois · Coordonnées 47° 31′ 16″ N, 3° 57′ 50″ E Confluence la Cure · Localisation Voutenay-sur-Cure · Coordonnées 47° 33′ 46″ N, 3° 46′ …

Online web archive For a guide to using archive.today within Wikipedia, see Help:Using archive.today. archive.todayScreenshot of the archive.today home pageType of siteWeb archivingAvailable inMultilingualURL archive.today archive.fo archive.is archive.li archive.md archive.ph archive.vn archiveiya74codqgiixo33q62qlrqtkgmcitqx5u2oeqnmn5bpcbiyd.onion (Accessing link help)[1] RegistrationNoLaunchedMay 16, 2012; 11 years ago (2012-05-16)[2] archive.today (or a…

Regional airline of Norway This article is about the regional airline. For other uses, see Widerøe (disambiguation). The article's lead section may need to be rewritten. Please help improve the lead and read the lead layout guide. (December 2023) (Learn how and when to remove this template message) This article's lead section contains information that is not included elsewhere in the article. If the information is appropriate for the lead of the article, this information should also be included…

Twelfth Air ForceF-15 del 366th FW in volo sull'Idaho Descrizione generaleNazione Stati Uniti ServizioUnited States Air Force TipoNumbered Air Force Battaglie/guerreSeconda guerra mondialeOperazione Urgent FuryOperazione Just Cause Parte diUnited States Southern Command ComandantiTenente generaleMark Chris Nowland[1] Degni di notaJames DoolittleJohn K. CannonTony McPeak SimboliStemma del reparto fonti indicate nel testo principale Voci su forze aeree presenti su Wikipedia La Twelfth…

Злора́дство — радость, связанная с чужой неудачей, бедой, драмой или трагедией, или чужим невезением, несчастьем или горем. Возвращение в монастырь, Эдуардо Замацоис и Забала  (англ.) (рус., 1868 Содержание 1 Причины злорадства 2 Научные исследования 3 См. также 4 Приме…

Japanese statesman (1830-1878) You can help expand this article with text translated from the corresponding article in Japanese. (June 2014) Click [show] for important translation instructions. View a machine-translated version of the Japanese article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated…

Species of beech Fagus lucida Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Fagales Family: Fagaceae Genus: Fagus Species: F. lucida Binomial name Fagus lucidaRehder & E. H. Wilson Fagus lucida is a species of tree in the family Fagaceae. It is a tree up to 25 metres (82 ft) tall native to southern and eastern China.[1] Seeds and young leaves are edible.[2] References ^ Chengjiu Huang, Yongtia…

Compounds that affect neuronal excitability through modulation of specific ionotropic receptors Zuranolone, an example of a neurosteroid, used for the treatment of postpartum depression Neurosteroids, also known as neuroactive steroids, are endogenous or exogenous steroids that rapidly alter neuronal excitability through interaction with ligand-gated ion channels and other cell surface receptors.[1][2] The term neurosteroid was coined by the French physiologist Étienne-Émile Ba…

Запрос «Пугачёва» перенаправляется сюда; см. также другие значения. Алла Пугачёва На фестивале «Славянский базар в Витебске», 2016 год Основная информация Полное имя Алла Борисовна Пугачёва Дата рождения 15 апреля 1949(1949-04-15) (75 лет) Место рождения Москва, СССР[1] …

Transportation of convicts to Australia This article is about the historical transportation of convicts to Australia. For the modern Australian penal system, see Punishment in Australia. Convicts in Sydney, 1793, by Juan Ravenet Between 1788 and 1868 the British penal system transported about 162,000 convicts from Great Britain and Ireland to various penal colonies in Australia.[1] The British Government began transporting convicts overseas to American colonies in the early 18th century.…

John SpeedMonumen peringatan John Speed, St Giles-without-CripplegateLahir1551 or 1552Farndon, CheshireMeninggal1629 – 1552; umur -78–-77 tahunSt Giles-without-Cripplegate, Cripplegate, LondonKebangsaanInggris John Speed (1551 atau 1552 – 28 Juli 1629) merupakan seorang kartografer dan sejarawan asal Inggris.[1][2][3] Ia dan Christopher Saxton merupakan salah satu pembuat peta Inggris paling terkenal dari periode modern awal.[4][5][6…

Kembali kehalaman sebelumnya