Server Push - Cross-Platform?
am 29.12.2007 17:29:29 von ashore
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
Re: Server Push - Cross-Platform?
am 29.12.2007 19:52:39 von Jerry Stuckle
ashore wrote:
> 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
==================
Re: Server Push - Cross-Platform?
am 29.12.2007 20:57:14 von Manuel Lemos
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-appli cations-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=tes t_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/