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

PHP

Starting with Basic MVC structure in PHP

I've tried following a few tutorial on the MVC implementation but I'm still confused, would anybody have a a good video tutorial link to implementing an MVC structure from a normal project in PHP?

3 Answers

Sam Deacon
Sam Deacon
2,650 Points

I was going to reccomend the same one as luksy. but I do understand,

I can't believe treehouse don't do a mvc php overview. I suppose you can build your own framework ie slim/silex + eloquent + twig templating.... but if you don't know where to start with views etc it's not going to be obvious.

jamd are you only looking at php? I found that it finally 'clicked' for me when playing around in rails

An excellent starting point for learning rails apps is following Mackenzie Child 12 apps in 12 weeks.

https://www.youtube.com/watch?v=7-1HCWbu7iU&list=PL23ZvcdS3XPLNdRYB_QyomQsShx59tpc-

(Note that I am aiming to work in php endgoal, but learning a bit of other languages doesn't hurt especially as other languages have other tools (ruby gems, node npm etc etc) that really show the benefit of web diversity.

Greg Sargent
Greg Sargent
3,942 Points

I second that sentiment. We need a MVC php course! Please treehouse, it's the gap in the offering.

thank you luksy, unfortunately, I've already tried that video and although I think it's good and the teacher is good I feel like I'm missing the basics. I can follow through but don't know why i'm doing it.

Altogether, I'm missing the basics about mvc and no youtube material I've found gave me that sparkle to follow through comfortably