[nycphp-talk] the stale V in MVC web apps
John Campbell
jcampbell1 at gmail.com
Wed Mar 4 12:26:23 EST 2009
On Wed, Mar 4, 2009 at 12:10 PM, David Mintz <vtbludgeon at gmail.com> wrote:
>
> On Wed, Mar 4, 2009 at 12:01 PM, David Mintz <vtbludgeon at gmail.com> wrote:
>>>
>> Thanks for the tip, but... why is this so?
>>
>
> Cancel that, I think
> http://blog.paulbonser.com/2007/11/18/extending-javascript-tail-recursion/
> is trying to help me out on this one.
The problem is with intervals, is that if someone's connection flakes
out for a minute or two, you end up doing tons of ajax calls that all
overlap causing wacky behavior. The point of tail recursion is to
wait for the ajax call to complete, before starting the timer to do a
new request.
More information about the talk
mailing list