1

I'm doing a website that has a React frontend that calls some RESTful API and I would like to know if this is an MVP pattern.

I think that the React application implements the View and the Presenter, while the backend realizes the Model of the website.

I think it's not MVC because the view isn't updated by the model directly, but by how the response is handled.

But I'm not sure the pattern is MVP because the View and the Presenter feel kinda blended (in my code at least).

So my question is basically is my website MVP or not, and if not, what pattern is it implementing if any?

1
  • 1
    Communication between a browser and a web server using HTTP isn't a pattern, it's just how the web works. Nov 10, 2020 at 23:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.