RE: [Widex] Proposed rewording for Framework draft

"Jin Yu" <jyu@openxup.org> Fri, 16 June 2006 02:55 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Fr4Ul-0003Qm-Mr; Thu, 15 Jun 2006 22:55:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Fr4Uk-0003Qh-GS for widex@ietf.org; Thu, 15 Jun 2006 22:55:38 -0400
Received: from smtp103.sbc.mail.mud.yahoo.com ([68.142.198.202]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1Fr4Ui-0007pK-Uo for widex@ietf.org; Thu, 15 Jun 2006 22:55:38 -0400
Received: (qmail 64159 invoked from network); 16 Jun 2006 02:55:35 -0000
Received: from unknown (HELO 3150hw) (jinyu1@sbcglobal.net@143.89.91.139 with login) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 16 Jun 2006 02:55:34 -0000
From: Jin Yu <jyu@openxup.org>
To: 'Dave Raggett' <dsr@w3.org>
Subject: RE: [Widex] Proposed rewording for Framework draft
Date: Thu, 15 Jun 2006 19:55:18 -0700
Organization: OpenXUP.org
Message-ID: <000801c690f0$501e6d80$0202fea9@martsbs.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
In-Reply-To: <Pine.LNX.4.62.0606150937580.9070@localhost.localdomain>
thread-index: AcaQWN+gIku4mVYuTwG/pUcVvlxUqQAjiiSw
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0a7aa2e6e558383d84476dc338324fab
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

> > 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 think it would be nice to have some text explaining how remote events and
listeners relate to (or work with) DOM's event model. Something along the line
you wrote above seems to be very reasonable.

> >>   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?

I think we could just rephrase your paragraph a bit, implying it's a possible
implementation approach. Also, I don't quite understand the last sentence - what
do you mean by "explicit view"? My understanding is that the server's view is
always virtual, whereas the renderer keeps the concrete (or physical) view.

Regards,

Jin
________________________________________
Jin Yu
OpenXUP.org


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