taosmultimedia.com in Taos, New Mexico, Joomla CMS, digital video, online magazines, newspaper, entertainment,webcam


Main Menu
Home
Articles
Downloads
Online Store
J. R.'s Tech Links
Apple Tech News
Joomla Tech News
Video Tech News
Web Dev News
Tech News
Other News
Newsfeed Links
Our Taos Web Portals
TMM YouTube Channel
Global Joomla Sites
Services
Contact
Site Map
Google Video Feed
Video Instruction
News Archive
Testing
Search taosmultimedia.com
Who's Online
We have 89 guests online
Login Form





Lost Password?
No account yet? Register
Visits today: 99
Visits yesterday: 140
Visits month: 2607
Visits total: 82395
Max.monthly visits: 11796
occurred: 2008-2
Pages this month: 54936
Pages total: 1211059
Bots today: 707
Data since: 2006-02-23
Browsers
Totals Top 10
 39 % Internet Explorer 6.0
 36 % LibWWW
 11 % Internet Explorer 7.0
 4 % Mozilla 20080109
 2 % FireFox 2.0.0.11
 2 % Internet Explorer 5.5
 2 % FireFox 2.0.0.5
 < 1.0 % FireFox 2.0
 < 1.0 % FireFox 2.0.0.12
 < 1.0 % FireFox 2.0.0.6
Visitors by Country
Totals Top 25
 24 % Commercial
 22 % networks
 12 % Unknown
 4 % Germany
 4 % United States
 2 % Netherlands
 2 % Australia
 2 % Sweden
 2 % Brazil
 < 1.0 % United Kingdom
 < 1.0 % Italy
 < 1.0 % Russian Federation
 < 1.0 % Korea, Republic of
 < 1.0 % China
 < 1.0 % Canada
 < 1.0 % India
 < 1.0 % Poland
 < 1.0 % Unrestricted use
 < 1.0 % Organization (non-profit)
 < 1.0 % Japan
 < 1.0 % Educational Institution
 < 1.0 % Turkey
 < 1.0 % 
 < 1.0 % France
 < 1.0 % Indonesia
World Time Clock
Taos
Taos, New Mexico
Invalid Client ID

Email List
Join the taosplaza.com group mailing list and get info on several important Taos sites
E-mail Address:

First Name:

Last Name:

City:

Country:

 

El Torreon Hacienda in El Prado - Restaurant & Shops
Home arrow Articles arrow Why AJAX Websites Taste Like Fast Food

Why AJAX Websites Taste Like Fast Food

Why AJAX Websites Taste Like Fast Food
By Lucky Balaraman

There are some fast food outlets that start cooking food only after you walk up to the counter and order it. Make no mistake, these are the inefficient outlets. You end up waiting half an hour for your meal to appear and vow never to go the restaurant again because of the time it made you waste.

Switch to a well-organized fast-food outlet. Popular menu items are already waiting for you in the brightly lit 'keep warm' showcase. You walk up to the counter, order a burger with fries, the salesperson goes to the showcase, takes out a warm, packaged burger, takes out fries and gives them all to you in a jiffy.

AJAX is a strategy for giving you web pages in a jiffy. I can't but help thinking that Jesse James Garrett, credited with being the brain behind AJAX, spent a lot of time at the best fast food outlets. Why? Because the AJAX strategy is uncannily similar to that used in a quality fast food establishment.

Let's think for a moment about how your browser (Internet Explorer, Firefox, whatever) fetches a web page for you. You type the URL for the page into your browser. Your browser sends a request to a computer on the internet (the 'server' at that URL) to send that page back. The server pulls the page out from its store of pages and sends it to your browser, which displays the page on your screen.

Usually you do not have to wait more than 15 seconds for the page to reach your browser and be displayed on your screen.

But sometimes it can take a whole half minute (which is the same as 'forever' in Internet terms) to see your page. Usually this occurs in a situation where you have entered some data in a web page, sent it down the Internet to a server, and are expecting the server to process your data and send you back a result (an example is attempting to fetch images from certain online photo sharing sites).

But suppose your desktop had a program in it which anticipated what your next request could be, got that information ahead of time from the server, and kept it ready for your browser. When you did make the request, the information you wanted would be readily available in your desktop. You would not have to wait for it to be fetched from the server; the program gives it to your browser and it is displayed immediately.

Now think of the 'keep warm' showcase strategy in the fast food restaurant. You see the similarity in concepts?

So here's the thing: the program in your desktop that anticipates your next move and 'pre-fetches' data from the server is called an 'AJAX Engine'. It is written in the JavaScript programming language.

When it pre-fetches data from the server, it uses a programming language called XML.

The pre-fetching does not occur as a result of your request for a page. It happens at other times, perhaps while you are sitting back and viewing the last page that was sent. The pre-fetching is thus not synchronized with your requests for pages. This is known technically as asynchronous pre-fetching.

Hence the name Asynchronous JavaScript And  XML, AJAX for short. And guess what, Google Groups, Google Suggest, and Google Maps are all implemented with AJAX.

It is likely that AJAX is going to show up more frequently in the design of interactive websites in the coming years. The next time you visit a fast-food restaurant, you may want to keep this in mind while collecting your order. How's that for living in two dimensions at once?

Lucky Balaraman is a graduate engineer and one of the founders of The Magnum Group, a leading web design and CAD service provider based at Chennai, India. Learn more about them at http://themagnumgroup.net

Article Source: http://EzineArticles.com/?expert=Lucky_Balaraman
 
< Prev

taosdaily.com Horsefly Online The alternative News Source for Taos, New Mexico
Visit J. R.'s Tech Links for more info on tech items
Translation Window
Latest News
Popular of Late
Skype
I am currently... Offline 


taosmultimedia.com © 2000-2008 Taos Music & Art, Inc. unless otherwise noted
Website by J. R. Ransom
 
(C) 2008 J. R. Ransom's taosmultimedia.com
Joomla! is Free Software released under the GNU/GPL License.