dbTalk Databases Forums  

XML abuse?

comp.databases comp.databases


Discuss XML abuse? in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nupul
 
Posts: n/a

Default XML abuse? - 04-18-2007 , 11:22 PM






Hi,

I'd like to have your opinion regarding this...XML primarily came into
existence for data exchange among different DBMS vendors --> This was
it's primary motive. But I am seeing a lot of XML abuse...used as a
base for configuration files and the lik! The number of applications
actually using XML configuration is quite frankly astonishing...people
have to know various tags pertaining to many different applications.
Eg. Struts, Apache, Servlets - web.xml, Hibernate,
Java Application Servers etc. But what i have noticed is that most of
this XML abuse is in the realm of Java applications. Infact one of the
specified features of the Ruby Language is "No XML!!"

Even the SOA boom happened because of XML, but I feel that to be a
"valid" use of the technology.

What do you think? Please do share your opinion.

Thanks.

Nupul


Reply With Quote
  #2  
Old   
Robert Klemme
 
Posts: n/a

Default Re: XML abuse? - 04-19-2007 , 02:58 AM






On 19.04.2007 06:22, nupul wrote:
Quote:
I'd like to have your opinion regarding this...XML primarily came into
existence for data exchange among different DBMS vendors --> This was
it's primary motive.
Where did you get that from? IIRC XML was created as a simpler
derivative of SGML - and that was mainly used for complex documents if
I'm not mistaken.

Quote:
But I am seeing a lot of XML abuse...used as a
base for configuration files and the lik! The number of applications
actually using XML configuration is quite frankly astonishing...people
have to know various tags pertaining to many different applications.
Eg. Struts, Apache, Servlets - web.xml, Hibernate,
Java Application Servers etc.
That's typically not a problem because you get a sample / default
config. Also, if you continuously work with one product chances are
that you get to know the syntax of an XML config file the same was as
for ASCII based formats. XML does have the advantage that you can
verify syntax offline, i.e. with a standalone tool without having to put
your edits in production.

Quote:
But what i have noticed is that most of
this XML abuse is in the realm of Java applications. Infact one of the
specified features of the Ruby Language is "No XML!!"
Well, but there are pretty good XML parsers for Ruby. While the core
language does not need any XML you can easily use it, especially with REXML.

Quote:
Even the SOA boom happened because of XML, but I feel that to be a
"valid" use of the technology.
I am not sure about this one as I don't know too much about SOA. To me
this is mostly yet another buzzword that came out of the same direction
as the UML and CORBA hype (hint, hint). <rant>There is a crowd of
people that climb meta level after meta level promising that software
development becomes easier with every step. Unfortunately they are so
busy creating new frameworks and standards of increasing complexity that
they are hardly adopted before the next cool thing(TM) is out.</rant>

My 0.02EUR...

Kind regards

robert


Reply With Quote
  #3  
Old   
toby
 
Posts: n/a

Default Re: XML abuse? - 04-20-2007 , 10:26 PM



