[prev in list] [next in list] [prev in thread] [next in thread]
List: html5-help
Subject: Re: [html5] Web Workers question
From: Martin Gainty <mgainty () hotmail ! com>
Date: 2010-04-22 16:53:12
Message-ID: BLU142-W33C976146EA22B3C65549AAE080 () phx ! gbl
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
hi dylan
i am fairly new to the web-worker spec
could you or anyone else on this list enumerate the advantages of web-worker \
implementation of var server = new WebSocket('ws://whatwg.org/database');
server.onmessage = function (event) {
}
over classic http request/response to the same website?
Thanks!
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, \
so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder \
Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch \
von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der \
leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt \
uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas \
le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez \
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est \
interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel \
effet légalement obligatoire. Étant donné que les email peuvent facilement être \
sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le \
contenu fourni.
> From: dylan.barrell@deque.com
> To: help@lists.whatwg.org
> Date: Thu, 22 Apr 2010 12:15:56 -0400
> Subject: [html5] Web Workers question
>
> I have a question about Web Workers
>
> It seems like the spec http://www.whatwg.org/specs/web-workers/current-work/
> is somewhat confused about whether any documents are available in
> the GlobalWorkerScope.
>
> On the one hand, it says that if the script creating the Worker's
> global object is a Window, then the document should be added to the
> "worker's Documents",but then goes on to say that the DOM API is not
> available to the Worker in this version of the spec.
>
> How does adding the document to the WorkerGlobalScope help if the DOM
> API is not available?
> Doesn't this really reduce the usefulness of the Worker object by
> restricting it to tasks that have nothing to do with the DOM - e.g.
> analyzing it as it changes?
>
> thoughts on this?
>
> --Dylan
>
>
> _______________________________________________
> Help mailing list
> Help@lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
[Attachment #5 (text/html)]
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
hi dylan<br><br>i am fairly new to the web-worker spec<br>could you or anyone else on \
this list enumerate the advantages of web-worker implementation of<br><pre>var server \
= new WebSocket('ws://whatwg.org/database');<br>server.onmessage = function (event) \
{<br>}<br></pre>over classic http request/response to the same \
website?<br><br>Thanks!<br>Martin Gainty \
<br>______________________________________________ <br>Verzicht und \
Vertraulichkeitanmerkung/Note de déni et de confidentialité<br><div> <br>Diese \
Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so \
bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung \
einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von \
Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten \
Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt \
uebernehmen.<br></div><pre>Ce message est confidentiel et peut être privilégié. Si \
vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour \
satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la \
copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas \
n'importe quel effet légalement obligatoire. Étant donné que les email peuvent \
facilement être sujets à la manipulation, nous ne pouvons accepter aucune \
responsabilité pour le contenu fourni.</pre><br><br><br><br><br>> From: \
dylan.barrell@deque.com<br>> To: help@lists.whatwg.org<br>> Date: Thu, 22 Apr \
2010 12:15:56 -0400<br>> Subject: [html5] Web Workers question<br>> <br>> I \
have a question about Web Workers<br>> <br>> It seems like the spec \
http://www.whatwg.org/specs/web-workers/current-work/ <br>> is somewhat confused \
about whether any documents are available in <br>> the GlobalWorkerScope.<br>> \
<br>> On the one hand, it says that if the script creating the Worker's <br>> \
global object is a Window, then the document should be added to the <br>> \
"worker's Documents",but then goes on to say that the DOM API is not <br>> \
available to the Worker in this version of the spec.<br>> <br>> How does adding \
the document to the WorkerGlobalScope help if the DOM <br>> API is not \
available?<br>> Doesn't this really reduce the usefulness of the Worker object by \
<br>> restricting it to tasks that have nothing to do with the DOM - e.g. \
<br>> analyzing it as it changes?<br>> <br>> thoughts on this?<br>> \
<br>> --Dylan<br>> <br>> <br>> \
_______________________________________________<br>> Help mailing list<br>> \
Help@lists.whatwg.org<br>> \
http://lists.whatwg.org/listinfo.cgi/help-whatwg.org<br> <br /><hr \
/>Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a \
href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' \
target='_new'>Learn more.</a></body> </html>
_______________________________________________
Help mailing list
Help@lists.whatwg.org
http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic