13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6<br />

Object-Oriented <strong>PHP</strong><br />

THIS CHAPTER EXPLAINS CONCEPTS OF OBJECT-ORIENTED (OO) development <strong>and</strong><br />

shows how they can be implemented in <strong>PHP</strong>.<br />

<strong>PHP</strong>’s OO implementation has all the features you would expect in a fully objectoriented<br />

language.We point out each of these features as we go through this chapter.<br />

Key topics covered in this chapter include<br />

n Object-oriented concepts<br />

n Classes, attributes, <strong>and</strong> operations<br />

n Class attributes<br />

n Per-class constants<br />

n Class method invocation<br />

n Inheritance<br />

n Access modifiers<br />

n Static methods<br />

n Type hinting<br />

n Late static bindings<br />

n Object cloning<br />

n Abstract classes<br />

n Class design<br />

n Implementation of your design<br />

n Advanced OO functionality

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!