tags:

views:

77

answers:

4

Hi,

On this site I found a lot of cool examples of PHP OOP. Maybe you know where to find complete examples? Guest books, registration forms, blog...

When I look at the full model is much easier to understand OOP PHP. As different classes interacting with each other, exchange data How to use the generic class for sending data to the database

Thanks

+3  A: 

See excellent tutorial on phpro.org:

Object Oriented Programming with PHP

Topics covered include:

Contents

  1. What is OOP
  2. What is an Object
  3. What is a class
  4. Commenting code
  5. Inheritance (Extending a class)
  6. Visibility (public, private, protected)
  7. Final
  8. Abstract Classes
  9. Static Methods and properities
    1. Interfaces
    2. PHP Class Functions
      • get_declared_interaces()
      • get_class()
      • class_exists()
      • get_declared_classes()
    3. Autoload
    4. Serializing Objects
    5. Overloading
    6. Class Constants
    7. Credits
Sarfraz
A: 

The official PHP site is typically bountiful with documentation and examples. Years ago I found the set of pages on the following site very useful:

PHP.net/oop

Good luck.

byte
A: 

This article helped me very much to understand the basics of OOP

Object Oriented Programming in PHP

I hope it can help you

SzamDev
A: 

php object oriented solutions http://www.amazon.com/dp/1430210117?tag=sailor-moon-cosplay-20

i really enjoyed this book when i was getting rolling with php

David Morrow