-
Notifications
You must be signed in to change notification settings - Fork 263
DOM in a Nutshell
(with apologies to Stanley Kubrick)
One of the most powerful features in ATF is its Document Object Model, hereafter known as the DOM.
In a nutshell: The ATF DOM is a framework for managing application data as a tree of nodes that can be adapted to other objects, edited, monitored, and stored persistently.
This guide shows you what the DOM is and how to use it. It does not explain everything about the DOM, but helps you create a mental framework where you can visualize all the various features and ways of working with the DOM. This is a practical guide, illustrating concepts with examples from the ATF samples. It illustrates common practices for using the DOM.
The ATF DOM is not related to the W3C DOM, nor is it limited to XML DOM concepts.
For more details on the DOM and how to use it, download the ATF Programmer's Guide: Document Object Model (DOM) from ATF Documentation.
- What is the DOM For: Overview of the DOM's features and advantages.
- It All Starts With Data: Defining application data models with types, especially using XML Schema.
-
DomNodes and DOM Metadata Classes: The fundamental
DomNode
class and its type metadata classes, such asDomNodeType
. Application data resides in a tree ofDomNode
s. - Type Loaders: Loading the type definition file into the application to use the file's data types and create type metadata class objects.
-
DOM Adapters: DOM adapters allow adapting
DomNode
s to other types and monitor events in theDomNode
tree to validate data. - DOM Property Descriptors: DOM property descriptors make it easy to use property editors on application data and are stored in type metadata.
- Using DOM Metadata for Palettes and Other Items: Type metadata can hold all sorts of data, such as palette object information.
-
DOM Persistence: Persisting application data using classes to write the
DomNode
tree to XML and read it back to aDomNode
tree. - DOM Debugging: ATF tools to facilitate debugging DOM code.
- DOM Use in Simple DOM Editor: Explains how the ATF Simple DOM Editor Sample uses the DOM.
- Home
- Getting Started
- Features & Benefits
- Requirements & Dependencies
- Gallery
- Technology & Samples
- Adoption
- News
- Release Notes
- ATF Community
- Searching Documentation
- Using Documentation
- Videos
- Tutorials
- How To
- Programmer's Guide
- Reference
- Code Samples
- Documentation Files
© 2014-2015, Sony Computer Entertainment America LLC