CSC/ECE 517 Fall 2010/ch6 6g SL: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
== Models of programming language objects == | == Models of programming language objects == | ||
The term ''object model'' can be used in two different contexts. In one sense; it refers to a collection of concepts used to describe the generic characteristics of objects particularly object oriented languages or its specifications. Over here it closely corresponds to the word data model. Examples of this can be ''Java object model''. | |||
This contrasts with the object model used to describe collection of object classes used to model a particular system. A common application of this object model can be defined as the ''Document Object Model'' | |||
Any object model has three key concepts | |||
* data structures that can be used to represent the object state | |||
* ways to associate behaviour with the object state | |||
* ways for the object methods to access and operate on that state | |||
== DOM vs Models of programming language objects == | == DOM vs Models of programming language objects == |
Revision as of 04:30, 17 November 2010
Document Object Model
Introduction
DOM structure
DOM in HTML, XML, Javascript
Models of programming language objects
The term object model can be used in two different contexts. In one sense; it refers to a collection of concepts used to describe the generic characteristics of objects particularly object oriented languages or its specifications. Over here it closely corresponds to the word data model. Examples of this can be Java object model. This contrasts with the object model used to describe collection of object classes used to model a particular system. A common application of this object model can be defined as the Document Object Model
Any object model has three key concepts
- data structures that can be used to represent the object state
- ways to associate behaviour with the object state
- ways for the object methods to access and operate on that state