Skip to content

Key components of Web2.0-RSS and AJAX

August 12, 2009
tags:
1)Really Simple Syndication or Rich Site Summary(RSS):
RSS is a key concept in Web2.0.It can be well explained with the help of an example.
Take for instance I want to write an article titled Web2.0.After searching extensively in different websites for information about Web2.0,I found that there were some 5 websites which were able to provide me details on various topics relating to Web2.0.I just wanted to keep myself updated on some topics like Network Effect ,Web as platform,Blogs,Technology stack of Web2.0 and Application architecture of Web2.0 in order to produce the article.But the information being scattered in different websites ,it was very difficult for me to check manually for any updated content under all these headings by visiting all the five websites and navigating to that particular content page.It was really time consuming and difficult too.
But when I discovered RSS on the content pages of the 5 different websites,the task was made easy because by subscribing to it, I was able to bring the contents from all the five different sites to one common location.The contents are called RSS feeds.
Most probably everybody would have noted images like this on different websites. By clicking on it,we can subscribe to one of the Web-based RSS Feed Readers like igoogle,Netvibes,MyYahoo,etc.Suppose if i choose netvibes on all 5 sites and add the rss feeds,ie,the contents from the 5 different websites to it ,i can see a portion of the content under all the above headings from the 5 different websites appearing on the Netvibes start page.We can add as many rss feeds as we want to one RSS Feed Reader.Thus the cumbersum task of manually navigating to the content pages on different websites will be eliminated and easily we can get any updated information on all topics in one page like the Netvibes start page in the preceding example. This is an overview of RSS.A more clear understanding of subscription can be evolved by practically using this feature which saves lot of time and energy.
While web-based RSS feed readers are available,there is a downloadable software called aggregator that can also check for frequent updates in all the RSS feeds,collect them and put them in the common location we choose which may be google homepage,Netvibes or Googlereader..

2)AJAX: 1) AJAX stands for Asynchronous Javascript And XML.

2) It is a collection of several web-development techniques like DHTM, Javascript, XML, etc
3) AJAX is an approach for building interactive websites as it renders asynchronous
communication   possible.
4) AJAX is a bridge between desktop applications and web applications.
5) It removes the Request/Response model.
6) It updates only a portion of the interface.
7) It is an open standard.
8) The XMLHttpRequest object is used to make scripts request for information from the server.
9) Suppose if I select a country in Country listbox, then my application should populate the states of that country in the states listbox.In this situation we can use  “AJAX” to send the request to the back end to get the States list. As we send request to back end and do not wait for response from the server, it is called Asynchronous call using JavaScript. The JavaScript event in the above example is onChange event of the country listbox.The request is sent to backend using XMLHTTPRequest object. The response is obtained as an XML.By using DOM, the XML is parsed and the data is populated.

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: