posted: December 27th, 2004 · by: Sven
Comparing Google’s results on querying “php event listener” with “java event listener” we could state: so far there’s not too much about events and listeners, observers and notifications in the PHP world, while these basic patterns have gained safe ground in Java, C++, ... for many years.
Thus, it’s no wonder that we’ll find matured Lifecycle implementations in the Java world like in JavaServer Faces, Geronimo, WebWork and others more. Afaik, there are some efforts on event driven application design in the PHP world though, some examples well worth to study are: WACT, Prado, Poseidon.
In this article we’ll examine how to implement a simple Lifecycle in PHP.Read the rest of this entry
posted: November 30th, 2004 · by: Sven
Well designed OOP is all about code reuse, robustness and self-containment. But a programmer who’s played around with an OOP language longer than a few hours will soon notice that things are not that simple as beginners are being told by OOP tutorials. This article is about a php way of achieving a clean separation of code and enabling the programmer to plug & play classes into others at the same time.Read the rest of this entry