Innovation Award
 June 2004
Number 7 |
The HTTP protocol can be used to serve content in ways that are not very well known. One of such ways is to use MIME multipart content types.
The multipart/x-mixed-replace content type allows to serve a sequence of distinct content objects that replace each other within the same HTTP request. This means that the same page can display different content parts that appear successively.
Since each part may be served with wait intervals that are defined by the script that serves the page, this can be used for pushing new content once it is made available on the server, thus without having the user or the browse to issue a new request.
Despite it is a feature that is not supported by all browsers, it can be used for event driven applications that depend on events that may occur on the server side besides others that occur on the client side.
This class provides a solution for creating these multipart replacement content type parts without having to understand too much about the technical details of the protocol.
It comes with illustrating examples that show how to generate server based animations or replace content after a given period of time producing interesting slideshow effects.
Manuel Lemos |
This class is meant to compose and serve multiple pages that replace each other in a single HTTP request.
It uses the MIME content type multipart/x-mixed-replace content type to keep the connection open. Only works in browsers that support that content type, obviously. This does not include MS Explorer.
It can send multiple pages that replace each other even with different content types. It can iterate over a set of pages that are deliver one after the other waiting a given interval period.
It can be used to show the progress of lengthy tasks or exhibit animations and slideshows.
| There are not enough user ratings to display for this class. |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.