I want to share with you some toughts on the possibility to create a package dedicated to event triggering and handling by and from webpages.
The goal of this package would be to replicate most of the features of Unix inter-process comunication, with signals emitted from one page handled by one ore more other pages.
Using events, one could open a socket to a webpage which would stay opened indefinitely. This page reacts to events triggered by changes into the server (like inserts, updates or deletes into database tables for example) and for each one pushes data to the connection, which could be used to update the gui or notify the user that an important event happened.
I have already done some succesful experiments leveraging the aolserver built-in event mechanism, togheter with jobs and queues, to create a webpage capable of reacting to a set of events, but I would gladly collect some opinion about the usefulness of a package like this before I go on. I haven't found something similar in features in the OpenAcs/Aolserver community, but maybe someone could point me in the right direction...