Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build an Interactive Story App User Input Introducing the Project

MVC vs MVP

In the video, Ben says that the course will introduce the MVC, or Model View Controller pattern for software development (1.16). The video description states that the pattern introduced is 'model-view-controller, or MVP' . In the 'About this Course' section of the main course, it says that the 'Model-View-Presenter' pattern is the one introduced, and later in the course information MVP is referred to again. Which one is it, MVP or MVC?! They are not the same thing.

3 Answers

Jason Wiram
Jason Wiram
42,762 Points

elderjo I'd say stick with MVC as your approach. It fits the project and is simpler in concept. Don't get too caught up in the distinction though. I am sure down the road it will make more sense when you experience a scenario where the advantage of one versus the other presents itself.

Melodie 1
Melodie 1
3,931 Points

They mean the same thing MVP stands for Model-View-Presenter and MVC stands for Model-View-Controller , they are the same design pattern

Thank you Melodie, but they are not the same thing. Although as I understand it there are significant similarities in how you could implement them.

Jason Wiram
Jason Wiram
42,762 Points

http://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference

This link should give you some better insight into the nuances of both. They are similar but have some differences.

Thanks Jason. Yes I've been trying to wrap my head around it all! But maybe I didn't express my question well enough: I'm wondering which pattern is used in this course? Is it MVC or MVP? Both are referenced as if they are interchangeable.