NYCPHP Meetup

NYPHP.org

[nycphp-talk] [OT] live slide-show delivery via browser only

Kenneth Downs ken at secdat.com
Tue Oct 31 13:58:46 EST 2006


Allen Shaw wrote:
> Hi Chris,
>
> Yes, I had seen S5 before and thought it a pretty nifty setup.  But does 
> it allow the operator to control page-advance in real time?  The idea is 
> that if you're having a meeting with one or more remote viewers, you 
> could discuss by phone while showing them one slide at a time, at your 
> discretion.
>   
The nice thing about AJAX is the first "A", "Asynchronous".

How much trouble would we cause if a page's onload event called an AJAX 
function called "getNextSlide()".  Upon receiving the request, the 
server could sleep until a new slide is loaded (or sleep for 2 seconds 
and check, sleep for 2 seconds and check, etc.).

Once a new slide is loaded the server finally sends a slide back to the 
browser.  The AJAX on the browser activates the slide and then calls 
getNextSlide() again, re-starting the loop.

As always, the balance is between responsiveness and drag.  You can get 
away with this for a few users, but having a lot of open connections 
checking something over and over will die fast at high volume.



> - Allen
>
> Christopher R. Merlo wrote:
>
>   
>> I once saw a very nice slide show presented using S5:  
>> http://meyerweb.com/eric/tools/s5/
>> -c
>>
>>
>>     

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ken.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061031/8da343e4/attachment.vcf>


More information about the talk mailing list