Prev | Current Page 105 | Next

Larry Ullman

"Building a Web Site with Ajax: Visual QuickProject Guide"


7 Ajax requires that the user be online the entire time.
130 Appendix
Ajax alternatives
It may seem strange to discuss other options in a book
about Ajax, but you can get a better understanding of
a thing by knowing what the alternatives are. What
can be accomplished via Ajax may also be possible
using:
1 iFrames: While not as powerful as Ajax, iFrames
are well supported by most browsers. iFrames often
still make use of JavaScript; therefore, they can have
some of the same issues as Ajax.
2 Flash: This is an extremely useful technology but
requires that the user install the Flash plug-in for
their browser.
3 Java applets: Like Flash, Java applets have a
wide range of uses and abilities but require installed
browser support.
Appendix 131
introducing JSON
JSON (JavaScript Simple Object Notation) provides an alternative
to XML for transmittng data. Here is some sample XML data from
Chapter 7, ???enabling an Ajax search???:


Gray, Gideon
Accounting
g.gray@thiscompany.com


Green, Laverne
Human Resources
l.


Pages:
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117