News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
How to Create an Object-Oriented Blog in PHP
October 20, 2008 @ 14:45:09

The NETTUTS.com website has posted this new tutorial (complete with demo and source download) showing the creation of a simple blog in PHP (object-oriented style).

Today we are going to take our knowledge of PHP and MySQL a step further by creating a simple blog. While there are countless excellent free blog platforms, the purpose of this tutorial is not to make a "better" blog but to use the process of making a blog to learn about advanced database structure techniques and how to use data more efficiently by utilizing objects in PHP.

They start from the backend - creating the database first to store the post information for the blog. On top of that they create a "BlogPost" class to interface with each of the posts. This is then use to fetch the entries from the database and display them out in a simple list (which they augment with a little CSS).

0 comments voice your opinion now!
blog tutorial database mysql beginner demo source


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 1)

NETTUTS.com: How to Create an Object-Oriented Blog in PHP

The Bakery: 11 New Posts of CakePHP Goodness

NetTuts.com: How to Generate a Complete Excel Spreadsheet From MySQL

Tobias Schlitt\'s Blog: PHP at FrOSCon - Call for papers!


Community Events





Don't see your event here?
Let us know!


update interview symfony series install list podcast package release introduction api language deployment community opinion laravel framework tips library zendserver

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework