Skip to Main Content
Pro PHP MVC
book

Pro PHP MVC

by Chris Pitt
October 2012
Beginner to intermediate content levelBeginner to intermediate
500 pages
10h 29m
English
Apress
Content preview from Pro PHP MVC

CHAPTER 19

images

Extending

One of the biggest differentiators of popular frameworks is how easily they can be extended with third-party libraries. Up until now, all the classes we have developed have belonged either to the framework or to the application.

Goals

  • We need to understand how we can create our own libraries.
  • We need to understand how we can use libraries from other developers.
  • We need to understand what the Observer design pattern is and why it’s relevant to our application.
  • We need to build a means of listening for and emitting events within our applications.

Foxy

The first kind of library we will look at is the kind we create ourselves. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro PHP Programming

Pro PHP Programming

Peter MacIntyre, Brian Danchilla, Mladen Gogala
Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff

Publisher Resources

ISBN: 9781430241645Purchase book