N
N
Nikita Ronzin2017-04-14 12:29:15
JavaScript
Nikita Ronzin, 2017-04-14 12:29:15

How do fontend and backend interact?

How does frontend and backend interact at the code level? Those. what happens when the user types in the address bar the address of the domain and what happens next with the application using the example of yii ? If there are special topics, please give a link to them.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolai Konyukhov, 2017-04-14
@heahoh

Yii application lifecycle

N
Nikita Kudinov, 2017-04-14
@Nikita_Kudinov

https://tproger.ru/translations/frontend-backend-i...

M
Maxim Timofeev, 2017-04-14
@webinar

If we are talking about an advanced skeleton, then backend and frontend are two separate apps. They don't interact until you make the logic for it. Why should they interact? You have site.ru for which the frontend is responsible and admin.site.ru for which the backend is responsible. They are not connected in any way. They even have different databases.
Each of them has an input script (index.php) in which yii and frontend or backend are connected. Open it up and take a look.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question