RE: [Widex] Proposed rewording for Framework draft

Dave Raggett <dsr@w3.org> Thu, 15 June 2006 08:51 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FqnZS-0007OV-G8; Thu, 15 Jun 2006 04:51:22 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FqnZQ-0007Kd-D9 for widex@ietf.org; Thu, 15 Jun 2006 04:51:20 -0400
Received: from homer.w3.org ([128.30.52.30]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FqnZP-0002MU-4M for widex@ietf.org; Thu, 15 Jun 2006 04:51:20 -0400
Received: from localhost (homer.w3.org [128.30.52.30]) by homer.w3.org (Postfix) with ESMTP id 50CB34F0C8; Thu, 15 Jun 2006 04:51:18 -0400 (EDT)
Date: Thu, 15 Jun 2006 09:51:14 +0100
From: Dave Raggett <dsr@w3.org>
X-X-Sender: dsr@localhost.localdomain
To: Jin Yu <jyu@openxup.org>
Subject: RE: [Widex] Proposed rewording for Framework draft
In-Reply-To: <000401c6901f$671ede60$9101a8c0@martsbs.local>
Message-ID: <Pine.LNX.4.62.0606150937580.9070@localhost.localdomain>
References: <000401c6901f$671ede60$9101a8c0@martsbs.local>
X-GPG-PUBLIC_KEY: http://www.w3.org/People/Raggett/pubkey-20040130.asc
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 386e0819b1192672467565a524848168
Cc: widex@ietf.org
X-BeenThere: widex@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Working list for the WIDEX working group at IETF <widex.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/widex>, <mailto:widex-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/widex>
List-Post: <mailto:widex@ietf.org>
List-Help: <mailto:widex-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/widex>, <mailto:widex-request@ietf.org?subject=subscribe>
Errors-To: widex-bounces@ietf.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Jun 2006, Jin Yu wrote:

> Just want to clarify - later on you proposed to remove this 
> paragraph (#1 and #2), so the above replacement wouldn't be used 
> anyway?

Correct.

> We may also want to say something about the behavior of multiple 
> event listeners (a mix of local and remote listeners) for the same 
> event. For example, in XUP, if a local listener can fully handle 
> an event locally, it can prevent a remote listener from being 
> called.

I think that comes down to the processing model for events. In the 
case of DOM events, there is provision to stop propagation and to
prevent the default handler from being invoked. It is therefore a
matter of where the remote event listener is attached. A local
handler could then prevent the remote event listener from being
invoked. The otherway round is more complicated. The stub used
in the Widex Renderer could stop further propagation, but there
would be undue latency to allow the corresponding handler in the
Widex Server to be able to do so.

We could include some text on this in the Widex Framework draft,
but is it really necessary? It seems like being at a different
level of detail.


>> I suggest we add something about how the MVC pattern allows
>> server-side operations on the DOM to be reflected to the
>> Widex Renderer as a way of helping to address the concerns
>> over the terminology of DOM Mutation events.
>>
>> How about:
>>
>>   With the Model-View-Controller design pattern, updates to
>>   the (virtual) DOM tree held by the Widex Server are reflected
>>   as WO.Update messages that in turn result in the Widex
>>   Renderer updating its copy of the DOM tree to match the
>>   changes made by the Widex Server. A similar process occurs
>>   when the Widex Server adds or removes event listeners,
>>   where these changes are mediated by WO.Selector messages.
>
> Yes, I think this is a good explanatory text.
>
>>   In a little more detail, changes made by the Widex Server
>>   to the XML DOM for the View, result in DOM events, e.g.
>>   DOM Mutation events. The Widex Framework in the server
>>   (as shown in Figure 1) can listen for these events to
>>   generate the corresponding Widex messages. The Widex
>>   Framework in the Renderer interprets these messages to
>>   reflect the changes to its copy of the XML DOM for the
>>   View. Note that the Widex messages are independent of
>>   whether the Widex Server has an explicit or a virtual
>>   View.
>
> I think this is more like an implementation suggestion (i.e.
> using DOM mutation events on the server side). There are other 
> implementation techniques for the server to trace and serialize 
> the UI updates. For example, in the OpenXUP server, we don't use 
> DOM events at all for performance reasons. The server has a UI 
> tracker, which tracks every API calls to the UI tree; and at the 
> end of the request processing, the content of the UI tracker is 
> serialized into UI updates and sent to the client.

Agreed, but what should we say if anything in the Widex Framework
draft?

>> We can take up the terminological issue of events versus
>> actions in the REX specification. I don't think we need
>> to cover that in Widex where we seem have consensus on
>> the three kinds of messages (Update, Event, and Selector).
>
> Yes, Widex's terminology is fine. My problems are with REX ...

Fine, I will see what can be done to resolve that in the W3C
work.

  Dave Raggett <dsr@w3.org>  W3C lead for multimodal interaction
  http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEkR+Hb3AdEmxAsUsRAtoBAKCB+xGTKteAqbiRZ4g62cbu3gmCpwCghhER
aKmbcesy1PQ6CadaPUM0cyg=
=v/GY
-----END PGP SIGNATURE-----

_______________________________________________
Widex mailing list
Widex@ietf.org
https://www1.ietf.org/mailman/listinfo/widex