W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > June 2006

draft (modified) for Web API reply

From: Benoit Bezaire <benoit@itedo.com>
Date: Thu, 15 Jun 2006 13:13:17 -0400
Message-ID: <1866529748.20060615131317@itedo.com>
To: public-webcgm-wg@w3.org

Hi,

How about something like this (i re-wrote all of it, seemed easier). I
think this is a better representation of what people have in mind:

---

WebCGM 2.0 has (more or less) two sets of APIs: one that resembles a
subset of DOM 2 Core; the other that resembles a subset of DOM 2
Event.

Why not use DOM 2 Core or DOM 3 Core? The main reason is that we
thought an XML DOM API would create a lot of confusion to CGM (binary
format) users. Also note that DOM 3 Core in its entirely is not needed
by CGM users. That being said; because of the wide use of DOM Core; we
tried to define a similar set of interfaces in an attempt to ease
script writers, the burden of learning something completely different;
not to undermine the fact that DOM Core has proven to be a reliable
set of APIs and thus, seemed like a good basis for WebCGM 2.0.

With regards to the Event APIs. Again, we defined our interface by
borrowing heavily from DOM Events. The entire DOM 2 or 3 Event
specification; are simply too much for the WebCGM use cases. As you
will notice from reading the WebCGMEvent interface, we do have a very
small subset in mind.

Therefore, for these two sets of APIs... we are looking for feedback
such as: wrong parameter/return types; flaws in the wording with
respect to a particular node type; wording that you believe is unclear
to a script writer, etc...

Summary. Our preliminary implementations validates that these
interfaces are functional. We hope the Web API group could help us
identify defects or mistakes we could have missed. Additionally, your
experience can help us identify areas where our interfaces could be
improved for usability.

-- 
 Benoit   mailto:benoit@itedo.com

This e-mail and any attachments are confidential and may be protected
by legal privilege. If you are not the intended recipient, be aware
that any disclosure, copying, distribution or use of this e-mail or
any attachment is prohibited. If you have received this e-mail in
error, please notify us immediately by returning it to the sender and
delete this copy from your system. Thank you for your cooperation. 
Received on Thursday, 15 June 2006 17:18:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:09 GMT