15 OBJECT ORIENTATION

This chapter introduces object orientation, a programming paradigm, and then discusses in detail two approaches to handling objects in databases: the specification of an Object Definition Language from the Object Data Management Group (ODMG), and the extensions to SQL to make it ‘object relational’.

WHAT IS OBJECT ORIENTATION?

Object orientation is a programming paradigm where the world is seen as a collection of objects that exhibit both state and behaviour. The state of an object at any one time is the aggregation of the values of the object’s attributes. The behaviour is the set of messages to which the object can respond. Objects respond to messages by executing methods, short pieces of program code.

Objects are ...

Get Principles of Data Management, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.