Friday, November 21, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Plug-in and Platform Forums  Outlook 2003 Plug-in  JSON vs. XML...
 JSON vs. XML
 
AllStoneTech
27 posts
Joined
9/22/2006

JSON vs. XML
Posted: 30 Jan 07 5:01 PM
I have a request from my users to incorporate JSON instead of the standarad SOAP/Xml protocols.  SOAP seems to be a speed bottleneck when talking to Sugar.  Have you guys done any work in this area?
support
2098 posts
1st
Joined
1/3/2006

Re: JSON vs. XML
Posted: 30 Jan 07 5:32 PM

I wonder if the problem is with SOAP or with the design of Sugar and/or the Sugar API. 

We will not likely switch to JSON, but there is an interesting debate going on:

http://ajaxian.com/archives/json-vs-xml-the-debate

 

AllStoneTech
27 posts
Joined
9/22/2006

Re: JSON vs. XML
Posted: 31 Jan 07 11:42 AM

I do believe that the problem does lie in the Sugar-Soap implementation.   Some tests we've run show that when transfering large amounts of data there is an inordinate amount of time spent on the sugar server as opposed to transmitting or clientside.  Unfortunately we can't, and don't really want to, get into that code to figure it out and optimize it.  And, unfortunately, it was a trivial thing for our php programmer to implement Sugar's existing JSON functionality.  So now it's up to me to write a web reference object that uses JSON instead of XML.  The sad part of that is I have to totally scrap the really easy to implement (read ignore) .NET WebReference "bottled" code/object (SplendidCrm), because there doesn't seem to be a way to dictate the data transmital format.  (please if you or anyone else knows how or where i should look on how to do this, I'm open to suggestion).

Oh, and that's a great reference page you had, many of those articles I've come across already but there were some others I hadn't.  Great starting point for anyone trying to choose twixt JSON and XML.  Unfortunately the argument of JSON vs XML is probably moot, Web Services should probably be written so that they can tell what they're getting and return the same, leaving the method choice up to the Client.

Louis

  Plug-in and Platform Forums  Outlook 2003 Plug-in  JSON vs. XML...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.