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

General Discussion

PHP Blog

Hello! Any chances to see a PHP blog project? How would it be best to develop: using plain PHP or a framework? Thanks

4 Answers

ignore me

I think generally you'd want to use some existing out-of-the-box service for blogs. You could also do it with MySQL and PHP, but it would be a fair amount of work, and the Treehouse tutorials don't give nearly enough information to make this unless you're super-clever. ("PHP and MySQL" by Larry Ullman has a few chapters on making a blog and user accounts). Using pure PHP would be really weird, because you'd have to write directly to the file-system, but I suppose it's doable, just like how you can save user-uploaded images directly to the file-system. (For instance, you could have all of your data saved in JSON files, but it would probably make for a slow blog once your files get really large.)

Oh, my bad! I must have been really tired when I wrote this. I thought you were talking about forums. In some ways blogs and forums are very similar if you allow for commenting.

Take a look at Wordpress: http://teamtreehouse.com/library/how-to-make-a-wordpress-blog Its not a framework but a complete Blog system, you can completely customize to your needs, and is durable for doing almost anything you want with a website.

thanks