Skip to Content
Head Rush Ajax
book

Head Rush Ajax

by Brett McLaughlin
March 2006
Beginner to intermediate
448 pages
13h 33m
English
O'Reilly Media, Inc.
Content preview from Head Rush Ajax
you’re on your way
373
xml versus json
Today’s adrenaline-laced, psyched-up ghters:
XML and JSON
XML: (glares at JSON)
JSON: Your time has finally come, XML. Tonight,
the world is gonna see that you’ve lost a step,
especially when it comes to JavaScript and
asynchronous applications.
XML: I’ve heard that one before... but here I am, still
the reigning data format in the world.
JSON: You’re only at the top because people think
that there’s nothing else available. I know lots of
people that can’t stand you, XML... you’re big and
bloated, and a real pain to work with.
XML: I’m big because I can handle anything.
Snowboard sales, HTML, purchase orders... you
throw it at me, I’ll take care of it. No problem. You
think a little pipsqueak can handle all those different
types of data? I don’t think so.
JSON: Maybe not, but I’m fast... a lot faster than
you, most of the time.
XML: I’m plenty fast, especially if you use my
attributes. And, I’m versatile... I can do all sorts of
things, like represent a math equation or a book.
JSON: Yeah, well, most of my users aren’t too
interested in sending math equations across the
network. Besides, all those angle brackets? Ugh...
anyone that knows arrays can start working with me
without having to learn all that weird XML syntax.
XML: But can someone transform you into
something else? Like with XSLT? Or what about
web services... you gonna tell me you can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally

Publisher Resources

ISBN: 0596102259Errata PageSupplemental Content