The Feel Of The Web
The Feel Of The Web

Have You Noticed How The Feel Of The Web Is Changing?Perhaps You Use LinkedIn - Http:www.linkedin.com Or Jobster - Http:www.jobster.com And Very Probably You Have Had A Look At Google Maps - Http:maps.google.comIf So You Cannot But Have Noticed That These Sites And Others Have A Different Look And Feel. Its Not About But About The Way That They Seem Easier And Faster To Use.So Many Sites Are Slow And Tedious Giving You The Feeling Thatyou Have Plenty Of Time To Get A Coffee Or Even Go To Lunch. It's The Horrible Hourglass. You Click A Link And The Hourglass Appears As The Site Contacts The Server And The Server Thinks About What It's Going To Send Back To You.There Is A Reason For The New Sites Being Faster And Nicer To Use. Its Called AJAX.Not The Cleaner Invented In 1947 Nor The Mythical Greek Hero But A Web Development Technique.AJAX Is Not New Technology But A Combination Of Existing Mature Technologies. Its An Abbreviation For Asynchronous JavaScript And XML And A Web Development Technique To Make Web Pages Feel More Responsive. It Does This By Exchanging Small Amounts Ofdata With The Server Behind The Scenes And Displays It Without Re-fetching The Entire Page At The Same Time, Hence The Term Asynchronous.In Case You Are Not Entirely Clear What Asynchronous Means, Synchronous Means That Processes Are Dependent Upon Other Processes 1 2 3 Etc Whereas Asynchronous Is The Ability To Handle Processes Independently From Other Processes.It Might Seem That Adding A Layer To Any Application Will Make It Less Responsive, But Because The Browser First Loads An AJAX Engine Responsible For Both Providing The Interface The User Sees And Communicating With The Server On The Users Behalf The User Is Very Rarely Staring At An Hourglass Icon Waiting Around For The Serverto Do Something.Every User Action That Normally Would Generate Work On The Server Goes To The AJAX Engine Instead. Any Response To A User Action That Doesnt Require A Trip Back To The Server The Engine Handles On Its Own. If The Engine Needs Something From The Server In Order To Respond It Makes Those Requests Asynchronously Without Affecting A Users Interaction With The Application.All Of This Means AJAX Is Sexy Just Now - A Bit Like Flash Has Been. It Might Be Very Tempting To Use AJAX Simply Because AJAX Is Cool Or My Boss Told Me To.But When You're Building Any Site You Should Think Of Your Customers First. What Do They Need This Application To Do? What Will Make It Easier To Use? A Good Rule Of Thumb As To Whether Or Not To Use AJAX IS: AJAX Is For Action Not Content.If You Are Not Accessing Data That Changes Then You Might Want To Think Again. The Point Of The Asynchronous Request Is That It Makes Requests To The Server For Information That Has Changed Faster - Because It's Happening While The Reader Is Doing Something Else. Then When They Click A Link Or Button Data Shows Up Right Away. If Your Content Or Data Never Or Rarely Changes, Then You Probably Shouldn't Use Ajax To Access It.Then There Are Other Issues:Page ChangesWhen An Entirely New Page Is Produced There Is A Brief Moment Of Re-adjustment When The Content Changes. Because This Doesnt Happen With Smaller Portions Of The Screen This Becomes More Apparent. This Can Leave People Wondering.Search Engine OptimizationSearch Engines Do Not Generally Read The JavaScript Code Required For AJAX. This Can Mean AJAX Pages Remain Un-indexed Unless A Static Page Is Provided.JavaScriptAs AJAX Relies On JavaScript, Which Is Implemented Differently By Different Browsers Or Even Different Versions Of The Same Browser The JavaScript May Have To Be Rewritten For Several Browser(s) Type(s) Though Background Libraries Are Resolving This, But An Issue Still Arises If The User Has Switched Off JavaScript Support In The Browser.Web AnalyticsMany Web Analytics Solutions Are Based On A New Page Being Loaded Whenever New Or Updated Content Is Displayed To The User Or To Track A Process Such As A Check-out. Since Ajax Alters This Care Must Be Taken To Account For How To Ensure A Page Or A Portion Of A Page Can Be Accurately Tracked.Having Written Everything Above, Google Has Made A Huge Investment In Developing AJAX Sites. All Of The Major Products Google Has Introduced Such As Orkut, Gmail, Google Groups, Google Suggest And Google Maps Are AJAX Applications.Then Again AJAX And Other Terms Such As Rich Internet Applications Or RIA For Tolls Such As Flash Are Just New Terms For A Technologies And Technology Combinations That Have Been Around For Years.Given The Hype For These Terms, It Is Sensible Not To Get Carried Away. Careful Evaluation Of When And How To Use AJAX Is Essential.Dont Forget That Flash And Other Applications Still Do Not Form The Basis Of Most Sites And Users Want Usability First. If AJAX Enhances The Users Experience Whether Via Design Or Speed Then Its Worth Considering Carefully.