Connecting Tech Pros Worldwide Help | Site Map

Server Push - Cross-Platform?

ashore
Guest
 
Posts: n/a
#1: Dec 29 '07
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?

Thanks all,

-AS
Jerry Stuckle
Guest
 
Posts: n/a
#2: Dec 29 '07

re: Server Push - Cross-Platform?


ashore wrote:
Quote:
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?
>
Thanks all,
>
-AS
>
Try one of the MS groups. This wouldn't have anything to do with PHP
(other than maybe creating the html being "pushed").

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Manuel Lemos
Guest
 
Posts: n/a
#3: Dec 29 '07

re: Server Push - Cross-Platform?


Hello,

on 12/29/2007 02:29 PM ashore said the following:
Quote:
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/...ith-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-e...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/
Closed Thread


Similar PHP bytes