XML (was: 2 patches) - Mailing list pgsql-hackers

From Goran Thyni
Subject XML (was: 2 patches)
Date
Msg-id 368CE5BB.D9E1B7EA@kirra.net
Whole thread Raw
In response to Re: 2 patches  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: XML (was: 2 patches)  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Yesterday I posted a quick patch to make libpq able to output
some home brew (but valid) XML as an alternative to normal and HTML3
output.

The propose was to start a discussion how we could use XML in PgSQL.

I mentioned in my previous mail I would like to use XML in the FE/BE
protocol. That would leav us with 3 protocols, the current one, CORBA
and XML. But I would argue that CORBA and XML are more related since
they are both object based. In the long run the current protocol could 
be dropped.

Pro and cons of using XML:
+ Object-oriented (fits well with our ORDBMS project)
+ Clear text (easily debugged)
+ Easliy display in next generation network tools (even without middleware in some cases)
+ In coupled to DOM, easily manipulatable both on server and/or client
side.
- In theory a little slower than an binary protocol.

XML is a buzzword, but it has enormous potential,
and it is not foreign to the pgsql community since
we are already using the father of XML (SGML) for
the docs.

Suggestion:
CORBA and XML should replace current FE/BE-protocol for v. 7.0
Comments?
best regards and a wishes for a good 1999,
-- 
-----------------
Göran Thyni
This is Penguin Country. On a quiet night you can hear Windows NT
reboot!


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 2 patches
Next
From: PP789717@vasia.com
Date:
Subject: COMPUTER STOCK ON SALE /CPU/MEMORY/MOBILE.......ETC.