Chapter 16. Sample Applications

You now know enough about PHP and MySQL to build full-featured web applications. These could be practically anything, from web-based mail clients to online stores with shopping carts and checkout capabilities. For our demonstration, we’re going to work with blogs, as they’re quite popular.

Building a Blog

A blog is short for weblog. It’s an improvement on the simple guestbook/forums that started appearing on web sites years ago. They’re now advanced enough to create mini-communities of people with similar interests or simply a place to post your rants about daily living. Blogs have been in the media as well. As Jeff Jarvis said in Buzz Machine, “...just as the raw voice of blogs makes newspeople uncomfortable. It’s the sound of the future.” Some blog examples are:

As you can see from these three blog examples, one is political, one is about Mark Watson’s life, and the third is a hodgepodge of RSS news feeds and personal podcasts. Of course, we’ve been given permission to use these blogs as examples, but go ahead and type in blogs in Google, and a million hits display. Weblogs are a huge trend; there are sites such as http://www.blogclicker.com/ where you can register your blog and drive more traffic to it, or http://www.blogarama.com/, which is a blog search engine. The market is hot for these online diaries, ...

Get Learning PHP and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.