Answer the question
In order to leave comments, you need to log in
How to build MVC application architecture using REST?
Is it possible to get data from facebook, or user pictures from instagram just by sending a GET request? Or do I need to use the Resource Data API? And yet, how to build an application architecture in this case? I saw examples from yii2 and there are queries to the database in the model, in the display view, in the controller a query call with parameter substitution. If I want to get data not from the database, but from the server, then do the same? Requests in the model, in the controller, the call of the request, and in the display view?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question