Basics: a user perspective on the frontend

EBS Integrator
Oct 22, 2019,

[]A while ago, we started peeling off web-application layers to deliver a better perspective on what terms you should be aware of when building such software. Of course, we’ve only scratched the surface of what a web-enabled application is. Tho’ we left some space for a series of follow-ups. As promised, we’re getting back to you with a user perspective, tearing down the presentation tier of an app and revealing its structure as well as basic frontend terms you should be aware of before you adventure into building an app.

Back to the books: standard definitions of the “frontend”

As any computer-related term, this one becomes somewhat ambiguous and oftentimes generates confusion. This is because in some instances the “frontend” can define a variety of concepts.

For instance, according to Wikipedia, this term requires disambiguation when we speak about software:

A: When speaking about content management systems

The term refers to tweaking end-user facing views (or the public interaction side of the system, where all the commenting, sharing and content rating is performed).

B: In speech synthesis software

the client-side or the frontend is a part of the system that transposes the input text into a symbolic phonetic representation (or converts phrases into machine speech, that is aware of punctuation and phonetic aspects of a specific word).

C: When talking about compilers

(software used by developers to translate written code into a lower-level computer language or regular applications), we call frontend, the part of the system that translates a computer programming source code into an intermediate representation or re-arranges simple input text into sections, stacks or graph structures that are easier to understand and analyse by a programmer.

All of the above are valid definitions of what frontend is. However, in regards to building web-enabled software, the definition is a bit different than what you might have expected.


Here, we call “frontend” the entire User Experience replicated as an Interface that is segregated into various segments or views, designed for particular stakeholders (i.e. Administrative, operational and System Management gateways). Usually, these interfaces enable users to view and interact with data to reach a role-specific scope.

As stated in our previous post, the practice of “frontend development” relates to a process that effectively converts or translates data into a graphical interface (or various User Interfaces) through by implementing various frameworks, but most commonly via HTML, CSS, and JavaScript coding.

Analogically, anything unseen to the user’s eye running anywhere except the client area becomes “backend development” related.

To put it in even more basic terms, frontend development processes power everything you click, interact with, or see when working with a web-enabled app.

Fundamental processes to be aware of

As we’re tackling frontend fundamentals, we cannot ignore the holy trinity of any web app: the client (or the presentation tier), the server (or logic tier) and the storage layer (or the data tier).

We’ll decompose the above model, into smaller pieces […] to deliver a glimpse of processes happening within the presentation tier’s backstage.

For the beginning, let’s imagine you as the client interacting with any given web app. To do so, you must connect to the internet, open your favourite browser and type in the application’s URL.

Beware – the mighty URL

The URL’s role is to point you to the right location of a particular server. Think of it as a record in the internet’s phonebook. You use it to “dial” a server number, every time you need to access any particular website. It will usually represent something like this:

