<?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>Learn AJAX</title>
	<atom:link href="http://learnajax.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://learnajax.wordpress.com</link>
	<description>Asynchronous JavaScript And XML: A to Z blog...</description>
	<lastBuildDate>Wed, 26 Aug 2009 15:24:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='learnajax.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8d444b7233373a02a3cec506bfae1b2b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Learn AJAX</title>
		<link>http://learnajax.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://learnajax.wordpress.com/osd.xml" title="Learn AJAX" />
	<atom:link rel='hub' href='http://learnajax.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Let&#8217;s say, &#8220;Hello World&#8221;&#8230;</title>
		<link>http://learnajax.wordpress.com/2009/08/26/lets-say-hello-world/</link>
		<comments>http://learnajax.wordpress.com/2009/08/26/lets-say-hello-world/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 15:22:40 +0000</pubDate>
		<dc:creator>Lasantha Samarakoon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Hello World]]></category>
		<category><![CDATA[Source code]]></category>

		<guid isPermaLink="false">http://learnajax.wordpress.com/?p=27</guid>
		<description><![CDATA[Today we are going to do our first practical. It’s nothing but saying, “Hello World”… In the previous lesson, I showed you how to create the XMLHttpRequest object. In this lesson we are going to implement a simple client server communication using that http, the XMLHttpRequest object. Before jump to the coding, we have to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=27&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today we are going to do our first practical. It’s nothing but saying, “Hello World”…</p>
<p>In the previous lesson, I showed you how to create the XMLHttpRequest object. In this lesson we are going to implement a simple client server communication using that http, the XMLHttpRequest object.</p>
<p>Before jump to the coding, we have to learn a bit about the methods and properties available on the XMLHttpRequest. Only the necessary methods and properties are mentioned below.</p>
<h2>Methods:</h2>
<ul>
<li><span style="color:#993300;">open(<span style="color:#339966;">method, URL, isAsynchronous</span>) </span>
<ul>By invoking this method, you are going to make a connection to the web server. When regarding about the parameters, in most cases method can be “GET” or “POST”. URL is the address of the server  script such as PHP, ASP, ASP.NET, CGI or JSP file. “isAsynchronous” can be either true or false.</ul>
</li>
<li><span style="color:#993300;">send(data) </span>
<ul> This method sends data to the server. Here the data can be anything. If you are using the “POST” method, you can send the “Query String” as the data.</ul>
</li>
<li><span style="color:#993300;">abort() </span>
<ul> Can be used to cancel the request</ul>
</li>
</ul>
<h2>Properties</h2>
<ul>
<li><span style="color:#993300;">onreadystatechange </span>
<ul> XMLHttpRequest object can be existing in 5 different states. When the state changed, the function you specified here will get invoke. Here are those states.<br />
0 &#8211; Uninitialized<br />
1 &#8211; Loading<br />
2 &#8211; Loaded<br />
3 &#8211; Interactive<br />
4 &#8211; Complete</ul>
</li>
<li><span style="color:#993300;">readyState </span>
<ul> XMLHttpRequest object’s state</ul>
</li>
<li><span style="color:#993300;">status </span>
<ul> Status code sent by the web server about the request you have made. Some of the frequently used status codes mentioned below.<br />
301 &#8211; Moved Permanently<br />
403 &#8211; Forbidden<br />
404 &#8211; Not Found<br />
500 &#8211; Internal Server Error<br />
503 &#8211; Service Unavailable</ul>
</li>
<li><span style="color:#993300;">responseText </span>
<ul> The response generated by the server script</ul>
</li>
<li><span style="color:#993300;">responseXML </span>
<ul> Same as the responseText. But commonly uses, when the response comes as an XML document.</ul>
</li>
</ul>
<p>Same as the responseText. But commonly uses, when the response comes as an XML document.</p>
<p>In this example we are going to request a text file resides on the server. Usually you can view a text file in the web browser by just entering the URL of the text file. But here, we have a web page with a button, and when we click on that button we will get the content of the text file in a message box. Following files are needed for this example.</p>
<ul>
<li><strong>ajax.js </strong>
<ul> Initialization of the XMLHttpRequest object is available here.</ul>
</li>
<li><strong>main.htm </strong>
<ul> Web page with the button.</ul>
</li>
<li><strong>data.txt </strong>
<ul> The text file which has “Hello World” in it.</ul>
</li>
</ul>
<h3>ajax.js</h3>
<div id="attachment_39" class="wp-caption aligncenter" style="width: 497px"><img class="size-full wp-image-39" title="ajax" src="http://learnajax.files.wordpress.com/2009/08/ajax.png" alt="ajax.js file" width="487" height="358" /><p class="wp-caption-text">ajax.js file</p></div>
<h3>main.htm</h3>
<div id="attachment_48" class="wp-caption aligncenter" style="width: 683px"><img class="size-full wp-image-48" title="main1" src="http://learnajax.files.wordpress.com/2009/08/main14.png" alt="main.htm file" width="673" height="559" /><p class="wp-caption-text">main.htm file</p></div>
<h3>data.txt</h3>
<div id="attachment_41" class="wp-caption aligncenter" style="width: 166px"><img class="size-full wp-image-41" title="data" src="http://learnajax.files.wordpress.com/2009/08/data.png" alt="data.txt file" width="156" height="15" /><p class="wp-caption-text">data.txt file</p></div>
<h2>From <em>alert</em> to <em>innerHTML</em>&#8230;</h2>
<p>In the above example, we get the content of the text file in a message box. Instead of that let&#8217;s print it on the same web page. So we have to do some changes in the <em>main.htm</em> file.</p>
<div id="attachment_47" class="wp-caption aligncenter" style="width: 684px"><img class="size-full wp-image-47" title="main2" src="http://learnajax.files.wordpress.com/2009/08/main21.png" alt="changed main.htm file" width="674" height="645" /><p class="wp-caption-text">changed main.htm file</p></div>
<p>You can download the source code <a title="Download on eSnips.com" href="http://www.esnips.com/doc/35c65f8f-9b63-4594-8e0b-7727cb0a2e75/AJAX_20090826" target="_blank">here</a>.</p>
<p><!--Session data--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learnajax.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learnajax.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learnajax.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learnajax.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learnajax.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learnajax.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learnajax.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learnajax.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=27&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learnajax.wordpress.com/2009/08/26/lets-say-hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7f9abd83b3409419373718f59b16f87?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DareDevil</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/ajax.png" medium="image">
			<media:title type="html">ajax</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/main14.png" medium="image">
			<media:title type="html">main1</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/data.png" medium="image">
			<media:title type="html">data</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/main21.png" medium="image">
			<media:title type="html">main2</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX Basics</title>
		<link>http://learnajax.wordpress.com/2009/08/20/ajax-basics/</link>
		<comments>http://learnajax.wordpress.com/2009/08/20/ajax-basics/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 08:23:39 +0000</pubDate>
		<dc:creator>Lasantha Samarakoon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ActiveXObject]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[XMLHttpRequest]]></category>

		<guid isPermaLink="false">http://learnajax.wordpress.com/?p=21</guid>
		<description><![CDATA[Today I&#8217;m going to talk to you about, AJAX Basics. As the previous post, you can see that in the AJAX model, data transfers happen via the AJAX Engine. So the very first thing we have to do is to understand and create this AJAX engine. AJAX engine is just an object which is called [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=21&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m going to talk to you about, AJAX Basics. As the previous post, you can see that in the AJAX model, data transfers happen via the AJAX Engine. So the very first thing we have to do is to understand and create this AJAX engine. AJAX engine is just an object which is called as<span style="color:#ff6600;"> <strong> </strong><strong>XMLHttpRequest</strong></span>.  By creating an object of this <span style="color:#ff6600;">XMLHttpRequest</span>, you can communicate with the web server through JavaScript.</p>
<p>But when you try to create the object, Cross-Browser Compatibility will be an issue. Because you can&#8217;t create the object in non-Internet Explorer, in the same way as in Internet Explorer. That&#8217;s occurred because in IE, <span style="color:#ff6600;">XMLHttpRequest </span>come as an <span style="color:#ff6600;">ActiveXObject</span>, but in non-IE browsers it comes in native handler.</p>
<p>So here is how I going to create &#8220;<span style="color:#ff6600;"><span style="text-decoration:underline;">XMLHttpRequest</span></span>&#8221; object.</p>
<div id="attachment_31" class="wp-caption aligncenter" style="width: 480px"><img class="size-full wp-image-31" title="untitled-1_03" src="http://learnajax.files.wordpress.com/2009/08/untitled-1_033.png" alt="Creating XMLHttpRequest object" width="470" height="439" /><p class="wp-caption-text">Creating XMLHttpRequest object</p></div>
<p>OK.. this is the way to create an <span style="color:#ff6600;">XMLHttpRequest </span>object. This code snippet will be working on Microsoft Internet Explorer as well as Non-IE browsers such as Mozilla Firefox, Opera, Safari or anything. By using this <em><strong>&#8220;</strong></em><span style="color:#0000ff;"><strong>http</strong></span><em><strong>&#8221; </strong></em>variable, we can transmit data with the web server. I hope to show you an &#8220;Hello World&#8221; example in the next post.</p>
<p><!--Session data--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learnajax.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learnajax.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learnajax.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learnajax.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learnajax.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learnajax.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learnajax.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learnajax.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=21&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learnajax.wordpress.com/2009/08/20/ajax-basics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7f9abd83b3409419373718f59b16f87?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DareDevil</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/untitled-1_033.png" medium="image">
			<media:title type="html">untitled-1_03</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to AJAX&#8230;</title>
		<link>http://learnajax.wordpress.com/2009/08/19/introduction-to-ajax/</link>
		<comments>http://learnajax.wordpress.com/2009/08/19/introduction-to-ajax/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 13:58:54 +0000</pubDate>
		<dc:creator>Lasantha Samarakoon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Asynchronous]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[Synchronous]]></category>

		<guid isPermaLink="false">http://learnajax.wordpress.com/?p=13</guid>
		<description><![CDATA[AJAX is stands for Asynchronous JavaScript And XML. It&#8217;s not a language such as Javascript, VBScript or anything, but it&#8217;s a collection of techniques that the developpers used for a long time. AJAX can be used to update a web page continuesly or to update only a part of the web page. But, how this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=13&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>AJAX is stands for <em><strong>Asynchronous JavaScript And XML</strong></em>. It&#8217;s not a language such as Javascript, VBScript or anything, but it&#8217;s a collection of techniques that the developpers used for a long time.</p>
<p>AJAX can be used to update a web page continuesly or to update only a part of the web page. But, how this can happen? So to get an idea about this, you should consider about how the traditional model works.</p>
<p>So how the browser going to fetch data from the server? To understand this, let&#8217;s get an example of visiting Google.com. So when you want to visit google.com, you just enter google&#8217;s URL in your browsers address bar. When you hit &#8220;Enter&#8221;, the browser generate an request which is called as &#8220;<strong>HTTP Request</strong>&#8220;, and send that to the web server. When the server get this request, extract it, analyse it, and finally send back the required web page to the client&#8217;s browser. So this is happen everytime when you click a link or type a URL in the address bar.</p>
<div id="attachment_16" class="wp-caption aligncenter" style="width: 428px"><img class="size-full wp-image-16" title="traditional_model" src="http://learnajax.files.wordpress.com/2009/08/traditional_model1.png" alt="Traditional Model" width="418" height="220" /><p class="wp-caption-text">Traditional Model</p></div>
<p>In the AJAX model, it is little bit different from the traditional model. Let&#8217;s understand this by an example. Imagine that you are viewing a photo gallery in some website. Thumbnails of all the photos are there on the page. When you click on one of the thumbnails, you can view the full-size image of that. If you are using the traditional model, the image will be loaded in a new page. But if you are using the AJAX model, you can see that image on the same page at some location without refreshing or navigating away from that page.</p>
<div id="attachment_15" class="wp-caption aligncenter" style="width: 381px"><img class="size-full wp-image-15" title="ajax_model" src="http://learnajax.files.wordpress.com/2009/08/ajax_model.png" alt="AJAX Model" width="371" height="151" /><p class="wp-caption-text">AJAX Model</p></div>
<p>So this is the basic idea of AJAX. AJAX has been so popular these days, and many websites use this for increase their user experience. Here are the some real world examples of AJAX.</p>
<ol>
<li>
<h3>GMail</h3>
<ul>
<li>If you are familiar with GMail, you can remember that, when you select a mail and click &#8220;Delete&#8221;, your mail will be deleted without refreshing the whole page. It&#8217;s AJAX.</li>
</ul>
</li>
<li>
<h3>Facebook</h3>
<ul>
<li>Facebook is one of main sites which use AJAX. In Facebook, you can update your status, delete a post from the wall, or send message without reloading the page. And when you enter someone&#8217;s name in your search box, you can see drop down list of similar names. That is also AJAX. The most interesting thing is, did you ever noticed that your news feed refreshes every 60 seconds? This shows the power of AJAX.</li>
</ul>
</li>
<li>
<h3>Google Maps</h3>
<ul>
<li>Google maps also uses AJAX for refreshing their maps when you navigate through or when you zoom them.</li>
</ul>
</li>
</ol>
<p>Oh&#8230; I forgot to tell you about another thing. Do you know what is meant by &#8220;<strong>Asynchronous</strong>&#8220;? OK, again an example. Your honey is gonna prepare something for the dinner. So she&#8217;s working hard and she does everything without bothering you. That is <em>Synchronous</em>. But one day, she asked you to cut potatoes while she&#8217;s doing other stuff. When you finished cutting, you alert her that you have finished cutting. That is <em>Asynchronous</em>.</p>
<p>In the Synchronous method, there is only one stream, that only the main-stream available (like herself). In asynchronous model, along with the main-steam, there are several sub-streams available (like your help to her). So in AJAX, it is asynchronous. i.e. data transfers happen, without disturbing your view.</p>
<p>So now the time to get ready for long run with AJAX&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learnajax.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learnajax.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learnajax.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learnajax.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learnajax.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learnajax.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learnajax.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learnajax.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=13&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learnajax.wordpress.com/2009/08/19/introduction-to-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7f9abd83b3409419373718f59b16f87?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DareDevil</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/traditional_model1.png" medium="image">
			<media:title type="html">traditional_model</media:title>
		</media:content>

		<media:content url="http://learnajax.files.wordpress.com/2009/08/ajax_model.png" medium="image">
			<media:title type="html">ajax_model</media:title>
		</media:content>
	</item>
		<item>
		<title>Need of AJAX&#8230;</title>
		<link>http://learnajax.wordpress.com/2009/08/19/need-of-ajax/</link>
		<comments>http://learnajax.wordpress.com/2009/08/19/need-of-ajax/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 10:53:21 +0000</pubDate>
		<dc:creator>Lasantha Samarakoon</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Need]]></category>

		<guid isPermaLink="false">http://learnajax.wordpress.com/?p=6</guid>
		<description><![CDATA[Remind a situation where you used Google to search something. You visited Google, entered the keyword, and file clicked &#8220;Search&#8221;, the page went blank and loaded the new page with your search results. So in this situation, when you click &#8220;Search&#8221;, the browser navigated from one page to another. So the total page reloaded. If [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=6&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Remind a situation where you used <a title="Google" href="http://www.google.com" target="_blank">Google</a> to search something. You visited Google, entered the keyword, and file clicked &#8220;Search&#8221;, the page went blank and loaded the new page with your search results. So in this situation, when you click &#8220;Search&#8221;, the browser navigated from one page to another. So the total page reloaded. If the second page contains only few kbytes, and the content in the previous page will no longer required, then this won&#8217;t be a big problem. But if you have a slow internet connection, and you are viewing a photo gallery in <a title="Facebook" href="http://www,facebook.com" target="_blank">Facebook </a>or something, and you clicked on a thumbnail to enlarge it, the page vanished and finally you are end up with only the larger one, think what kind of impression will be remained in your mind <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . So it&#8217;s worthwhile if you can reload only the part in the web page which contains the large photo. To help you in this kind of situation, the technology called <strong>AJAX</strong> come to the stage.</p>
<p>These requirements can also archive by using Flash or Java Applet. But to view Flash <strong>.SWF</strong> file you want Flash player installed in your computer and to run Java Applet you need JRE in your machine. But to use AJAX, you want only JavaScript enabled browser and most of today browsers have JavaScript.</p>
<p>Remind that, if you have a desire of coding, and you want your visitors to have better user experience with your website, then AJAX should be there on your web site.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learnajax.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learnajax.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learnajax.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learnajax.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learnajax.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learnajax.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learnajax.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learnajax.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=6&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learnajax.wordpress.com/2009/08/19/need-of-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7f9abd83b3409419373718f59b16f87?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DareDevil</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello everyone&#8230;</title>
		<link>http://learnajax.wordpress.com/2009/08/19/hello-everyone/</link>
		<comments>http://learnajax.wordpress.com/2009/08/19/hello-everyone/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 10:48:36 +0000</pubDate>
		<dc:creator>Lasantha Samarakoon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://learnajax.wordpress.com/?p=4</guid>
		<description><![CDATA[Hello guys&#8230; finally I started my first programming blog on AJAX. So I hope you will learn something from my posts. Anyway if you have something to tell, never mind leave a comment. I will try my best to make this blog usable. Thanks&#8230;!!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=4&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello guys&#8230; finally I started my first programming blog on <strong>AJAX</strong>. So I hope you will learn something from my posts. Anyway if you have something to tell, never mind leave a comment. I will try my best to make this blog usable.</p>
<p>Thanks&#8230;!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learnajax.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learnajax.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learnajax.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learnajax.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learnajax.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learnajax.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learnajax.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learnajax.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnajax.wordpress.com&amp;blog=9072227&amp;post=4&amp;subd=learnajax&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learnajax.wordpress.com/2009/08/19/hello-everyone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7f9abd83b3409419373718f59b16f87?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DareDevil</media:title>
		</media:content>
	</item>
	</channel>
</rss>
