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 trialvpcbvwuxcv
3,255 PointsMVC 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
42,762 Pointselderjo 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
3,931 PointsThey mean the same thing MVP stands for Model-View-Presenter and MVC stands for Model-View-Controller , they are the same design pattern
vpcbvwuxcv
3,255 PointsThank you Melodie, but they are not the same thing. Although as I understand it there are significant similarities in how you could implement them.
Mustafa Ogün Öztürk
3,468 PointsThey are not the same
Jason Wiram
42,762 Pointshttp://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.
vpcbvwuxcv
3,255 PointsThanks 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.