[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nyphp-talk
Subject:    Re: [nyphp-talk] the stale V in MVC web apps
From:       David Mintz <vtbludgeon () gmail ! com>
Date:       2009-03-05 0:51:04
Message-ID: 721f1cc50903041651i10c946d6q31aa9f4c9a54d069 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Mar 4, 2009 at 2:42 PM, David Mintz <vtbludgeon@gmail.com> wrote:

>
>
> <snip/>
>
>>
>>
>> I don't think your code is quite right.  To validate polling code,
>> just add "sleep(2)" to your php code, and set the updateInterval to 1
>> second.  If it doesn't work under these conditions, then the code is
>> not quite right.
>
>
>
> Why would you want to sleep() on the server side?
>

It's for test purposes, fool [it occurred to him 4 hours later as he was
walking down the street]



-- 
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Wed, Mar 4, 2009 at 2:42 PM, David Mintz <span \
dir="ltr">&lt;<a href="mailto:vtbludgeon@gmail.com">vtbludgeon@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br><br><div \
class="gmail_quote"><div class="im">&lt;snip/&gt;<br><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"><div><br> <br>
</div>I don&#39;t think your code is quite right.  To validate polling code,<br>
just add &quot;sleep(2)&quot; to your php code, and set the updateInterval to 1<br>
second.  If it doesn&#39;t work under these conditions, then the code is<br>
not quite right.</blockquote></div><div><br><br>Why would you want to sleep() on the \
server side? </div></div></blockquote><div><br>It&#39;s for test purposes, fool [it \
occurred to him 4 hours later as he was walking down the street] <br> \
</div></div><br><br clear="all"><br>-- <br>David Mintz<br><a \
href="http://davidmintz.org/">http://davidmintz.org/</a><br><br>The subtle source is \
clear and bright<br>The tributary streams flow through the darkness<br>



_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic