Re: Is xml overhyped?




<casioculture@xxxxxxxxx> wrote in message
news:1130600537.647739.136280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> I've had an interest in programming for years and have followed its
> trends, but not really took the time to program much. Yes, I read books
> and so on, but always got onto other, more prior things in life to do.
> Now, this time, I really want to learn it, and learn it well.
>
> This time, and in light of previous experience, I plan to keep things
> as simple as can be, as on previous attempts I got too easily sucked
> into trivia. I'm limiting myself to scripting languages, such as python
> and perl. I'm developing an interest in plaintext file formats and
> delimited flatfile 'databases' as they seem quite simple, and can be
> effective for my needs. I plan to spend a year or two on plaintext
> databases and file formats - comma/tab/pipe delimited. This is all
> through 'shell' scripts, sed, awk, perl etc - no GUI, no database
> engine, no web, none of that complexity, not for now.
>
> It seems that the whole world is going xml though. Should I get onto
> learning xml as soon as I can or just leave it till much, much later? I
> understand xml a little, but I find there's too much theoretical
> overhead and I would need to understand all the other things that go
> with it such xslt and so on.
>
> Would I be spending too much time on antiquated techniques if I spend a
> year or two on delimited plaintext and its parsing? or am I doing the
> right thing?

Foo-delimiting (where Foo may be "comma", "tab", "pipe" or something
else) is fine when your data is table-oriented (e.g. every row has the same
number of columns, and every row has the same rank as every other row), but
it does not work well for hierarchial data (every element has a different
number of attributes, and elements can be parents or children of other
elements).

XML is meant for hierarchal data. If you never work with that kind of
data, then don't worry about XML yet. If it looks like you're going to start
working with it, rather than inventing your own text-based format, take a
look at XML and see if it will suit your needs.

BTW, you don't actually need to worry about XFoo when just starting out
with XML (where Foo can be SLT, Query, or something else), but you may want
to look at DTDs and Schemas. Schema is the new thing that's supposed to
replace DTD, but you might still find a lot of references to DTDs in "old"
(e.g. 6 months or older) documents.

- Oliver


.



Relevant Pages

  • =?ISO-8859-1?Q?spinoza_progress_report=2C_and=2C_Le_Canard_Inf=E2me?=
    ... I am testing the xmlparser because I need to parse XML and don't like ... because an aporia I see in programming languages is the absence of the ... difference between the Monster Source Program that Ate Tokyo, ...
    (comp.programming)
  • Re: Nature of XML (ramblings)
    ... > HTML as a programming languages, but recently I have written a lot of ... The fact that the SQL and HTML may be in quotes inside ... Ada is such a thing whereas SQL, XML and HTML are not. ...
    (comp.lang.ada)
  • Re: Dynamic v Static and SEO
    ... > I am trying to run a business and not split hairs about programming ... Programming is my business ... XML is just a bunch of characters that follow some rules. ... Googlebot really cares if you decide to make h1 red with a blue ...
    (alt.internet.search-engines)
  • Re: XML Comment Screwed - Possibly a bug in VB??
    ... It is an easy to use programming language for people like me who want to put together applications quickly that access databases and produce reports without bogging the programmer down too deeply in what is really going on under the hood. ... What you probably wish for is a message that tells you what it really is that you are trying to do and how to do it, but that is impossible as the compiler can not guess what is on your mind. ... An ampersand is certainly allowed in an XML comment, but it has a special meaning. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: how to debug XML?
    ... > a) conceptual errors in the construction of DTDs or Schemas ... code that might generate some XML. ... But I suppose that is a PHP ... I was thinking about well-formedness, for sure, but also ...
    (comp.text.xml)