COMET is shining over AJAX ?!?
An article at www.irishdev.com explains an extension of AJAX(the currently biggest hype in the web). What is COMET? First of all it is not an acronym as the name AJAX is one. It has much with AJAX in common, but the basic difference is the way the client get data from the server. In the AJAX case a client action starts a data poll from the server. In the COMET world the server keeps an open connection to the client and sends data triggered by events. The Emphasis is on “keeps an open connection“. This paradigma is not as simple as typical AJAX paradigmata are, it is a complete redesign of the typical communication between web server and web client. First it needs web server which not only support polling but also pushing data. This has tremendous impact on the web server configuration and its scalability. The two main web servers (IIS and Apache httpd) don’t have this feature. This makes
the use of COMET technologies very unrealistic. In fact the strength of AJAX was and is that it
can be used directly without reconfiguration of clients and servers.
But let’s look at the positive side of the coin. COMET of course is a systematic extension of other typical communication models, such as database connections, social or peer-to-peer connection and so on. Definitly I’ll try to write down some small code snipplets for demonstration….





