W3C home > Mailing lists > Public > public-indie-ui@w3.org > November 2012

RE: IndieUI Event Interfaces - Case

From: Katie Haritos-Shea GMAIL <ryladog@gmail.com>
Date: Mon, 5 Nov 2012 10:01:48 -0500
To: "'Richard Schwerdtfeger'" <schwer@us.ibm.com>, "'James Craig'" <jcraig@apple.com>
Cc: "'Lachlan Hunt'" <lachlan.hunt@lachy.id.au>, "'public-indie-ui'" <public-indie-ui@w3.org>
Message-ID: <02c701cdbb66$7b773280$72659780$@gmail.com>
I would like to lobby (not strongly) for CamelCase through-out the Spec, for
human semantic purposes, while respecting the conventions for other events
in  platforms.

 

 

 

 

* katie *

Katie Haritos-Shea 


Section 508 and WCAG 2 

Senior Systems Engineer, SME & Technical Policy Analyst




703-371-5545

 <mailto:ryladog@gmail.com> ryladog@gmail.com

People may forget exactly what it was that you said or did, 
but people will never forget how you made them feel.......

Our scars remind us of where we have been........they do not have to dictate
where we are going.

 

From: Richard Schwerdtfeger [mailto:schwer@us.ibm.com] 
Sent: Monday, November 05, 2012 9:53 AM
To: James Craig
Cc: Lachlan Hunt; public-indie-ui
Subject: Re: IndieUI Event Interfaces

 

That is fine with me.


Rich Schwerdtfeger

Inactive hide details for James Craig ---11/05/2012 08:34:11 AM---Unless I
hear objections, I am going to remove the IDL descriJames Craig
---11/05/2012 08:34:11 AM---Unless I hear objections, I am going to remove
the IDL descriptions altogether b/c I'm not sure they

From: James Craig <jcraig@apple.com>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>, 
Cc: public-indie-ui <public-indie-ui@w3.org>
Date: 11/05/2012 08:34 AM
Subject: Re: IndieUI Event Interfaces

  _____  




Unless I hear objections, I am going to remove the IDL descriptions
altogether b/c I'm not sure they add much value. 

I had considered the entirely lowercase event names, but AFAIK, not all
events are defined this way. I'll look for some other examples, but unless I
find some good reasons, I'll make the switch to lowercase.


On Nov 5, 2012, at 4:48 AM, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:

> Hi,
>  The event interfaces are currently defined in a way that doesn't match
the rest of the platform.
> 
> The UIRequestEvent defines an "eventType" attribute as an unsigned short,
with various constants defined to identify the type.  The exact purpose of
these constants is not clear as it does not match the way in which event
types are indicated for other events.
> 
> The UIRequestEvent inherits from UIEvent, which in turn inherits from
Event.  The Event interface defines a "type" attribute as a string. e.g.
"click", "mouseover", etc.  This same type attribute should be used for
these newly introduced events. e.g. "undorequest", "dismissrequest", etc.
The constants (UNDO, REDO, etc.) and the eventType attribute defined in the
UIRequestEvent interface should be removed.
> 
> The names of the events defined in this specification should also match
the conventions used for other events in the platform.  The names are case
sensitive and should be defined in all lower case, rather than camel case
(e.g. "undorequest" instead of "UndoRequest").
> 
> -- 
> Lachlan Hunt - Opera Software
> http://lachy.id.au/
> http://www.opera.com/
> 







image001.gif
(image/gif attachment: image001.gif)

Received on Monday, 5 November 2012 15:02:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 15:02:21 GMT