Re: Obsessive Compulsive XMLing



Tim Tyler <tim@xxxxxxxxxxx> writes:

> I'm still having a hard time seeing the problem he is referring to.

Indeed. Writing an Ant script from scratch is not really hard. What
could be somewhat harder is writing XML with stricter DTDs like
web.xml's. That said:

1) Users of a language that uses { for begin, } for end, & for and, |
for or etc. should not complain about the occasional <tag> in data.
If you are going to complain about XML you should be writing in
PL/SQL, Pascal, Lisp or something.
2) XML beats the alternatives.
2.1) Binary data is more compact, but more susceptible to corruption.
It's also less manageable when it comes to versioning: XML can
let you mix-in elements from different "versions" of a protocol
using namespaces.
2.2) It's data instead of code. One of the side-effects of dropping
XML for annotations in EJB 3.0 will be that the code needs to be
recompiled when you make a small change

Now, designing Swing GUI apps without a visual designer, that is ebil.
Discuss.
.



Relevant Pages

  • Re: Writing technical text
    ... then go spend a few months writing Ant scripts or something ... > can someone tell me what kind of XML we're talking about here? ... > end up writing that format in place of LaTeX...? ... and then writing an improvised tool later to convert ...
    (Debian-User)
  • Re: ultra newbie question (dont laugh)
    ... storing employee information in an XML file. ... but not as fun as writing the logic. ... On reason to use OOP is to insulate your main code from things like storage ... from CSV file. ...
    (comp.lang.python)
  • Re: Gallery Pagination Result Problem
    ... I use Altova XML Spy Home Edition when writing simple XML scripts, and it has the added benefit of validating the XML and pointing out errors against the DTD. ... Is there such a free program for writing PHP that has a good debugging mode or validation? ... And if I'm not using a debugger, I've found strategically placed echo statements do wonders for debugging. ...
    (comp.lang.php)
  • Re: Should I use XML as a database for a standalone app?
    ... PDA, webservices, and more stuff. ... I had the idea of exporting the necessary data from the main database as ... XML files, using these as a mini database and the writing a procedure to ...
    (microsoft.public.dotnet.languages.vb)