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


Don Shipley
Don Shipley
19,488 Points

PHP Development

This track overall is great.. A couple things missing. 1) how to build a cms. 2) In the course writing the script Randy shows how in the products if Mike need to only have two sizes on one shirt how to change that to only show the sizes available. How to you do this using the database?

Building a content management system (CMS) involves having a well thought plan on what objects. classes, or models of data you need to be represented to create a create-read-update-delete (CRUD) architecture around.

This includes things such as validation through conditionals, exception handling, and so on. To have a framework of dealing with these things, the MVC pattern is one of the more popular patterns towards implementing such a system.

Treehouse also has classes such as the Database Foundations course addressing things directly associated with the database as far as creating the architecture (decisions about your app) you need to make a custom-CMS.

It seems these things are discussed throughout the PHP track without trying to be too opinionated , but it may very well be expanded upon towards specifically addressing the common dos and don'ts of creating a CMS.

What in particular you would've liked to have seen from the PHP course and other courses on Treehouse towards creating a CMSs the course (or the resources provided throughout the course)?

Hopefully Randy Hoyt can follow-up with you on this on this thread.

For now, I hope this helps!

3 Answers

Don Shipley
Don Shipley
19,488 Points

Thank you Kevin for your reply. Randy and all the instructors are great and really know what they are doing. I am just trying to learn and it is very difficult for me. I need to learn php , jquery and mysql so I can become a developer and earn cash. I have a hard time finding what I need to learn, with the cms system I also know there are a lot of security issues for a user to log in. I also have problems transferring from my localhost to a live server getting some things to work properly such as the header(LOCATION; to wherever.) Hosting companies are no help when it comes to asking a question about your script or even to tell you where your localhost is locating on the server. Randy taught a little on the .htaccess and is something I also need to learn a lot more of. Just trying to find the lessons is another issue. Thank you again Kevin.

Andres Altuve
Andres Altuve
16,274 Points

Hi don,

Why don´t you give Wordpress a try? By using it you won´t have to deal with programing the whole CMS and you have a huge amount of plug-ins at your disposal which will help you to speed your work. It also opens a new market for you on theme and plug-in development.

If you go down this path you need to learn PHP , Javascript, Jquery (Javascript Library), how wordpress works, theme and plug-in development. The best part is that teamtreehouse has a Wordpress Development track that is FREAKING AWESOME, I have to say that Zac Gordon is a badass with wordpress, I highly recommend it to you.

This will work if you are focusing on clients that need a website, or need a custom plug-in for wordpress..

Hope this makes sence and help you out.


Don Shipley
Don Shipley
19,488 Points

Thank you Andres. I have built two sites using wordpress. This is why I am pushing myself to learn PHP since wordpress is php based. I rather be able to build my own theme.

I know I also need to learn javascript and jquery but not as important to me as php. I want to understand more on the core of wp. For uploaded your files from your localhost to wordpress desktop server is a great way.