Answer the question
In order to leave comments, you need to log in
Question about MVC architecture?
There is a call to the index.php page
. It should display the news page.
She connects the news controller, and that in turn, the model and view.
The news was offered news and sent via ajax.
Does it contact the controller?
Answer the question
In order to leave comments, you need to log in
C ) Any request is received by the controller.
M ) If it needs to interact with the data in any way, it calls the model.
V ) If he needs to present the result in any form, he refers to the form.
When the response is generated, the controller sends it back.
PS: One controller can access another controller.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question