Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6
This is the forum to discuss the Wrox book Professional Ajax, 2nd Edition by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780470109496
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 6th, 2009, 05:03 PM
Registered User
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Smile XML or JSON?

Hello,

Which one works on more browsers or is more reliable...XML or JSON. I need this to work on as many browsers as possible.

Is there a reason to use XML instead of JSON? (JSON is faster than XML, but are there any good reasons to stick with XML)

Thanks!
  #2 (permalink)  
Old December 6th, 2009, 07:32 PM
jmcpeak's Avatar
Wrox Author
Points: 467, Level: 7
Points: 467, Level: 7 Points: 467, Level: 7 Points: 467, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2005
Location: , Texas, USA.
Posts: 87
Thanks: 0
Thanked 18 Times in 17 Posts
Default

It depends on what you want to do. I primarily use XML files for settings and configuration. I use JSON to send information between the browser and server.

As far as support, you'll get more mileage out of JSON. Since every browser supports JavaScript, JSON is inherently supported.
The Following User Says Thank You to jmcpeak For This Useful Post:


Similar Threads
Thread Thread Starter Forum Replies Last Post
JSON-PHP v. PHP-JSON bcrocks BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 August 17th, 2011 07:52 AM
C# and JSON throp BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 2 March 12th, 2009 10:51 AM
C# JSON Library radhakrishnane BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 January 21st, 2009 09:36 AM
C# object to/from JSON possible?!? quantass BOOK: Beginning Ajax with ASP.NET 1 January 21st, 2009 09:32 AM
JSON and ScriptService balesh.mind ASP.NET 3.5 Basics 0 December 4th, 2008 08:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.