Now, to clarify the above, any given URL will define:

  1. The access Scheme or Protocol (in our case it’s the Secured HTTP Protocol);
  2. Any User Information (e.g. username required when accessing services such as mail or a file transfer protocol […] in case of web pages it is usually represented as a null value treated as “guest” by any particular server);
  3. The Server’s Location (think of it* as of a corporate phone […]  where the main number is any given host);
  4. The Connection Port (*any department extension of a given corporate number);
  5. The Access Path or any specific page you’re visiting (usually “/” will query the main index.html page […] but if you’d access a blog, the path would be altered to “/blog/” depending on the configuration. Going back to the phone number analogy, this would represent a direct extension to someone’s desk);
  6. The Server Query (represents a specific option  […] again, if compared to a phone call, this would be similar to calling someone’s voicemail by adding # or a specific number at the end of the extension); and

Query’s Fragment

That is, in essence, the specific location within a webpage. The above == a default instruction set.  Keep in mind […] when you’re accessing a website for the first time, only 4 of those 7 identifiers are used:


Since most of humanity’s inventions are driven by comfort […] your web browser fills in default values such as the protocol, connection port and implicit path of a particular website. In most cases, all you need to know for accessing a website is the hostname. Even that is translated by middleware services[…] such as the Domain Name Service or DNS […] into user-friendly names, humans can relate to. Regularly, a server’s name represents a set of numbers you would never remember by heart.

The essence of frontend Mechanics

Moving on to the process […] before we can talk frontend mechanisms […] let’s imagine the entire Request/Response journey that loads-up a website. You, the internet-enabled device and your browser of choice represent one of the application’s holy trinity:

frontend The Presentation Tier:

(1) as soon as you’ve entered the URL and hit enter in the address bar, HTTPS requests begin flowing. (2) When a request hits the application’s server […] aka “the backend” […] the latter’s scripts consult the logic, data and storage layers. If there are no issues the server will produce a response (3) sent over the internet. That response contains all of the required data to produce a web view within your browser. As well as a collection of files and scripts […] or links to those resources […], meant to enable your entire User Experience.


Deeper into the frontend

When a response reaches your computer (4), the web browser compiles all that information via HTML, CSS. Most often, accompanied by JavaScript code snippets. Together, these Scripts are embedded in the application’s markup   […] an element in charge of assembling a viable web view for you to explore. When done right, the markup can also fit content on your phone or tablet screen.

Responsive Design

(5) That’s courtesy of Responsive Design. This practice enables content to adapt to a variety of screen resolutions in the most user-friendly way possible. If you heard about ”bootstrap” you get the ideea. That’s one of the most popular frameworks, that powers Responsive Design. Pretty much as in case of that loop sewn to the boot calf’s edge […] frontend scripts ensure all those buttons, text and images are best-fitted to any non-standard screen (with limitations of course).

Another courtesy of frontend development is re-usability. Some of those code snippets define which files are less likely to change. Hence, they get stored on your local drive (or “cached”) for eventual use. Caching as a practice is not frontend specific though. These mechanics are a bit more complex. I’ll make sure to cover them in one of our eventual posts. For now, you must keep in mind […] in some instances, a part of any given frontend collection or markup, might reside on your hard drive.


(6) offline operations resemble any Frontend scripts Cached on your local machine. For instance, consider action focused on typing, choosing options or navigating through dropdowns. Usually, these won’t require additional information from the backend. The Markup fills that functionality in. If you must select a Country from a predefined list, that operation, most definitely, runs on your machine. There’s no reason to load-up the server for that.

(7) Anytime a query demands additional information, the markup sends one or several requests to the server. Take Facebook (for instance). You might have noticed that new posts might take some time to load. At the same time, you’re browsing the same page. This is a hidden frontend-backend interaction. By convention, we call such implementations Single Page Apps. It ain’t magic. Just properly timed requests, cache handling and lods of JavaScript.

All this is possible due to proper frontend engineering. In essence, the markup performs URL requests without you even noticing, repeating the entire request/response cycle in the backstage. Here, all those 7 URL definitions come in handy. Depending on the scope, protocols other than HTTP might be used.

Across the entire journey, you might have noticed a particular overlap between the frontend and backend practice. This is because both of these go hand in hand and one cannot work without the other. A frontend without a particular backend layer is nothing else but a simple HTML page on your local computer. However, a good application backend would be accessible as back in the ‘80 – via terminal consoles. This is, of course, usable, but who are we kidding… A console is nothing but a frontend for those who really like to make it difficult […] guilty by the way – I still like doing stuff via CMD or bash).


I know this might be too much […] or too little for some […] to ingest but there’s no easy way around it. There is definitely more to the story and the frontend journey (for some of you) might’ve just begun. There are a few things though, you should definitely remember. That is, if you’re planning to build a web application with a dedicated team.

  1. Frontend scripts are snippets of code (usually HTML, CSS and JavaScript – more about these three can be found here);
  2. Scripts (along HTML) power your entire User Experience when operating a web application […] together, these make-up the entire markup;
  3. The markup (or the collection of embedded frontend scripts) orchestrates backend operations defining server side workloads. In essence, whenever an action triggers data-driven operations […] such as updating, storing, re-arranging, sorting or deleting records) the frontend sends required instructions to the application’s logic.
  4. As an entity, frontend scripts ease server load, since they leverage your computer resources locally […] querying backend scripts only when these are essential for a particular operation. This is why today, we gave snappier apps than we used to have 10 years ago […] when most user operations relied on the backend.

In matters of choice, there are several options to explore […] however, we’ll cover this in another post, where we’ll cross-examine the most lucrative frontend options. As always, you can get a front-seat to that trial by simply following us on Linkedin, Facebook and/or Twitter. As for those who would like to join the frontend conversation […] make sure to use the comment box below and we’ll be happy to engage.