RE: [Widex] Working group last call (WGLC) for Requirements: draft-ietf-widex-requirements-01.txt

"Jin Yu" <jyu@openxup.org> Fri, 12 May 2006 18:58 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FecqL-0000te-HG; Fri, 12 May 2006 14:58:29 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FecqK-0000tZ-Rh for widex@ietf.org; Fri, 12 May 2006 14:58:28 -0400
Received: from smtp103.sbc.mail.mud.yahoo.com ([68.142.198.202]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1FecqI-0003yv-Ak for widex@ietf.org; Fri, 12 May 2006 14:58:28 -0400
Received: (qmail 67466 invoked from network); 12 May 2006 18:58:25 -0000
Received: from unknown (HELO 3150hw) (jinyu1@sbcglobal.net@64.186.173.202 with login) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 12 May 2006 18:58:25 -0000
From: Jin Yu <jyu@openxup.org>
To: 'Dave Raggett' <dsr@w3.org>
Subject: RE: [Widex] Working group last call (WGLC) for Requirements: draft-ietf-widex-requirements-01.txt
Date: Fri, 12 May 2006 11:58:21 -0700
Organization: OpenXUP.org
Message-ID: <000401c675f6$0ac9a6b0$1e0aa8c0@martsbs.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <Pine.LNX.4.62.0605121439010.8870@localhost.localdomain>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
Thread-Index: AcZ1y11BMWxn/D6pT52LKtgiDxIs8gAH/pDg
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 73734d43604d52d23b3eba644a169745
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

> Event filtering could be:
> 
>    a) by prior arrangement
>    b) negotiated at the start of the session
>    c) dynamically updated during the session

Yes, and I think the dynamic part is essential, since most applications will
very likely change their event handling behavior at runtime. That is why I
see the need of a WO for event selection.

> Session initiation is out of scope for REX, but we could support
> the means to dynamically add or remove event listeners during
> the session via introducing a pair of new events for that purpose
> as you suggest. I could draft something on this for the REX mailing
> list.
> 
> For Widex, we could explore the idea of negotiating event selection
> at session initiation.
> 
>    a) a list of explicit event names
>    b) a list of event catgories
>    c) a reference to a list of event names/event categories
> 
> Event categories are something that was introduced by the W3C Voice
> Browser working group for VoiceXML and CCXML. They defined event
> names hierarchically and could name categories of events by
> reference to this hierarchy, e.g. there are a set of events
> 
>       error.connection.noauthorization
>       error.connection.baddestination
>       error.connection.noroute
>       error.connection.noresource
>       ...
> 
> you can specify behavior for a specific event, for all
> error.connection events, or more generally for all error events.

Event categorization is a great concept. But that could be left to the
specific UI languages. The protocol should be just concerned with some XML
namespace qualified event name; whether that name is a concrete event or an
event category could be interpreted by the UI language in use.

> One issue is where the event listener is attached to the DOM tree
> and whether it is invoked in the bubble or capture phase. This only
> matters when there is another event listener that is invoked prior
> to the server's event listener, as then there may the possibility of
> the event being cancelled by the earlier listener.
> 
> I don't believe it makes sense to allow the server's event listener
> to be able to cancel events, as this would introduce a significant
> latency into event handling in the client. For this purpose, the
> event object, that is passed to the server by the widex
> implementation, would have the DOM attributes bubbles and cancelable
> set to false.

I agree. Actually I believe the DOM event capturing / bubbling model may not
fit well with a network UI environment. I think we should not restrict
ourselves to DOM style events. What's more appropriate is a *delegation"
based event model, which is used by popular desktop GUI toolkits such as
.NET WinForms and Java Swing. In this model, one would attach event
listeners (or event handlers in .NET WinForms) to a specific UI component
for a specific event type. This allows for a loose coupling of UI events and
application logic, and it also minimizes event traffic.

> You also talk about UI initialization. I think this can be handled
> as part of the UI markup language, and also by additional events
> sent from the server to the widex renderer. These events are outside
> the scope of Widex, and would need to have their semantics and XML
> serialization defined in separate specifications.

What do you mean by "UI initialization"? I think I was talking about UI
state synchronization in my message. Are you referring to something in the
XUP spec?

> For REX, it will be easier if we stick to the existing DOM events
> so that we can limit the scope of what needs to be specified for
> the processing and serialization of these events. I think we will
> be able to provide an algorithm for describing the serialization
> of these events from their IDL definitions.

Regards,

Jin
________________________________________
Jin Yu
OpenXUP.org


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