Also, you picked up Dagfinn Reiers??l??™s PHP in Action a very
accessible introduction into the finer points of using design patterns with PHP.
17.5 Summary
This concludes our look at the PHP knowledge required to understand the Zend Framework. The Zend
Framework is a modern PHP5 framework and, as such, takes advantage of all the new goodies that PHP5
provides. Every part of the Framework is written in Object Oriented PHP with careful use of the SPL
interfaces such as ArrayAccess and its sibling ArrayObject, Countable and Iterator. In this chapter we briefly
looked at how PHP handles Object Oriented programming and also looked at how the SPL can be used to
provide interfaces to classes to make them behave more like native PHP arrays. Software design patterns are
an important part of modern web development and we have covered what they are and looked at how the Zend
Framework uses the Singleton and Registry patterns.
This chapter only provided an overview and for more information, I strongly recommend looking at other
books that cover these topics in depth. Having said that, armed with the knowledge gleaned here, you are well
placed to dive head first into the Zend Framework.
Pages:
367
368
369
370
371
372
373
374
375
376
377
378
379