W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

[DOM3 Events] Initialising events (concerns)

From: Sergey Ilinsky <castonet@yahoo.co.uk>
Date: Thu, 24 Sep 2009 09:16:11 +0000 (GMT)
Message-ID: <56685.46459.qm@web24406.mail.ird.yahoo.com>
To: "www-dom@w3.org" <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:03 GMT