Answer the question
In order to leave comments, you need to log in
MVC interface. Where to implement?
Good evening. Please forgive me for the stupid question. But I can't figure out where I can implement the interface for the model in the mvc pattern.
There is a separate socials module, this module has a standard crud, I need to make breeding models to work with api of different social networks.
The classes themselves for connecting and uploading data from the social networks API I connect to vendor. And now I would like to implement the functions themselves for unloading any data through these classes in the model (without connecting to the database table).
Actually the question is: am I moving in the right direction, and where can I create an interface for these models?
The structure is something like this:
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