Client
The client is the entity that makes a request.
In most cases, this is the user’s web browser, like Google Chrome, Safari, or Firefox.
Server
The server is the computer running a program that receives and responds to the Client requests.
Sometimes it simply returns a webpage.
Other times, it processes data sent by the client, for example, saving a form submission to a database.

Web developers are responsible for creating programs both for the Client and for the Server.
Frontend Developer
Focuses on the client side. What the user sees and interacts with. Common tools:
HTML, CSS, JavaScript


Frameworks like
React, Vue, or Angular
Backend Developer
Focuses on the server side, handling logic, databases and data processing. Common languages:
Python, PHP, Java


Full-Stack Developer
Works on both the frontend and backend.
A full-stack developer builds complete web applications from start to finish.

How does this apply in Django?

Models and Views are part of the Server Side
Templates are part of the Client Side

Model
Models define the structure of your database tables.
They are most commonly found in a file called models.py.
For instance this post that you are reading is based in a model named Post in models.py.
It has a title, body among other fields.
View
Views handle the user's request, communicate to the database, and return a response
They are written in Python, usually in a file called views.py.
For example, when you access this page:
https://www.jaimedcsilva.com/hello-world/dashboard/edit-post/client-server-architecture/
a specific view is triggered to generate and return the content for this URL.
Template
This is the frontend of your Django app.
They are standard HTML files (like post.html) that can include dynamic content from the database.
The template that loaded this post, beside the HTML code,
contains the content of the post collected from the database.
This is just an overview and doesn't need to be memorized.
With time, it's just becomes obvious.
05 June 2025
|
Last Updated: 22 Nov. 2025
|
jaimedcsilva Related