473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

xml ignorant

Rut
I'm looking for a crash course in the use of xml. I am a programmer of
mostly client-server type apps hitting against sql server. I don't
program web related apps at all. I've taken classes in xml but as of
yet see a real use for it in my day to day programming.

Where would it be useful/beneficial in a client-server arena?

When would it be advantagous to store data in xml format in a database
(sql 2005)?

At what threshold (record size?) does xml become unreasonable slow to
deal with?
It just doesn't seem practical to move large numbers of records around
in xml format. Just too slow. Or am I missing something?

thanks,

XML DEPRIVED
Jul 20 '05 #1
3 1355

"Rut" <ru*****@rjrt.com> wrote in message
news:d8**************************@posting.google.c om...
I'm looking for a crash course in the use of xml. I am a programmer of
mostly client-server type apps hitting against sql server. I don't
program web related apps at all. I've taken classes in xml but as of
yet see a real use for it in my day to day programming.
well, uses, if they exist, may just pop up.
I am just answering based on my general oppinions, and thus have little
weight.

if one allready has an xml parser in place, they may as well use it (vs.
comming up with or using something else).
Where would it be useful/beneficial in a client-server arena?
openness, mostly.
flexibility may also be a factor, and some protocols have shown this (eg:
xmpp as a good example).
(one may argue that other formats can be made similarly flexible, but often
they are not).
When would it be advantagous to store data in xml format in a database
(sql 2005)?
err, dunno here...

presumably a dbms would internally use a more optimized format (binary
records and b-trees come to mind). I guess for a small database it could be
ok to use xml.
At what threshold (record size?) does xml become unreasonable slow to
deal with?
can't really answer objectively, and this would likely depend a lot on the
parser.

imo, I like xml for small data (maybe up to a few hundred kB), much more and
I think something else seems needed.
imo, a signifigant problem with xml is that (within normal constraints), one
can't quite treat it like a format like riff (directly
reading/searching/skipping over the contents of a file without having to
parse first).

It just doesn't seem practical to move large numbers of records around
in xml format. Just too slow. Or am I missing something?

what is "slow" is hard to quantify exactly, and what is too big is similar.
binary formats can be both slower and larger than xml, or can be much
smaller and faster (but often far less flexibile).

similarly, xml is not "that" ineffiecent (tokenization, number parsing, ...)
is not necissarily all that signifigant. similar goes for size, xml can be
both larger or smaller than comprable "structured data" approaches.

the main case where binary formats win is either specialized encodings or
raw data, but these type of formats are often fairly closed and inflexible.
it depends a lot on what one wants I guess.
I may just be a stupid newbie/troll here...

Jul 20 '05 #2
use the tool that suits your problem : if you have to deal with huge
amount of datas, use an xml native database ; xnd can store xml datas
and provides quick datas access ; they are like rdbms : there is a
logical view ( table/infoset ), a query language ( sql/xpath-xquery ),
and other features ( acid... )

have a look at tamino or xyleme
--
Cordialement,

///
(. .)
-----ooO--(_)--Ooo-----
| Philippe Poulard |
-----------------------
Jul 20 '05 #3

"Philippe Poulard" <Ph****************@SPAMsophia.inria.fr> wrote in message
news:cn**********@news-sop.inria.fr...
use the tool that suits your problem : if you have to deal with huge
amount of datas, use an xml native database ; xnd can store xml datas and
provides quick datas access ; they are like rdbms : there is a logical
view ( table/infoset ), a query language ( sql/xpath-xquery ), and other
features ( acid... )

have a look at tamino or xyleme


misc question:
do such databases use textual xml, some form of binary xml, ... ?

for xyleme at least, what info I could find suggests uses of some sort of
"index" (dunno much more). otherwise, it doesn't sound that much like a
conventional database.

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: George | last post by:
Sorry for ignorance but I don't seem to be able to find a way to retrieve Universal Time (GMT), and of course I don't mean by +/- my zone time. to the clock's local time . Any help will be...
2
by: C. Armour | last post by:
Help me, I'm suffering! Situation: I have a load() function which loads a bunch of TextFields with values. There are TextListeners registered for each of these TextFields. Thus, changing the...
2
by: Martin Feuersteiner | last post by:
Hi! This is a very basic question.. don't make fun of me please! I'm confused by all this logins, users, roles etc.. What I want to do it is to have an ASP.NET application that uses MSSQL as a...
4
by: Mike | last post by:
I am writing a post-processor for an existing XML document (that I have no control over), this entails a lot of inserting and deleting of nodes. I don't want to have to hard code the...
14
by: Zac Hester | last post by:
I figured since a lot of us around here design sites for "customers" a lot, I'd ask a general question that might help a lot of us in the future. When dealing with clients asking for...
3
by: mark | last post by:
about the configuration manager's platform listbox. The choises are: ..NET and ACTIVE(.NET) What's this about? I can't find it anywhere in the online help. -- mark
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.