This chapter has served as an introduction to event-driven programming in PHP. You should now have a good idea of how the event-driven paradigm can be implemented using simple object-oriented programming.

Creating an event-driven application is a problem-specific business, and much attention should be paid to the environment in which the intended application is to run. Event-driven programming has applications in many areas of computing, but good candidates are often those programs that have graphical user interfaces.

Finally, we have demonstrated that the power and elegance inherent in object-oriented programming can be effectively complimented by designing applications using an event-driven programming paradigm, such as the one met in this chapter.

In the next chapter, we'll take a look at implementing an effective logging and debugging mechanism in your application, to aid you and your development team during both the development and testing phases of your project.

Professional PHP5 (Programmer to Programmer Series)
Professional PHP5 (Programmer to Programmer Series)
Year: 2003
Pages: 182 © 2008-2017.
If you may any questions please contact us: