mercredi 11 mai 2016

Server-side MVC for Views and Controllers, RESTful services for Model

If implementing a server-side MVC pattern e.g. using .NET MVC or Spring MVC, how common is it to implement the Controller and View part using MVC, and Model part as a RESTful service? So basically do server-side what we often do with SPA:s like Angular, which retrieve data by calling RESTful services. This would make it possible to reuse the RESTful services elsewhere, even though it may initially look like an unnecessary introduction of yet another layer.

Aucun commentaire:

Enregistrer un commentaire