Archive

Archive for the ‘Uncategorized’ Category

Design principles in XML part 2

April 24th, 2009

These goals have helped to shape a set of principles that are central to the effective use of XML. Although XML has certainly not invented these principles, it makes them more easy to apply.

We will look at these principles before examining the XML standard itself, in order to keep in mind the strategy we develop through the book.

XML functions on the basis of a number of key principles:

  • Separation of form and content
  • Authoring of documents within a constrained or ‘bridled’ structure, often referred to as a ‘schema’
  • Storage of structure, labelling and content in clear text rather than binary format, and created according to an agreed standard
  • ‘Semantic’ labelling of content ‘chunks’
  • ‘Keys’ to understanding the labelling accessible to all
  • The entirety of the rules regarding the structure of a text or document type, as well as additional functions including further processing, linking and management, should themselves be written in XML These goals have helped to shape a set of principles that are central to the effective use of XML. Although XML has certainly not invented these principles, it makes them moreeasy to apply. We will look at these principles before examining the XML standard itself, in order to keep in mind the strategy we develop through the book.XML functions on the basis of a number of key principles:
  • Separation of form and content
  • Authoring of documents within a constrained or ‘bridled’ structure, often referred to as a ‘schema’
  • Storage of structure, labelling and content in clear text rather than binary format, andcreated according to an agreed standard
  • ‘Semantic’ labelling of content ‘chunks’
  • ‘Keys’ to understanding the labelling accessible to all
  • The entirety of the rules regarding the structure of a text or document type, as well asadditional functions including further processing, linking and management, shouldthemselves be written in XML

admin Uncategorized

Design principles in XML

April 22nd, 2009

The team that developed the original XML standard set out ten goals by which they intended to evaluate the outcome of their work. Of these ten, five are of particular interest to us:

  • The standard should be usable directly over the Internet, using its existing infrastructure, protocols and standards.
  • XML must have a wide range of possible uses – it scope should not be not limited to Web pages,  databases or text processing, but preferably cover all three and manymore besides.
  • It should be easy to write XML documents.
  • It should be easy to create applications that process XML documents. This is of particular significance in businesses where design-to-production time is important.
  • XML documents should be readable by humans, not just by machines. This hasmeant that the entirety of XML documents – content and ‘markup’, as we shall seelater – is written in plain text rather than a binary format. This also explains why werefer to XML files as ‘documents’.

admin Uncategorized

Theme by Bob, Ted and Bert