Re: Why XML to comunicate Distributed Components?
- From: Robert Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 08:46:40 -0600
On 2008-02-27 11:17:44 -0600, carofe <carlosrf82@xxxxxxxxx> said:
Well, the purposing of this post is to find good reason about xml
technology as message format.
My question is: Why the communication between components should be
XML?
The primary advantage to using XML is that it is a standard. You can find tools that support it, and vendors that can communicate with it. This is a biggie, and probably overrides most of the negatives.
In nearly every other way XML is a pretty poor mechanism for serializing data. It's bloated, redundant, overspecified, and hard to read.
There are better formats out there. Yaml, JSon, etc. And for transporting data between machines a binary representation like x.409 would be better.
--
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716 |
.
- Follow-Ups:
- Re: Why XML to comunicate Distributed Components?
- From: S Perryman
- Re: Why XML to comunicate Distributed Components?
- References:
- Why XML to comunicate Distributed Components?
- From: carofe
- Why XML to comunicate Distributed Components?
- Prev by Date: Re: Why XML to comunicate Distributed Components?
- Next by Date: Re: Why is Object Oriented so successfull
- Previous by thread: Re: Why XML to comunicate Distributed Components?
- Next by thread: Re: Why XML to comunicate Distributed Components?
- Index(es):
Relevant Pages
|