Appendix B. Object-Oriented PHP

 

This appendix covers
  • The PHP object model
  • An introduction to the iterators, arrays, and counting interfaces provided by the Standard PHP Library
  • The basics of software design patterns, including the Singleton and Registry patterns

 

This appendix will refresh your knowledge of those bits of PHP that you haven’t had a chance to deal with until now. Zend Framework is written in PHP5 and is fully object oriented, and you’ll need to have a reasonable amount of knowledge about OOP in PHP to make sense of it. This chapter is no substitute for a full book, such as PHP in Action by Reiersøl, Baker, and Shiflett, but it should help you enough to get going with Zend Framework.

We’ll look at what makes a class, including ...

Get Zend Framework in Action 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.