<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chameleon Works</title>
	<atom:link href="http://chameleonworks.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chameleonworks.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 19 Dec 2009 12:59:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='chameleonworks.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chameleon Works</title>
		<link>http://chameleonworks.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chameleonworks.wordpress.com/osd.xml" title="Chameleon Works" />
	<atom:link rel='hub' href='http://chameleonworks.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Reverse Ajax/Comet/Polling</title>
		<link>http://chameleonworks.wordpress.com/2009/12/19/reverse-ajaxcometpolling/</link>
		<comments>http://chameleonworks.wordpress.com/2009/12/19/reverse-ajaxcometpolling/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 12:40:01 +0000</pubDate>
		<dc:creator>chameleonworks</dc:creator>
				<category><![CDATA[Comet]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://chameleonworks.wordpress.com/?p=9</guid>
		<description><![CDATA[As most of you know, Ajax is a mechanism for a client to communicate with the server. However this has always been understood to be a one way process, where by the client is always the first to initiate a conversation with the server. This is well and good in 90% of the cases, however [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chameleonworks.wordpress.com&amp;blog=10820299&amp;post=9&amp;subd=chameleonworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As most of you know, Ajax is a mechanism for a client to communicate with the server. However this has always been understood to be a one way process, where by the client is always the first to initiate a conversation with the server. This is well and good in 90% of the cases, however what of the 10%?</p>
<p>The remaining 10% would require the server to communicate with the client first. A prime example of this is a Share monitoring application. In most traditional applications, the only way to simulate such systems, it would require the client to constantly poll the server for updates. This solution is fine assuming you have the necessary resources and able to service the millions of requests. However, the main draw back is it&#8217;s responsiveness. By polling, there will always be a delay in receiving the latest changes from the server.</p>
<p>This is where &#8216;Comet&#8217; comes in. Also known as &#8216;Reverse Ajax&#8217;, it enables the server to send events to monitoring clients. Working on the same principles as publish/subscribe designs. Clients using JavaScript will subscribe to a channel established by the &#8216;Comet&#8217; server. Whenever there has been publishes against the monitoring channel, its changes are automatically pushed to the clients.</p>
<p>That is pretty much the crux of it for now. For references, please have a look at the following Comet implementations:</p>
<p>- APE (Ajax Push Engine)<br />
- Tomcat Comet API<br />
- Comet/Server-Push Servlet</p>
<p>Visit us on <a title="Chameleon Works" href="http://www.chameleonworks.com.au" target="_blank">Chameleon Works</a>&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chameleonworks.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chameleonworks.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chameleonworks.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chameleonworks.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chameleonworks.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chameleonworks.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chameleonworks.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chameleonworks.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chameleonworks.wordpress.com&amp;blog=10820299&amp;post=9&amp;subd=chameleonworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chameleonworks.wordpress.com/2009/12/19/reverse-ajaxcometpolling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/155d92988d828dc18bcb3b1a080f1199?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chameleonworks</media:title>
		</media:content>
	</item>
	</channel>
</rss>
