Talk:Event (computing)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated C-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.

Merge of scattered articles[edit]

There are many articles in the Event category with little content, which makes it difficult navigating and understanding the subject. I propose merging all them into a single article, which would then provide a central point to explain all the related concepts.

Which article should be the base for the merger? I prefer Event-driven programming, but maybe Event (computing) is a better choice?

Diego (talk) 10:37, 14 February 2008 (UTC)

Event Handler vs Event Listener[edit]

The two seem to be used interchangeably; not clear if there is a difference between them. Selerian (talk) 19:48, 17 August 2011 (UTC)

I agree. I think that section is using the term listener to mean event handler and the term event handler is much more common. The section uses C# as an example and I am familiar with C# at least. In C# and in Windows programming the term event handler is very common. The section also says "the delegate event model, which is provided by the most popular graphic frameworks" yet C# is much more than a "graphic framework". If there are other "graphic frameworks" that use the terminology used in that section of this article then those other systems should be mentioned there. Sam Tomato (talk) 19:29, 10 August 2013 (UTC)
Also note that saying C# is not the most technically correct. It is actually Standard ECMA-335 Common Language Infrastructure (CLI) that defines delegates and such. It does not say "listener" anywhere but it does say "handler". Sam Tomato (talk) 19:19, 10 August 2013 (UTC)
Also the Microsoft documentation does not use the term event listener very much except in the context of debugging events. See Events (C# vs. Java) that compares C# and Java. For C# the term event handler is used and for Java they are called listeners. Sam Tomato (talk) 19:36, 10 August 2013 (UTC)

Event notification[edit]

The section about Event notification describes event handlers. The two sections should be merged. Sam Tomato (talk) 19:23, 10 August 2013 (UTC)

Event propagation[edit]

There should be a section about event propagation. I am not sure what term should be used. An alternative term is bubble, as in events bubbling up. Events bubble up in the Document Object Model for HTML and in the Windows API for Windows. I assume it is a very common concept. Sam Tomato (talk) 19:27, 10 August 2013 (UTC)