dengan foxpro ichwan r tandjung 2013. pemrograman terstruktur pokok bahasan konsep database konsep...
Embed Size (px)
TRANSCRIPT

Pemrograman Terstruktur
Dengan FoxPro
Ichwan R Tandjung2013

Pemrograman TerstrukturPokok Bahasan
Konsep Database Konsep dasar pemahaman pemrograman dengan Foxpro Konsep pemrograman dengan menggunakan objek
Pustaka 1. Riyanto Tosin dan Taufik Suriyanto, Dinastindo ,1998, Cara Belajar
Mudah Foxpro2. Ian Chandra, 1993, Panduan Lengkap Fox Pro for Widows Versi 2.5,
Elex Media Komputindo 3. Tjendri Herianto, 2000, Panduan Bagi Pemrogram Tuntunan Praktis
Pemrograman 4. Thomas Connoly-Carolyn Begg, Database Systems, A Practical
Approach to Design, Implementation, dan Management

Pemrograman Terstruktur
Komposisi Penilaian Tugas, Kuis 20 % Ujian tengah semester (UTS) 30 % Ujian akhir semester (UAS) 50 %

MateriPert 1: Pendahuluan Pert 2: Basic Foxpro Programming 1Pert 3: Basic Foxpro programming 2 Pert 4: Basic Foxpro programming 3 Pert 5,6: Basic Foxpro programming 3 (Prosedur, Pengendalian Program)Pert 7: ReviewPert 8: Visual Foxpro : PengenalanPert 9: Pengolaan Database (Relasi database dan query serta view dalam
Visual Foxpro )Pert 10: Form Pert 11: Kontrol Masukan, Kontrol Eksekusi, Kontrol KeluaranPert 12: Menu dan Toolbar Pert 13: Laporan dan Aplikasi Pert 14: Review

Visual FoxPro Version 9.0Development Environment

Help

Principles of Information Systems, Seventh Edition 7
Database & Hierarchy of DataDatabase: a collection of integrated and related files
File: a collection of related records
Record: a collection of related data fields
Field: typically a name, number, or combination of characters that describes an aspect of a business object or activity
Hierarchy of data: formed by Bits Characters Fields Records Files Databases

Principles of Information Systems, Seventh Edition 8
The Hierarchy of Data
A bit (a binary digit) represents a circuit that is either on or off
A byte is typically 8 bits
Character: each byte represents a character, the basic building block of information

Principles of Information Systems, Seventh Edition 9
Database & Hierarchy of Data

Principles of Information Systems, Seventh Edition 10
Data Entities, Attributes, and KeysEntity: a generalized class of people, places, or things
(objects) for which data is collected, stored, and maintained
Attribute: a characteristic of an entity
Data item: the specific value of an attribute
Key: a field or set of fields in a record that is used to identify the record
Primary key: a field or set of fields that uniquely identifies the record

Principles of Information Systems, Seventh Edition 11
Keys and Attributes

Principles of Information Systems, Seventh Edition 12
Database, DBMS & Applications

Principles of Information Systems, Seventh Edition 13
DBMSDatabase Management System (DBMS):
group of programs that manipulate database and provide interface between database and users
Data Definition Language (DDL)
A collection of instructions and commands used to define and describe data and data relationships in a specific database
Data Manipulation Language (DML): the commands that are used to manipulate the data in a database
Data Control Language (DCL): the commands that are used to control access to the data in a database

Principles of Information Systems, Seventh Edition 14
Popular Database Management Systems
Popular DBMSs for end users include Microsoft’s Access and Corel’s Paradox
The complete database management software market includes databases by IBM, Oracle, and Microsoft
Examples of open-source database systems: PostgreSQL and MySQL
Many traditional database programs are now available on open-source operating systems

Principles of Information Systems, Seventh Edition 15
Creating and Modifying the Database
Data definition language (DDL)
A collection of instructions and commands used to define and describe data and data relationships in a specific database
Allows the database’s creator to describe the data and the data relationships that are to be contained in the schema and subschemas
Data dictionary: a detailed description of all the data used in the database

Principles of Information Systems, Seventh Edition 16
Manipulating Data and Generating Reports
Once a database has been set up and loaded with data, it can produce reports, documents, and other outputs
Data manipulation language (DML): the commands that are used to manipulate the data in a database
Structured Query Language (SQL): adopted by the American National Standards Institute (ANSI) as the standard query language for relational databases

Principles of Information Systems, Seventh Edition 17
Examples of SQL Commands