Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Πότε έχει νόημα να χρησιμοποιήσει κανείς XML?

  •  11-10-2004, 10:10

    Πότε έχει νόημα να χρησιμοποιήσει κανείς XML?

    Ο Dare Obasanjo, ο δημιουργός του RSS Bandit, περιγράφει πότε έχει νόημα να χρησιμοποιήσει κάποιος XML στο άρθρο του The XML Litmus Test: Understanding When and Why to Use XML. Η κεντρική ιδέα δίνεται στο παρακάτω απόσπασμα:

    XML is the appropriate tool for the job if the following criteria are satisfied by choosing XML as the data representation format for a given application.

    1.      there is a need to interoperate across multiple software platforms

    2.      one or more of the off-the-shelf tools for dealing with XML can be leveraged when producing or consuming the data

    3.      parsing performance is not critical

    4.      the content is not primarily binary content such as a music or image file

    5.      the content does not contain control characters or any other characters that are illegal in XML

    If the expected usage scenario does not satisfy most or all of the above criteria then it doesn't make much sense to use XML as the data representation format for the situation in question.


    Παναγιώτης Καναβός, Freelancer
    Twitter: http://www.twitter.com/pkanavos
Δείτε όλες τις δημοσιεύσεις της Θεματική Ενότητας
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems