What are the differences between MVC and REST architectures using Spring?

Asked

Viewed 194 times

2

I’m wondering which architecture to use MVC or REST.

  • 2

    Hello. In my understanding MVC is for applications, REST is for making Apis, which in turn are used by applications. It depends on what you want to do.

1 answer

-2

a Rest application does not hesitate to build a complex view layer to display the data.

follows reference below:

"REST systems often have a completely separate implementation between data and design, and even the software development process is separate. There are several features that define a system as REST, but let’s just settle for the basics for now, which is the following: a REST system receives an HTTP request (be it GET, POST, PUT, DELETE) and returns a reply in text format, that in this case we will use a data format called JSON."

source: https://imasters.com.br/devsecops/a-evolucao-do-mvc-para-rest

Browser other questions tagged

You are not signed in. Login or sign up in order to post.