Le 14 mars 05, à 22:04, Stefan Urbanek a écrit :

Hello again,

Last my email, the email from Frederico and work with database system
inspired me to an alternative to the installer application. The
alternative is complementary and can use the application behind.

The alternative is obvious and parts of it was mentioned several times
on GNUstep lists: have handlers in workspace. Analogy: triggers in an
database system. For those who do not know how triggers work, they are
basicaly composed of a trigger action (insert, delete, update, ...)
condition for the action and a SQL code. The SQL code is executed when
the acction happens with given condition.

I think we had a similar discussion on -discuss once .. basically, to have "objects" in the Workspace that can act as destination, and when something is drag'n dropped on them, they will trigger an action. For example, you can imagine dnd a list of people from your agenda somewhere (in a directory, on your panel, on your shelf, on your desktop..), then taking a file and dnd it on the icon representing the list -- depending on the available transfer mechanism (here probably mail) you will call the correct program to do the transfert.

Same principle for other "proxies" like a printer, a ftp site, etc.

Your mechanism though is a bit different as it send a distributed notification which different programs can intercept. Rather more powerful, but is it really needed ? the above explanation is quite similar to that, but bind one action instead of any action done by "listeners" programs.

--
Nicolas Roard
"Any sufficiently advanced technology is indistinguishable from magic."
 -Arthur C. Clarke


Reply via email to