Technologies
AJAX represents a fundamental shift
in how web applications are built
UI request handled
locally, perhaps without
server interaction
!
"" !
# $ ""
%&& $
# $
!
$ ""
' (
# $
)!
!$
AJAX Changes How Web Apps
are Built
*"
&
& !
" # $%"&' $%"&'
! % && $
()
""
&
$%"&'
+ !"
0 $%"&' %&& $
,-
&
1 0 $%"&'
)!
!$
&
* +* ! ,
- - -
. /
GetTime.htm A basic example
!
!
"# $ # # % & '# ()(*+,
-#
!-#
!"# $
!
(1) Client-side Initialization
!
!
"# $ # # % & '# ()(*+,
(2) Making the Call
!
!
"# $ # # % & '# ()(*+,
-#
$ " # # 8 7 # 8+, !
(3) Updating the UI
• When server responds, UI is updated…
- # = =%+,
=% +,
0
!! :
!! > &
!! ? #
!! @ #
!! A
!! B #
- + . $; B, !! #
0
- + . @>> , !! C
0
# 7$% + , $ $ D" # 8D/
# 7$% + " , . 23 . # /
6
+ # # # : E . ,/
6
6
!
Observations
• Goals?
– More responsive web applications
– Richer client-side functionality
– Improved client-side integration of web services
– A user experience closer to that of desktop applications!
What is Atlas?
!" ! # !" #
!
". & " && ") $
!"
& / ! !
"
") $
- #
)" !""* 0
1
" 2
• ! " & $; !"8/*" & 7 "<
• 4 " ! & ! !
• $6& " 6 !
2
• *" 7 $ &!
• - % "" % " $ &6 !&"6 = &!
UpdatePanel
) " 1
$$ # "7
"0 % " " 8 $
% !
"
' !
0? & !
@ 7 "%
$ & " 7-& ! $ " " ! 0>
% !
Creating an AJAX-enabled web app