Actually, php-gtk has it's own connect/emit mechanism, what is
problematic, is that a number of projects (both pear packages and
others) utilize a callback/event model, and the only 2 ways to implement
it are as a visitor type class, or recode the same simple method in a
number of places.
In D
There's nothing stopping someone from writing their own classes for
dispatching and handling events and implementing callbacks today...
Are you suggesting something built into PHP like the Java system event
queue that people can define their own dispatchers and handlers for?
The QT example below i
On Tuesday 31 August 2004 05:46, Alan Knowles wrote:
> I've been looking at events in PHP, at present, in PEAR, there are lots
> of different methods to add callbacks, to packages, for various
> purposes. It seriously lacks cohesion, and would be nice to sort out at
> the language level.
>
> Having
I've been looking at events in PHP, at present, in PEAR, there are lots
of different methods to add callbacks, to packages, for various
purposes. It seriously lacks cohesion, and would be nice to sort out at
the language level.
Having seen C#, while not perfect, it is an interesting model.
Ther