SlideShare a Scribd company logo
1 of 14
Object-based Databases
Introduction
Object-based databases are a good choice for applications that:
 Need to store complex data models
 Need to reduce code complexity
 Need increased flexibility
Some examples of applications that commonly use object-based databases
include:
1. Engineering applications
2. Financial applications
3. Multimedia applications
4. Content management systems
Object-Orientation
1. It is a kind of thinking methodology
 Everything in the world is an object;
 Any system is composed of objects (certainly a system is also an
object);
 The evolution and development of a system is caused by the
interactions among the objects inside or outside the system
Everything in the world is an object
1. A flower, a tree, an animal
2. A student, a professor
3. A desk, a chair, a classroom, a building
4. A university, a city, a country
5. The world, the universe
6. A customer
7. A dog, cat, lion
8. A subject such as Advanced Database, Math, History, …
So … What is an Object?
 A “thing” that has identity, state, and behavior
• identity: is a distinct “instance” of a class of objects
• state/attributes has a set of properties (aka fields)
 each field can have different values
• behavior: has “methods” (things that the object knows how
to do)
 we say we “call” a method on the object
The development of a system is caused by
the interactions
Isabela State University is developed by the interactions among:
 students
 professors
 Staffs
 officers of Cabagan
 officers of Tuguegaro
 …..
Inside ISU
Outside ISU
Benefits of using objects in databases
 Improved data modeling
 logical order, so it's easier to find what you need
 Reduced code complexity
 work faster, find and fix problems easily, and make the software run
smoothly.
 Increased flexibility
 change and adapt your database without too much trouble
Key features of object-based databases
1. Objects - Object-based databases store data in the form of objects. Objects are self-
contained entities that contain both data and behavior.
 Inheritance
Allows you to create new classes that are based on existing classes.
- Create table hierarchies
 Encapsulation
Allows you to treat objects of different types as if they were the same type.
- Used to implement different behaviors for different types of data in a
database.
 Polymorphism
The process of hiding the internal implementation of an object from the
outside world.
- Used to hide the internal implementation of database tables and columns
from the outside world
- access control lists (ACLs) and views.
Objects in database concepts
 Objects are the basic building blocks of object-oriented databases, and
they are used to model real-world entities such as customers, products,
and orders.
 Objects have the following properties:
 Identity: Each object has a unique identity that distinguishes it from other objects.
 State: An object's state is represented by the values of its attributes.
 Behavior: An object's behavior is defined by its methods.
Inheritance Concepts
 Inheritance - Parent-Child Relationship, Reuse Code, Subclass,
Superclass, Extending, Derived Class.
 This allows you to reuse code and create more complex data models.
 In layman terms, consider a family tree for code. It allows one
"class" (a blueprint for an object) to inherit the properties and
behaviors of another class.
 The act of passing down traits from parents to children. For
example, a child might inherit the eye color of one parent and
the hair color of the other parent.
Inheritance Concepts
 In database concepts, inheritance is a way to create new tables based on
existing tables. It allows you to reuse the schema and data of existing
tables, and to add new columns and data as needed.
 Inheritance is similar to object-oriented inheritance, but it is applied to
tables in a relational database.
 An existing table, you use the CREATE TABLE ... INHERITS
(parent_table)
Inheritance Concepts
An illustration of objects database concept
 Identity
• Name: Alador
• Microchip number: 1234567890
• DNA profile: A unique string of DNA that identifies alador as an individual dog
 State
• Breed: Labrador Retriever
• Size: Medium
• Color: Yellow
• Age: 2 years
• Weight: 50 pounds
 Behavior
• Walks, runs, jumps, barks, wags its tail
•Dogs
• PurebredDogs
• LabradorRetrievers
Answer the following given objects by identifying
the identity, state, and behavior:
LightBulb
Car
BankAccount

More Related Content

Similar to Chapter-OBDD.pptx

Semi-automated Exploration and Extraction of Data in Scientific Tables
Semi-automated Exploration and Extraction of Data in Scientific TablesSemi-automated Exploration and Extraction of Data in Scientific Tables
Semi-automated Exploration and Extraction of Data in Scientific TablesElsevier
 
DLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.pptDLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.pptPoojaTripathi92
 
L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfBhanuJatinSingh
 
Introduction to Databases
Introduction to DatabasesIntroduction to Databases
Introduction to DatabasesMohd Tousif
 
Concepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptConcepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptnafsigenet
 
Chapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.pptChapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.pptShemse Shukre
 
Object Modelling Technique " ooad "
Object Modelling Technique  " ooad "Object Modelling Technique  " ooad "
Object Modelling Technique " ooad "AchrafJbr
 
OODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdfOODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdfssuserd5e338
 
Introduction to Object Oriented databases
Introduction to Object Oriented databasesIntroduction to Object Oriented databases
Introduction to Object Oriented databasesDr. C.V. Suresh Babu
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented ProgrammingAyushiDubey19
 
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapOverview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapVikas Jagtap
 
