SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 235 | Next

Nirav Mehta

"Mobile Web Development"

For
our recipes page, we want to bring the recipe and comments via AJAX. The comment
submission too will happen over AJAX.
Chapter 10
[ 183 ]
But hey, AJAX has XML in it! Are we really going to use XML? If we use XML,
the mobile browser has to process the XML, format it, and then display it. This
could take up a lot of CPU power. So what can we do? Simple; don't use XML! Use
XHTML! We will format the output on the server, and the client will only have to
display that at an appropriate place in the page. This will make our job easier. So as
such, we will be using AJAH (Asynchronous JavaScript and HTML) and not AJAX!
Another caveat is the use of JavaScript! The purpose of mobile AJAX is to make
things faster. So, we need to ensure that our JavaScript neither takes too long to
download, nor takes the CPU for a spin!
If you have worked with AJAX on the Web, you will be aware of many libraries and
tools available to build AJAX applications. Dojo, Prototype, YUI, and Script.actulo.
us are some of the most popular toolkits. Unfortunately, there are no such libraries
available for mobile AJAX as of this writing. There are a few projects under way, but
none released to the public.


Pages:
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6