[DOM3 Events] Initialising events (concerns)

Hi,

Having used DOM extensively (both implementing DOM and building applications directly interfacing with it) I would like to bring my consideration regarding re-factoring activity undertaken on DOM Events module. Although everyone interested is indeed aware of all these concerns, I thought it would be useful to summarize some of them.

1) The suggested change in the event interfaces is backwards incompatible with DOM-Events L2 and L1. There is plenty of implementations, whose are not limited by "modern web-browsers" and include many other platforms (not even "libraries"), such as, for example JDK [1]

2) The change suggested only brings minor syntactical sugar without adding any functional value. 

3) Application developer normally never creates/dispatches events into DOM thus never facing the part of interface in subject. Instead he only picks events up by registering a listener and quires event object properties. Those 14 people who ever touch event initialization methods, can create the convenience APIs themselves, and even prototype them on objects that implement EventTarget interface.

Having found a new perfect API (BTW, why do you think you can do that?), which is in fact useless, we will destabilize web as a platform.

Regards,
Sergey Ilinsky.

P.S. I welcome dropping namespaces from DOM Events.

[1] http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/events/package-use.html


      

Received on Thursday, 24 September 2009 09:16:58 UTC