20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅
20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅
20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅kulibrarians
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering conceptsKomal Singh
 
Adv DB - Full Handout.pdf
Adv DB - Full Handout.pdfAdv DB - Full Handout.pdf
Adv DB - Full Handout.pdf3BRBoruMedia
 

Similar to Chapter-OBDD.pptx (20)

Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Semi-automated Exploration and Extraction of Data in Scientific Tables
Semi-automated Exploration and Extraction of Data in Scientific TablesSemi-automated Exploration and Extraction of Data in Scientific Tables
Semi-automated Exploration and Extraction of Data in Scientific Tables
 
DLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.pptDLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.ppt
 
L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdf
 
Introduction to Databases
Introduction to DatabasesIntroduction to Databases
Introduction to Databases
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Concepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptConcepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.ppt
 
Chapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.pptChapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.ppt
 
Object Modelling Technique " ooad "
Object Modelling Technique  " ooad "Object Modelling Technique  " ooad "
Object Modelling Technique " ooad "
 
OODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdfOODBMS Concepts - National University of Singapore.pdf
OODBMS Concepts - National University of Singapore.pdf
 
OOSD1-unit1_1_16_09.pptx
OOSD1-unit1_1_16_09.pptxOOSD1-unit1_1_16_09.pptx
OOSD1-unit1_1_16_09.pptx
 
Concepts of oop1
Concepts of oop1Concepts of oop1
Concepts of oop1
 
Ooad ch 2
Ooad ch 2Ooad ch 2
Ooad ch 2
 
Introduction to Object Oriented databases
Introduction to Object Oriented databasesIntroduction to Object Oriented databases
Introduction to Object Oriented databases
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapOverview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
 
20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅
20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅
20170222 ku-librarians勉強会 #211 :海外研修報告:英国大学図書館を北から南へ巡る旅
 
Introduction to odbms
Introduction to odbmsIntroduction to odbms
Introduction to odbms
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Adv DB - Full Handout.pdf
Adv DB - Full Handout.pdfAdv DB - Full Handout.pdf
Adv DB - Full Handout.pdf
 

More from XanGwaps

MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxMSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxXanGwaps
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxXanGwaps
 
C++ Inheritance.pptx
C++ Inheritance.pptxC++ Inheritance.pptx
C++ Inheritance.pptxXanGwaps
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxXanGwaps
 
Java ConstructorsPPT.pptx
Java ConstructorsPPT.pptxJava ConstructorsPPT.pptx
Java ConstructorsPPT.pptxXanGwaps
 
AdvanceSQL.ppt
AdvanceSQL.pptAdvanceSQL.ppt
AdvanceSQL.pptXanGwaps
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
mod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptmod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptXanGwaps
 
globodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxglobodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxXanGwaps
 
chapter-2.ppt
chapter-2.pptchapter-2.ppt
chapter-2.pptXanGwaps
 
Requirements Analysis.pptx
Requirements Analysis.pptxRequirements Analysis.pptx
Requirements Analysis.pptxXanGwaps
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptxXanGwaps
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptxXanGwaps
 
CS530-Tuesday01.ppt
CS530-Tuesday01.pptCS530-Tuesday01.ppt
CS530-Tuesday01.pptXanGwaps
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
Functions of Operating System.pptx
Functions of Operating System.pptxFunctions of Operating System.pptx
Functions of Operating System.pptxXanGwaps
 
HCI 1 Module 2.pptx
HCI 1 Module 2.pptxHCI 1 Module 2.pptx
HCI 1 Module 2.pptxXanGwaps
 
The virtual box.pptx
The virtual box.pptxThe virtual box.pptx
The virtual box.pptxXanGwaps
 
Presentation (10).pptx
Presentation (10).pptxPresentation (10).pptx
Presentation (10).pptxXanGwaps
 
Presentation (4).pptx
Presentation (4).pptxPresentation (4).pptx
Presentation (4).pptxXanGwaps
 

More from XanGwaps (20)

MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptxMSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
MSITSytemDesignAndDesignasdsdsdsdsdsds.pptx
 
AdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptxAdvanceDatabaseChapter6Advance Dtabases.pptx
AdvanceDatabaseChapter6Advance Dtabases.pptx
 
C++ Inheritance.pptx
C++ Inheritance.pptxC++ Inheritance.pptx
C++ Inheritance.pptx
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptx
 
Java ConstructorsPPT.pptx
Java ConstructorsPPT.pptxJava ConstructorsPPT.pptx
Java ConstructorsPPT.pptx
 
AdvanceSQL.ppt
AdvanceSQL.pptAdvanceSQL.ppt
AdvanceSQL.ppt
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
mod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.pptmod5_cabling-LANsWANs-2.ppt
mod5_cabling-LANsWANs-2.ppt
 
