Hi Friends!
Web Dev can be super complicated, but most of the time it seems so complicated because we are starting to code to early and after a while we not see the forest for the trees, means we stuck in all the code.
When I try to really understand the concept before I start to code, it is often clearer, simpler and more fun. I concider myself still a beginner or maybe intermediate web dev. A lot of things are very confusing, there are a ton of ways to archive the same goals and when you ask 10 people you often get 10 answers and probably none of them is wrong.
.
.
However, I like to build up my first backend and before I do so, it would be great to get a clear understanding what actually happens when creating a backend/database or simply a login option.
Here is the description about the differnce between backend and database in my own words (please correct me when I am wrong!):
The backend is the communication between the frontend and the database, that means the backends job is to grab data (inputs) from the frontend and then send and save it to the database.
For example a user will register an account to get the option to login to a website to get access to additional services (communication with the company, buying a product, reading premium content etc.). When the user registers an account the backend will send the account registration data to the database and store it there. Then the backend will send a confirmation email (which the user needs to verify before he/she gets access to the login area). After confirmation is send the backend will approve the registration and the user can login to his/her account. After the login process the user will see a welcome message in the login area (Welcome back username!). The backend will grab the username from the database and displays it inside the welcome message. After login the user may also have the option to download a specific content (for example a video tutorial), so the backend will grab the content (video tutorial) from the database and offers a download inside the users login area.
.
.
Is this the correct explanation between backend and database ?
Do I understand something wrong ?
How would you describe the differnce?
Thanks for your answers !