System Architecture with XML

Скачать в pdf «System Architecture with XML»



System Architecture with XML


System Architecture with XML……………………………………………………………………………………………1


Foreword…………………………………………………………………………………………………………………………..3


Preface………………………………………………………………………………………………………………………………4


About This Book……………………………………………………………………………………………………….6


Acknowledgments…………………………………………………………………………………………………….7


Chapter 1: Scenario…………………………………………………………………………………………………………..9


Overview………………………………………………………………………………………………………………….9


1.1    Megapolis Internet……………………………………………………………………………………………….9


1.1.1    The Nonplanned Settlement………………………………………………………………………….9


1.1.2    Topology—Transactional, Relational, Navigational…………………………………………11


1.1.3    Babel……………………………………………………………………………………………………….12


1.1.4    Subcultures and Ontologies…………………………………………………………………………13


1.1.5    Challenges………………………………………………………………………………………………..15


1.2    Implications……………………………………………………………………………………………………….17


1.2.1    The Blurring of the Classical Application……………………………………………………….17


1.2.2    Collaboration Instead of Integration………………………………………………………………18


1.2.3    The Return of A…………………………………………………………………………………………18


1.2.4    Soft Logic………………………………………………………………………………………………….18


1.3    Architectural Patterns…………………………………………………………………………………………19


1.3.1    Dwellings………………………………………………………………………………………………….19


1.3.2    Community Infrastructure…………………………………………………………………………….24


1.4    Best Practices……………………………………………………………………………………………………27


Chapter 2: Groundwork…………………………………………………………………………………………………….28


Overview………………………………………………………………………………………………………………..28


2.1    XML: A Language Factory…………………………………………………………………………………..28


2.2    XML Basics……………………………………………………………………………………………………….29


2.2.1    The Syntax………………………………………………………………………………………………..29


2.2.2    The XML Information Mode…………………………………………………………………………34


2.3    Schema Definition—Stage 1………………………………………………………………………………..36


2.3.1    The Document Type Definition (DTD)…………………………………………………………..36


2.3.2    Advanced Topics……………………………………………………………………………………….38


2.4    Schema Definition—Stage 2……………………………………………………………………………….39


2.4.1    DTD Deficiencies……………………………………………………………………………………….39


2.4.2    XML Schema…………………………………………………………………………………………….40


2.5    Access and Composition…………………………………………………………………………………….49


2.5.1    XPath……………………………………………………………………………………………………….50


2.5.2    XPointer……………………………………………………………………………………………………53


2.5.3    XInclude……………………………………………………………………………………………………54


2.5.4    XML Base………………………………………………………………………………………………….55


2.6    Querying XML……………………………………………………………………………………………………55


2.6.1    Expression Types………………………………………………………………………………………56


2.6.2    Discussion………………………………………………………………………………………………..59


2.7    XSL (Extensible Stylesheet Language)…………………………………………………………………59


2.8    XML APIS…………………………………………………………………………………………………………60


2.8.1    SAX………………………………………………………………………………………………………….60


2.8.2    DOM…………………………………………………………………………………………………………61


Chapter 2: Groundwork


2.8.3    Binding……………………………………………………………………………………………………..62


2.8.4    Which API?……………………………………………………………………………………………….62


2.9    Schema Definition—Stage 3……………………………………………………………………………….62


2.9.1    A Feather Duster for XML Schemata…………………………………………………………….63


2.9.2    Elements Versus Attributes…………………………………………………………………………64


2.9.3    XML Design Patterns………………………………………………………………………………….67


2.9.4    Architectural Forms…………………………………………………………………………………….69


2.10    Best practices………………………………………………………………………………………………….71


2.10.1    Always Use Namespaces………………………………………………………………………….71


2.10.2    Do Not Reinvent the Wheel……………………………………………………………………….71


2.10.3    Multipart Schemata?…………………………………………………………………………………71

Скачать в pdf «System Architecture with XML»