Front end and rear end definition

At the IT school, I get conflicting answers about what the external interface and the end of the software are. I searched on the Internet, including this site, and asked for a few knowledgeable people, and the main answer I get is that everything that runs on the web server is an interface, and everything that runs on the application server or server Databases are the back end. So, front end = what the site looks like and back end = makes the site work, but I get conflicting answers if the Windows.net forms and asp.net forms are all interfaces or a combination of the front and rear ends.

To ask a specific question with asp.net forms, is aspx code an interface and C # code behind the back end in these applications? Or is asp.net all front-end? Thanks.

+6
source share
3 answers

In a web application, I usually use the following definitions:

Front-end : runs on the client computer (users)

Back-end : runs on the server

In a traditional ASP application, all markup (Razor) is converted to HTML on the back-end before being sent to the client, so the vast majority of the work is done there. The actual HTML parsing (done by the browser) and any JavaScript is still part of the interface.

In general, the interface is the user interface and its logic, and the back-end is the rest of the program / system (business logic, data access, etc.).

+6
source

In general, everything that works on the server is considered a back-end, and everything that works in the browser is an interface.

Usually - the code end code generates code that will be run in the browser, which is the front-end code.

asp.net is considered the back end, and if it generates html / css / javascript - they will run in the browser and, thus, they are the interface.

+5
source

It depends on a few things. That is, what application do you mean (for example, a desktop application, a web application, an API, a mobile application), since each of them can group slightly different things in the front-end / back-end categories.

In web applications, we refer to any part of the application code submitted by the user (client) as a front-end . So, for example, all files associated with HTML, jS, css and another user interface (view) should be under the umbrella of the interface (therefore, the front-end developer is a guy / girl who pulls her hair over cross-browser compatibility :) etc.)

Business logic, data processing and processing (models, controllers, db objects, etc.) are usually called back-end .

You can check out Wikipedia ( https://en.wikipedia.org/wiki/Front_and_back_ends )

+1
source

Source: https://habr.com/ru/post/1014397/


All Articles