On Apr 19, 1:22 am, nupul <nupul.kukr... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I'd like to have your opinion regarding this...XML primarily came into
existence for data exchange among different DBMS vendors --> This was
it's primary motive. But I am seeing a lot of XML abuse...used as a
base for configuration files and the lik! The number of applications
actually using XML configuration is quite frankly astonishing...
But not surprising. This is a perfectly valid use for XML from the
"machine readable" point of view. I'm not persuaded that XML is
particularly human-friendly; so expecting humans to read and write
complex XML may arguably be "abuse". But tastes differ; some people
cannot cope with the inconsistent schemata of UNIX configuration files
(which I don't mind), or bizarrely prefer Ant to Makefiles. And if the
alternative is GUI editors for the same data, then that comes with its
own drawbacks.

Quote:
people
have to know various tags pertaining to many different applications.
Eg. Struts, Apache, Servlets - web.xml, Hibernate,
Java Application Servers etc. But what i have noticed is that most of
this XML abuse is in the realm of Java applications.
What I've noticed is that Java supplies very good libraries for
working with XML, which may have something to do with it.

Quote:
Infact one of the
specified features of the Ruby Language is "No XML!!"
At some point everyone needs to put structured data on a bytestream.
XML is just one way.

Quote:
Even the SOA boom happened because of XML, but I feel that to be a
"valid" use of the technology.

What do you think? Please do share your opinion.
Complaining about XML is like complaining about nitrogen.

Quote:
Thanks.

Nupul



Reply With Quote
  #4  
Old   
Lemming
 
Posts: n/a

Default Re: XML abuse? - 04-27-2007 , 07:44 PM



On 20 Apr 2007 20:26:45 -0700, toby <toby (AT) telegraphics (DOT) com.au> wrote:

Quote:
Complaining about XML is like complaining about nitrogen.
Agreed. Both are useless gases.

Lemming
--
Curiosity *may* have killed Schrodinger's cat.


Reply With Quote
  #5  
Old   
toby
 
Posts: n/a

Default Re: XML abuse? - 05-01-2007 , 05:40 PM




Lemming wrote:
Quote:
On 20 Apr 2007 20:26:45 -0700, toby <toby (AT) telegraphics (DOT) com.au> wrote:

Complaining about XML is like complaining about nitrogen.

Agreed. Both are useless gases.
You'd have a hard time living without it, though.

Quote:
Lemming
--
Curiosity *may* have killed Schrodinger's cat.


Reply With Quote
  #6  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: XML abuse? - 05-01-2007 , 07:33 PM



toby <toby (AT) telegraphics (DOT) com.au> wrote:

Quote:
Lemming wrote:
On 20 Apr 2007 20:26:45 -0700, toby <toby (AT) telegraphics (DOT) com.au> wrote:

Complaining about XML is like complaining about nitrogen.

Agreed. Both are useless gases.

You'd have a hard time living without it, though.
No XML? No. I managed for years.

No complaining? Well, some of the time, I manage without.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #7  
Old   
David Cressey
 
Posts: n/a

Default Re: XML abuse? - 05-02-2007 , 05:11 AM




"Gene Wirchenko" <genew (AT) ocis (DOT) net> wrote

Quote:
toby <toby (AT) telegraphics (DOT) com.au> wrote:

Lemming wrote:
On 20 Apr 2007 20:26:45 -0700, toby <toby (AT) telegraphics (DOT) com.au> wrote:

Complaining about XML is like complaining about nitrogen.

Agreed. Both are useless gases.

You'd have a hard time living without it, though.

No XML? No. I managed for years.

No complaining? Well, some of the time, I manage without.

The analogy between XML and nitrogen is weak. Nitrogen is hardly useless.
Lightning combines nitrogen with oxygen to produce various ions. The rains
washes those ions into the soil. In the soil, compounds based on these ions
act as fertilizer, improving crops.




Reply With Quote
  #8  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: XML abuse? - 05-02-2007 , 11:03 AM



"David Cressey" <cressey73 (AT) verizon (DOT) net> wrote:

Quote:
"Gene Wirchenko" <genew (AT) ocis (DOT) net> wrote in message
news0nf3319jd3em0dt55eam5j66e28hcl862 (AT) 4ax (DOT) com...
toby <toby (AT) telegraphics (DOT) com.au> wrote:

Lemming wrote:
On 20 Apr 2007 20:26:45 -0700, toby <toby (AT) telegraphics (DOT) com.au> wrote:

Complaining about XML is like complaining about nitrogen.

Agreed. Both are useless gases.

You'd have a hard time living without it, though.

No XML? No. I managed for years.

No complaining? Well, some of the time, I manage without.

The analogy between XML and nitrogen is weak. Nitrogen is hardly useless.
Lightning combines nitrogen with oxygen to produce various ions. The rains
washes those ions into the soil. In the soil, compounds based on these ions
act as fertilizer, improving crops.
Fertiliser? I am sure that some people have made the connection
between XML and, ah -- to borrow a line from Royal Canadian Air Farce
(a comedy program) -- Boastful Speaking.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #9  
Old   
toby
 
Posts: n/a

Default Re: XML abuse? - 05-02-2007 , 09:20 PM



On May 2, 7:11 am, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote:
Quote:
"Gene Wirchenko" <g... (AT) ocis (DOT) net> wrote in message

news0nf3319jd3em0dt55eam5j66e28hcl862 (AT) 4ax (DOT) com...

toby <t... (AT) telegraphics (DOT) com.au> wrote:

Lemming wrote:
On 20 Apr 2007 20:26:45 -0700, toby <t... (AT) telegraphics (DOT) com.au> wrote:

Complaining about XML is like complaining about nitrogen.

Agreed. Both are useless gases.

You'd have a hard time living without it, though.

No XML? No. I managed for years.
Didn't we all? My comment was neither endorsing nor defending nor
attacking XML. It was a metacomment, which both you and David
unfortunately seem to have overlooked...

Quote:
No complaining? Well, some of the time, I manage without.

The analogy between XML and nitrogen is weak. Nitrogen is hardly useless.
I did not claim XML or nitrogen were useless; that was Lemming. The
analogy lies elsewhere...

Quote:
Lightning combines nitrogen with oxygen to produce various ions. The rains
washes those ions into the soil. In the soil, compounds based on these ions
act as fertilizer, improving crops.
Now you're starting to see where I was coming from.



Reply With Quote
  #10  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: XML abuse? - 05-02-2007 , 10:15 PM



toby <toby (AT) telegraphics (DOT) com.au> wrote:

Quote:
On May 2, 7:11 am, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote:
"Gene Wirchenko" <g... (AT) ocis (DOT) net> wrote in message

news0nf3319jd3em0dt55eam5j66e28hcl862 (AT) 4ax (DOT) com...

toby <t... (AT) telegraphics (DOT) com.au> wrote:

Lemming wrote:
On 20 Apr 2007 20:26:45 -0700, toby <t... (AT) telegraphics (DOT) com.au> wrote:

Complaining about XML is like complaining about nitrogen.

Agreed. Both are useless gases.

You'd have a hard time living without it, though.

No XML? No. I managed for years.

Didn't we all? My comment was neither endorsing nor defending nor
attacking XML. It was a metacomment, which both you and David
unfortunately seem to have overlooked...
No, we had fun with it. Pity us poor nerds. We never get to
have fun.

Quote:
No complaining? Well, some of the time, I manage without.

The analogy between XML and nitrogen is weak. Nitrogen is hardly useless.

I did not claim XML or nitrogen were useless; that was Lemming. The
analogy lies elsewhere...

Lightning combines nitrogen with oxygen to produce various ions. The rains
washes those ions into the soil. In the soil, compounds based on these ions
act as fertilizer, improving crops.

Now you're starting to see where I was coming from.
So did you like the Boastful Speaking reference?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.