W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: Window object, very rough cut of proposed content for first version of spec

From: Robin Berjon <robin.berjon@expway.fr>
Date: Tue, 14 Feb 2006 14:05:34 +0100
Message-Id: <E7DC5F25-C390-4098-9AF5-D50417E6E990@expway.fr>
Cc: <public-webapi@w3.org>
To: Mark Birbeck <mark.birbeck@x-port.net>

On Feb 14, 2006, at 13:44, Mark Birbeck wrote:
> I understand, and my point was only about the name.
>
> We have a system that uses JavaScript. It can load a document via  
> one set of
> interfaces, and then push that document to one or more renderers. I  
> don't
> fancy calling the global context 'window', since it is a  
> 'controller' that
> contains both the network interfaces and the renderers. But it  
> would be good
> if it had as many of the same methods and interfaces as possible as  
> other
> 'environments'.

One point that Jim brought up was that you can understand that even  
if it's called Window it's just for historical and compatibility  
reasons, while someone who hasn't spent so much time thinking about  
Web specs would look for "the window interface", and not for  
"global", "abstract view", or other such notions. I really don't  
think the name is all that important, I'd rather we focused on the  
actual content of Maciej's proposal.

> But insofar as
> a 'standard' set of APIs is being defined for the future, I think  
> it would
> be better if my kind of application could also fall within this.

They are not excluded, we may be doing several versions of Window.  
Once we've documented what exists in a number of specs, we can start  
looking at what would be smart to add.

>> We could put timers on a separate interface. But I don't
>> think anything in the proposed interface is onerous to
>> implement or requires having a UI.
>
> That's more the direction I was hoping for. It would be great if we  
> could
> base the interfaces we need for things like timers, and so on, on some
> 'standard'.

We have another deliverable for a timer interface separate from the  
window. The latter could be expressed in terms of the former, we'll  
see once we get there.

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Tuesday, 14 February 2006 13:05:48 GMT

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