mardi 3 mars 2015

HTTP client role in MVC

I have a class that simply create HTTP requests,send that and handle response,but it's role in MVC pattern is Ambiguous for me:


1- That class, obviously is not a View

2- It does not send command to models or views to update them,so it seems it is not controller

3- It does not store the behavior of the application,so it seems it is not model


What is the role of that class in MVC pattern?


Aucun commentaire:

Enregistrer un commentaire