what is frontend and backend
What is frontend ?
Whenever a server sends a response to the browser to render the website, the entire logic that happens on the users’ browser is the frontend of the website. In simple terms it is the presentation layer of a website as opposed to database layer which is the backend of the website.
Whenever a server sends a response to the browser to render the website, the entire logic that happens on the users’ browser is the frontend of the website. In simple terms it is the presentation layer of a website as opposed to database layer which is the backend of the website.
Let us also learn how a website is rendered in a browser.
As you know that a browser is responsible for rendering the web page to the user. The browser does not do that on its own, we issue a set of instructions to the browser via javascript and css which it follows in rendering the page. Obviously there is some development work that is required for a website to be presented properly to a users’s screen. This development is what developers called the frontend of the website.
So what is frontend development ?
The process that developers employ to enhance the presentation of the website is called frontend development. Frontend Development is very closely related to USER EXPERIENCE. Infact everything that the frontend developer does is about providing a good experience to the user as he navigates through the website.
Technologies used in frontend development
These technologies are a part of frontend development.
- HTML
- CSS
- JAVASCRIPT
The above technologies are the basic building blocks of any web page. Without HTML, CSS, JAVASCRIPT there would be just plain information exchange. These technologies make it possible for a website to render on a browser.
Frontend Frameworks
Modern web applications are incomplete without a frontend framework. Needless to say that website designing has become more exciting with the introduction of these frameworks. They gained popularity after facebook created REACT JS to solve problems in their own website. REACT JS paved the way for frontend frameworks. These frameworks expand the rendering logic for the websites. These frameworks enhance user experience by employing dom manipulation techniques that require less resources and help in optimizing user experience.
Popular Frontend Frameworks
- Angular
- React
- Vue
- Stencil
What is backend ?
Backend is the core logic of a website. Everything that happens on the server side of the website is backend. Programming languages like php, java, python, .net are used in backend development. Whenever we speak of databases, APIs, server scripts we are talking about backend terms. Lets assume you are surfing an ecommerce website. You see these beautiful banners of categories, when you click that category a request is sent to the server. The server matches the URL of the website, gets information from the database and sends data back to the browser. This entire logic happens on the backend. In view of this, you can also say that backend is a data access layer of the website.
Technologies used in backend development
- PHP
- JAVA
- PYTHON
- RUBY ON RAILS
- ASP.NET
These terms are asynchronous with backend development.