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

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

PHP Release: Refactoring (from the Shirts 4 Mike Warehouse!)

I'm happy to announce that the next set of my PHP tutorials are now live. Take a look and see what Mike the Frog's warehouse looks like. Here's a link and an overview.

Refactoring is the process of improving your code’s structure to make it easier to understand, maintain, and extend over time. We’ll re-organize the code we’ve written so far to follow some good practices around separating different types of code. We'll discuss topics like automated duplication, models, and views. Finally, we’ll look at native PHP functions like array_reverse, as well as write a few new functions of our own.

5 Answers

Thanks Randy it made MVC more clear to me

Jake White
Jake White
41,730 Points

Awesome series Randy. Can we expect to see the videos for the search option by the end of the month?

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

@Jake, I've broken the search stage into two stages. I believe the plan is to have the first part out this month, but the second part in early May.

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

@Sebastian, I'm glad! I love how many of the web frameworks implement MVC, but starting with one can make MVC seem like black magic.

Jake White
Jake White
41,730 Points

@Randy. Awesome! Thanks for the heads up. I'm trying to launch my business website and a search function is definitely needed. Trying to release by June so good to hear I should be able to release with that function