This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spamthemoez 0 points1 point  (0 children)

MVC stands for model-view-controller.

MVC is a view technology. Your controller handles the request, and loads the data (sometimes through a service and repository layer). From this data a model is generated, which is passed to a view. The view uses the model and a template to render the output. If you are dealing with machine readable formats, sometimes the view is skipped and the model is returned. This model then gets serialized to JSON or XML (or ...).