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

Create My Own CMS

Hello, I would like to create my own CMS, with an Admin backend and a Frontend, is it possible? With what language? PHP?Ruby? Just a few tips needed, thanks.

5 Answers

As in you want to create something like Wordpress, Magento, or Shopify from scratch? Technically you could do it in PHP or Ruby, but I am not sure why you would want to. Depending on your skill level, this would be a pretty intense project. I would suggest maybe checking out the wordpress track first, at the very least it could help you understand how Wordpress uses PHP to create a CMS, and you could start building your own by example.

Ryan, The method used is really dependent upon the final use for your project. If you want something that is going to be scaleable and adaptable to larger and larger amounts of contact data and be searchable to deliver new information to the user in unforeseen ways, I would go with a properly written HTML/CSS/JavaScript/jQuery (Wordpress). That would provide you with the flexibility to also have a CMS system that could be accessed by a wide range (PC, MAC, Tablet, Smartphone) without reinventing the wheel. Also Admin, front end and backend tools have already been developed. What ever you chose, have fun.

Lon

Thanks. Are there any step-by-step tutorials for creating one in PHP?

I would recommend walking through this tutorial: CSS Tricks is a pretty reputable site for awesome web development stuff.

Thanks for the info!

Nah, just as a fun project, a bit like this one http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/.

That example is using PHP, so it would be similar to how Magento or Wordpress works. You could also do this with Ruby on Rails. You could look at how(Reverse Engineer) locomotive, refinery, or Radient if you would like to see how others have constructed Ruby on Rails CMS's. I would say that thus far PHP has been a more popular language for CMS systems, but probably only because it has been around longer and so frameworks like Wordpress have captured a much larger user base.