So, who am I?

Entrepreneur. I am a founder and currently Notches, a distributed reviews system.

Lawyer. I am primarily focused on intellectual property law and legal issues that are relevant to startups.

Writer. I've been writing about technology, software development, law and business for six years.

Developer. I have a background in CS and spent 7 years developing enterprise web applications and frameworks before starting Notches.

Cancer Patient. I am undergoing treatment for Stage II Testicular Cancer. You can follow my recovery on BeatingMyCancer.

Read my full bio or view my resume.

"It is the mark of an educated mind to be able to entertain a thought without accepting it." -Aristotle

Most Popular Tags


Monthly Archives

JSON and XML Jan 05, 2007

Warning:

This article is more than 45 days old and thus may be somewhat out of date. Please keep this in mind when reading the post. If this is a tutorial, please check whether you are using the same versions mentioned in the article.

Back at the PDC, I mentioned that Microsoft chose JSON over XML in Atlas, its AJAX framework. The debate has reared its head again recently, prompted largely by Tim Bray's post.

Tim says that JSON is great for its single intended purpose, "to put structs on the wire." Dare, who used to work on the XML team at Microsoft, say JSON is better than XmlHttpRequest because it helps work around browser security model limitations and is easier to program with. The cross-browser issues are a particularly big issue that people have tried to tackle in different ways - I mentioned before that Julien is using a Flash proxy to work around these issues, and I've seen other architectures which use a server-side proxy on the original server to handle the third-party request.

The key here is that AJAX is not about the technology, but the experience. JSON may or may not be the "best" way to approach this, but the exercise at least highlights some of the limitations (and, to be fair, strengths) inherent in the XmlHttpRequest / SOAP model.

permalink Share Related Posts Widget for Blogs by LinkWithin

If you found this post useful, you may want to subscribe to my feed.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems