Sama_Ajax.ppt
-
Upload
ernestohp7 -
Category
Documents
-
view
214 -
download
0
Transcript of Sama_Ajax.ppt
-
7/27/2019 Sama_Ajax.ppt
1/17
CIS764 1
AJAXIs it a cleanser or a bleach?
Haritha Reddy Sama
CIS 764
InstructorDr.Bill Hankley
-
7/27/2019 Sama_Ajax.ppt
2/17
CIS764 2
Overview
Introduction to AJAX
Advantages
Popular Applications
Disadvantages- the other side of thecoin
-
7/27/2019 Sama_Ajax.ppt
3/17
CIS764 3
Introduction to AJAX
What is AJAX a technique to process userrequest immediately
Why AJAX
more time for sever toprocess the request
-
7/27/2019 Sama_Ajax.ppt
4/17
CIS764 4
How does it work
Delayed responsedue to processingby server
Immediateresponse
-
7/27/2019 Sama_Ajax.ppt
5/17
CIS764 5
Advantages
Interface is more responsive
Waiting time is reduced
Page encounters an error- applications
fails graciously
Traffic to and from server is reduced bandwidth usage is most likely to
decrease
-
7/27/2019 Sama_Ajax.ppt
6/17
CIS764 6
Some Popular AJAX Apps
Google maps:(richer desktop interaction methods like Zoom
in/Zoom out are possible)
Google suggest:(Auto-completion)
Google calendar:(Improved performance and smoother responses)
Flickr photo sharing:(Multiple Interactions due to asynchronous
communication)
-
7/27/2019 Sama_Ajax.ppt
7/17
-
7/27/2019 Sama_Ajax.ppt
8/17
CIS764 8
-
7/27/2019 Sama_Ajax.ppt
9/17
CIS764 9
-
7/27/2019 Sama_Ajax.ppt
10/17
CIS764 10
The other side of the coin
-
7/27/2019 Sama_Ajax.ppt
11/17
CIS764 11
SEO Rhetoric - Dont use AJAX
When pages with Ajax are indexed, the datadisplayed by Ajax calls is not present in the
page workarounds are required to get dynamic Ajax
content indexed
its simply not there in the page
Content rendered via AJAX is done via
javascript Search engine spiders cannot invoke javascript
events to retrieve AJAX content
-
7/27/2019 Sama_Ajax.ppt
12/17
CIS764 12
Disadvantages
Increased development time and costs
Available frameworks and components still
need to completely mature
Not all concerns regarding security anduser privacy have been answered
Conflicts in modern browsers - navigateand create bookmarks
-
7/27/2019 Sama_Ajax.ppt
13/17
CIS764 13
Disadvantages (contd..)
Not meant to be used in every application
Concern of accessibility
XMLHttpRequest object itself
-
7/27/2019 Sama_Ajax.ppt
14/17
CIS764 14
Workarounds - Go on an AJAX diet
Use hidden divs rather than Ajax Search engines will index the content
Need AJAX content to be indexed
Provide hidden links that can be spidered
Limit the complexity of the logic Javascript-free Ajax
AJAX should be limited to providing a better userexperience through RIAs ( Rich InternetApplications)
-
7/27/2019 Sama_Ajax.ppt
15/17
CIS764 15
Conclusions
Keeping the advantages anddisadvantages in mind one has to choosewhether or not to have AJAX to retrieve
the content/data in their application.
-
7/27/2019 Sama_Ajax.ppt
16/17
CIS764 16
References
AJAX Patterns Web site which has plethora ofajax examples
http://ajaxpatterns.org/
Presentation by Paul Buremmer from REDDOOR on AJAX
http://www.semphonic.com/conf/AJAX_Paul_Bruemmer.pdf
An article - Is AJAX right for my project?
http://www.interaktonline.com/Support/Articles/Details/AJAX%3A+Asynchronously+Moving+Forward-Is+AJAX+right+for+my+project%3F.html?id_art=36&id_asc=310
http://www.semphonic.com/conf/AJAX_Paul_Bruemmer.pdfhttp://www.semphonic.com/conf/AJAX_Paul_Bruemmer.pdfhttp://www.semphonic.com/conf/AJAX_Paul_Bruemmer.pdfhttp://www.semphonic.com/conf/AJAX_Paul_Bruemmer.pdf -
7/27/2019 Sama_Ajax.ppt
17/17
CIS764 17
Questions?