windows 10 pro office 2019 pro office 365 pro windows 10 home windows 10 enterprise office 2019 home and business office 2016 pro windows 10 education visio 2019 microsoft project 2019 microsoft project 2016 visio professional 2016 windows server 2012 windows server 2016 windows server 2019 Betriebssysteme office software windows server instagram takipçi instagram beğeni instagram görüntüleme instagram otomatik beğeni facebook beğeni facebook sayfa beğenisi facebook takipçi twitter takipçi twitter beğeni twitter retweet youtube izlenme youtube abone instagram

Which part should the http calling occurred in MVC?

Asked By: Anonymous

I’m writing a MVC program which downloads the data from an API. I have finished a util class for the http service to receive the data from the API. Now I’m confusing in a MVC framework, should I call the http util method in the Model or Controller?


Answered By: Anonymous

I’d implement a separate service class that’s used by either by the controller or model to fetch such information. Ealier it was thought that model is about the business logic, so in that sense it would be used by that – nowadays I think having the controller use it would be more common choice.

I think services are a layer of its own, but there are different opinions about it. There’s a (closed) discussion "Where do services go in MVC" here which is about that topic.

techinplanet staff

Porno Gratuit Porno Français Adulte XXX Brazzers Porn College Girls Film érotique Hard Porn Inceste Famille Porno Japonais Asiatique Jeunes Filles Porno Latin Brown Femmes Porn Mobile Porn Russe Porn Stars Porno Arabe Turc Porno caché Porno de qualité HD Porno Gratuit Porno Mature de Milf Porno Noir Regarder Porn Relations Lesbiennes Secrétaire de Bureau Porn Sexe en Groupe Sexe Gay Sexe Oral Vidéo Amateur Vidéo Anal

Windows 10 Kaufen Windows 10 Pro Office 2019 Kaufen Office 365 Lizenz Windows 10 Home Lizenz Office 2019 Home Business Kaufen windows office 365 satın al follower kaufen instagram follower kaufen porno
500 Internal Server Error

500 Internal Server Error