Saturday, November 25, 2006

Here's a summary of what I've done so far. I installed apache, mysql, and PHP. Then I went through a PHP example that implements a discussion forum. Limited object-oriented capabilities became available with PHP4. With PHP5, I'm told, object orientation is available in full plumage.

So I'm reading Object-Oriented PHP by Peter Lavin. The last example I showed from PHP, MySQL, and Apache by Julie C. Meloni used only procedural PHP. I want to go through an object-oriented example and I chose the example from Chapter 6 of Lavin's book.

I wanted to stop putting everything in /usr/local//apache2/htdocs. I made the directory /usr/local/apache2/htdocs/oophp. And then under that I made a directory called chap06 for the example from Chapter 6.

What I want to do is describe what the example does and show it running; and then, go through the code showing how the example does what it does. The point here is that this code uses PHP's object-oriented capabilities.

LAMP002.doc (210 KB)
11/25/2006 1:43:24 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  |  Trackback
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):