<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>You're suggesting long polling (correct term?) with periodic ajax requests?<br><br>RS<br><br>> From&#58; renggli&#64;gmail.com<br>> Date&#58; Thu, 1 Apr 2010 23&#58;46&#58;13 &#43;0200<br>> Subject&#58; Re&#58; &#91;Seaside&#93; Problems with my dishwasher.. I mean.. Comet<br>> To&#58; seaside&#64;lists.squeakfoundation.org<br>> <br>> &#62; The first is, how do the pushers work&#63; I tried throwing references to one<br>> &#62; around to just one, but I think it actually needs to be rendered to the page<br>> &#62; &#40;load script&#41; as per the example.<br>> <br>> Pushers send Javascript code to all connected clients.<br>> <br>> &#62; And the last one for now &#59;&#41; is how can I restrict relevent data to the<br>> &#62; sessions that &#34;care&#34; about it&#63;<br>> &#62; If a client pushes some javascript, but only<br>> &#62; a few other clients need that javascript, I would prefer to only give that<br>> &#62; script to those clients, or am I thinking on the wrong lines here&#63;<br>> <br>> Currently there is no support for filtering or sending messages to<br>> particular sessions only, although that would be technically easily<br>> possible. We need to improve the Comet package to be able to do that.<br>> <br>> For now your application could provide multiple pushers and sessions<br>> register to the one they are interested in.<br>> <br>> &#62; Should I do something more along the lines of the CTCounter example where,<br>> &#62; when something in the data structure changes, then the clients can choose to<br>> &#62; do something about it&#63;<br>> <br>> Personally I suggest &#40;although the demo examples don&#39;t do this&#41; that<br>> you use Comet only to notify about changes, not to transport large<br>> amounts of data. Like this the clients can decide themselves what they<br>> want to do and request the actual update from the server if they need<br>> it.<br>> <br>> Lukas<br>> <br>> -- <br>> Lukas Renggli<br>> www.lukas-renggli.ch<br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;&#47;&#47;lists.squeakfoundation.org&#47;cgi-bin&#47;mailman&#47;listinfo&#47;seaside<br>                                               <br /><hr />The New Busy is not the old busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3' target='_new'>Get started.</a></body>
</html>