Let your classes live their own life

posted: December 27th, 2004 · by: Sven

in: Programming · tagged as: , ·  0 comments »

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

artweb design
Sven Fuchs
Grünberger Str. 65
10245 Berlin, Germany


http://www.artweb-design.de

Fon +49 (30) 47 98 69 96
Fax +49 (30) 47 98 69 97