globodox-presentation-v14.ppsx
globodox-presentation-v14.ppsxglobodox-presentation-v14.ppsx
globodox-presentation-v14.ppsx
 
chapter-2.ppt
chapter-2.pptchapter-2.ppt
chapter-2.ppt
 
Requirements Analysis.pptx
Requirements Analysis.pptxRequirements Analysis.pptx
Requirements Analysis.pptx
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptx
 
Java Constructors.pptx
Java Constructors.pptxJava Constructors.pptx
Java Constructors.pptx
 
CS530-Tuesday01.ppt
CS530-Tuesday01.pptCS530-Tuesday01.ppt
CS530-Tuesday01.ppt
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
Functions of Operating System.pptx
Functions of Operating System.pptxFunctions of Operating System.pptx
Functions of Operating System.pptx
 
HCI 1 Module 2.pptx
HCI 1 Module 2.pptxHCI 1 Module 2.pptx
HCI 1 Module 2.pptx
 
The virtual box.pptx
The virtual box.pptxThe virtual box.pptx
The virtual box.pptx
 
Presentation (10).pptx
Presentation (10).pptxPresentation (10).pptx
Presentation (10).pptx
 
Presentation (4).pptx
Presentation (4).pptxPresentation (4).pptx
Presentation (4).pptx
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 

Chapter-OBDD.pptx

  • 2. Introduction Object-based databases are a good choice for applications that:  Need to store complex data models  Need to reduce code complexity  Need increased flexibility Some examples of applications that commonly use object-based databases include: 1. Engineering applications 2. Financial applications 3. Multimedia applications 4. Content management systems
  • 3. Object-Orientation 1. It is a kind of thinking methodology  Everything in the world is an object;  Any system is composed of objects (certainly a system is also an object);  The evolution and development of a system is caused by the interactions among the objects inside or outside the system
  • 4. Everything in the world is an object 1. A flower, a tree, an animal 2. A student, a professor 3. A desk, a chair, a classroom, a building 4. A university, a city, a country 5. The world, the universe 6. A customer 7. A dog, cat, lion 8. A subject such as Advanced Database, Math, History, …
  • 5. So … What is an Object?  A “thing” that has identity, state, and behavior • identity: is a distinct “instance” of a class of objects • state/attributes has a set of properties (aka fields)  each field can have different values • behavior: has “methods” (things that the object knows how to do)  we say we “call” a method on the object
  • 6. The development of a system is caused by the interactions Isabela State University is developed by the interactions among:  students  professors  Staffs  officers of Cabagan  officers of Tuguegaro  ….. Inside ISU Outside ISU
  • 7. Benefits of using objects in databases  Improved data modeling  logical order, so it's easier to find what you need  Reduced code complexity  work faster, find and fix problems easily, and make the software run smoothly.  Increased flexibility  change and adapt your database without too much trouble
  • 8. Key features of object-based databases 1. Objects - Object-based databases store data in the form of objects. Objects are self- contained entities that contain both data and behavior.  Inheritance Allows you to create new classes that are based on existing classes. - Create table hierarchies  Encapsulation Allows you to treat objects of different types as if they were the same type. - Used to implement different behaviors for different types of data in a database.  Polymorphism The process of hiding the internal implementation of an object from the outside world. - Used to hide the internal implementation of database tables and columns from the outside world - access control lists (ACLs) and views.
  • 9. Objects in database concepts  Objects are the basic building blocks of object-oriented databases, and they are used to model real-world entities such as customers, products, and orders.  Objects have the following properties:  Identity: Each object has a unique identity that distinguishes it from other objects.  State: An object's state is represented by the values of its attributes.  Behavior: An object's behavior is defined by its methods.
  • 10. Inheritance Concepts  Inheritance - Parent-Child Relationship, Reuse Code, Subclass, Superclass, Extending, Derived Class.  This allows you to reuse code and create more complex data models.  In layman terms, consider a family tree for code. It allows one "class" (a blueprint for an object) to inherit the properties and behaviors of another class.  The act of passing down traits from parents to children. For example, a child might inherit the eye color of one parent and the hair color of the other parent.
  • 11. Inheritance Concepts  In database concepts, inheritance is a way to create new tables based on existing tables. It allows you to reuse the schema and data of existing tables, and to add new columns and data as needed.  Inheritance is similar to object-oriented inheritance, but it is applied to tables in a relational database.  An existing table, you use the CREATE TABLE ... INHERITS (parent_table)
  • 13. An illustration of objects database concept  Identity • Name: Alador • Microchip number: 1234567890 • DNA profile: A unique string of DNA that identifies alador as an individual dog  State • Breed: Labrador Retriever • Size: Medium • Color: Yellow • Age: 2 years • Weight: 50 pounds  Behavior • Walks, runs, jumps, barks, wags its tail •Dogs • PurebredDogs • LabradorRetrievers
  • 14. Answer the following given objects by identifying the identity, state, and behavior: LightBulb Car BankAccount