Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: When does XML get to be too much?

by Sifmole (Chaplain)
on Jan 24, 2003 at 20:38 UTC ( #229696=note: print w/ replies, xml ) Need Help??


in reply to When does XML get to be too much?

Comments? Yeah, use a database.

Basically what you are trying to do is use the XML file as a flat file database, and that doesn't really appear to be a good choice of technology for the problem.

XML is intended as a medium to allow inter-system communication of information; it creates a framework that provides the structure of the data within the data. I don't think XML is providing you any benefit here, and is a slow performing technology for the application. You would be better served by some form of database.

When is XML too much? When you use it for the wrong thing -- much the same issue as any tool.


Comment on Re: When does XML get to be too much?
Re: Re: When does XML get to be too much?
by bronto (Priest) on Jan 26, 2003 at 20:43 UTC

    I agree with Simfole. And if you really need, for any reason, an XML output of the data, nothing prevents you to create a script that puts database data into XML tags and returns it.

    Ciao!
    --bronto

    # Another Perl edition of a song:
    # The End, by The Beatles
    END {
      $you->take($love) eq $you->make($love) ;
    }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://229696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2015-07-01 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (22 votes), past polls