You are here: Re: Server Push - Cross-Platform? « PHP Programming Language « IT news, forums, messages
Re: Server Push - Cross-Platform?

Posted by Manuel Lemos on 12/29/07 19:57

Hello,

on 12/29/2007 02:29 PM ashore said the following:
> Folks, lots of stuff around re "multipart/x-mixed-replace" , which
> isn't supported on MS browsers. But i understand that they DO support
> an alternative server-push approach.
>
> I've Googled without success so far, so I wonder whether anyone here
> has some pointers to subject matter?

You can use COMET. It is an alternative way of performing AJAX requests
without keep polling for server responses.

http://www.phpclasses.org/blog/post/58-Responsive-AJAX-applications-with-COMET.html

You may want to try this forms class that comes with an AJAX plug-in
that uses a COMET implementation based on hidden iframes instead of
XMLHttpRequest.

http://www.phpclasses.org/formsgeneration

iframes are consistently supported in all browsers, so portability is
much better than using XMLHttpRequest or multipart/x-mixed-replace requests.

Here is a live example of submitting a form and receiving multiple
asynchronous updates from the server depending on the progress of a
server side operation.

http://www.meta-language.net/forms-examples.html?example=test_ajax_form

In this example case it was used to process a submitted form, but it can
be triggered by any browser event that is not really related with forms.

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация