Re: Server Push - Cross-Platform?



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/
.



Relevant Pages

  • Re: Simple Ajax question.
    ... I might add support for other ... In effect, I was looking for a script to tell me the server time, because ... the support for old browsers. ... if I use a 3rd party site, IE gives me the warning about mixing secure / ...
    (comp.lang.javascript)
  • Re: Server Push - Cross-Platform?
    ... 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 ...
    (comp.lang.php)
  • Server Push - Cross-Platform?
    ... 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 ...
    (comp.lang.php)
  • NFS locking
    ... We have a NFS server here with a fairly high load. ... lockd: server xxx.xxx.xxx.xxx not responding, ... # ACPI Support ... # CD-ROM/DVD Filesystems ...
    (Linux-Kernel)
  • NFS problems with through 2.5.x to 2.6.0-test9
    ... When the server is running the ... kernel, as a client the 2.6 series seem to work perfectly, excluding ... Interesting problem arose when I attempted switch the server's kernel to ... with and without nfsv4 support compiled in (was considering testing it at ...
    (Linux-Kernel)