Transcript
Page 1: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Module 1.3

Database Management Systems

Page 2: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Outline

1. Data, System, Management2. The Database Management

System Environment3. The DBMS Organizational

Relationship

Page 3: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Workshop # 2The PHP <? ?>

Page 4: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Data + System + Management

1

Page 5: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

What is a Database?

The database is consist of logically related data stored in a single logical data storeroom or repository.

Page 6: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

KEYWORDS: DATABASEDATA logically relatedSINGLE LOGICAL DATA STOREROOM

Page 7: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

What is Management?

Manage to achieve a goal

To Carry on or functionBe in charge of, act on, or dispose of

Page 8: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

KEYWORDS: MANAGEMENTGoalFunction or RoleAct

Page 9: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

What is a SystemAn ordered manner;

orderliness by virtue of being methodical and well organized

A group of independent but interrelated elements comprising a unified whole

Page 10: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

KEY WORDS: SYSTEMORDERMETHODICALWELL-ORGANIZEDUNIFIED WHOLE

Page 11: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

What is a Database System?An organization of components that defines and regulates the collection, storage, management and use of data in a database environment

Page 12: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

A DBMSShould be able to:

Manage (a GOAL, a FUNCTION and ACT ON IT)

Data (logically related information)

Systematically (there is order, a method and organized as one unit)

Page 13: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship
Page 14: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

DBMS Environment

2

Page 15: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

The DBMS Environment Consist of

Page 16: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

HardwareRefers to all of the system’s physical devices

ComputersMicrocomputers, main frames, workstations

and serversStorage DevicesPrintersNetwork Devices

Hubs, switches, fiber optics, routersOther Devices

Page 17: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

SoftwareAlthough the most readily identified

software is the DBMS itself, to make the database system function fully, it needs 3 types of softwareOperating System Software – manage the

hardware components and makes it possible for all other software to run on the computer: e.g. UNIX, LINUX, Mac OS, Windows

Page 18: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

DBMS Software – manages the Database: MS Access, SQL Server, Oracle etc

Application Programs – use to access and manipulate data in the DBMS and manage the computer environment in which data access and manipulation takes place

Page 19: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

PeopleThis component includes all user of

the database system. Usually consist of the following:Systems Administrator (SYSAD)

oversees the database system’s general operations

Database Administrators (DBA) manage the DBMS and ensure that the database is functioning properly

Page 20: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Database Designers designs the database structures; database architects.

Systems Analysts and Programmers designs the application programs

End Users are the people who use the application programs to run the organization’s daily operations

Page 21: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

ProceduresInstructions and rules that govern the design and use

of the database systemProcedures also are used to ensure that there is an

organized way to monitor and audit both the data that enters the database and the information that is generated through the use of that data

Examples: Enrolment ProceduresOpening a new bank account

Page 22: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

DataData covers the collection of facts

stored in the database.Because data are the raw materials

from which information is generated, the determination of what data are to be entered into the database and how the data are to be organized is a vital part of the database designer’s job.

Page 23: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

DBMS OrganizationalRelationships

3

Page 24: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

System Administrator

Database Designer

DatabaseAdministrator

Analysts &Programmers

End Users

Procedures &Standards

DBMSUtilities

ApplicationSoftwares

designs

writes and enforces

supervises

managesw

rites

access

Har

dwar

e

use

Applied to

DBMS

Page 25: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

A DBMS and a HUMAN PERSONThe DBMS A HUMAN Thinking like a DBMS

Software Our Human Brain What type of OS do you have?

Hardware Our Body and its subsystems (digestive, circulatory etc)

Is your Hardware System Working well to be able to function task efficiently?

People Our parents, friends, “churvaloos”, classmates etc

Who help you manage your life? Who are your end users?

Procedures Rules, Daily Activities What is your end goal in life? What are your principles in life? What are your activities?

Data Our Life Experiences and Encounters

Are you able to maximize your daily data in your life and be able to process it well?

Page 26: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

SummaryA good database management system is able

to create systems to be able to manage data efficiently and effectively

A Database Management system consist of 5 components/elements:Software, hardware, people, procedures and data

A DBMS involves a inter-relationship of task, people and procedures working as a whole.

Page 27: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship
Page 28: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Module 1.3

Lab work

Page 29: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Labwork

4

Page 30: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Objectives

1. Write and execute a simple php script2. Compare and Contrast between an html file and a

php file extension

Page 31: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Workshop 2.1

PHP and HTML Comparison

Page 32: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Procedure 1Go to c:/xampp/htdocs/Create a new folder called: IM32W2

create a new html file using notepad/notepad++

Page 33: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

<html> <body>

<h1> Hello World! </h1></body>

</html>

Save it as index.htmlBrowse it on your localhost:

http://localhost/im32w2 orhttp://127.0.0.1/im32w2

Page 34: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Procedure 2Go to c:/xampp/htdocs/Create a new folder called: IM32W2

create a new html file using notepad/notepad++

Page 35: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

<html> <body>

<h1> Hello World! </h1></body>

</html>

Save it as index.phpBrowse it on your localhost:

http://localhost/im32w2/index.html orhttp://127.0.0.1/im32w2/index.html

Page 36: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Procedure 3Open index.htmlAdd the following lines (refer to the next

slide)Save it.Browse it on your localhost:

http://localhost/im32w2/index.html orhttp://127.0.0.1/im32w2/index.html

Page 37: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

<html> <body>

<h1> Hello World! </h1><?echo ‘<h2><i>IM 32</i></h2>’;?>

</body></html>

Page 38: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Procedure 4Open index.phpAdd the following lines (refer to the next

slide)Save it.Browse it on your localhost:

http://localhost/im32w2/index.php orhttp://127.0.0.1/im32w2/index.php

Page 39: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

<html> <body>

<h1> Hello World! </h1><?echo ‘<h2><i>IM 32</i></h2>’;?>

</body></html>

Page 40: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Before the class ends:Is there a difference between

index.html and index.php?

Page 41: Module 1.3 Database Management Systems. Outline 1. Data, System, Management 2. The Database Management System Environment 3. The DBMS Organizational Relationship

Recommended