Pemrograman Terstruktur

advertisement
Dengan FoxPro
Ichwan R Tandjung
2013
Pemrograman Terstruktur
Pokok Bahasan
 Konsep Database
 Konsep dasar pemahaman pemrograman dengan Foxpro
 Konsep pemrograman dengan menggunakan objek
Pustaka
1.
2.
3.
4.
Riyanto Tosin dan Taufik Suriyanto, Dinastindo ,1998, Cara Belajar
Mudah Foxpro
Ian Chandra, 1993, Panduan Lengkap Fox Pro for Widows Versi 2.5,
Elex Media Komputindo
Tjendri Herianto, 2000, Panduan Bagi Pemrogram Tuntunan Praktis
Pemrograman
Thomas Connoly-Carolyn Begg, Database Systems, A Practical
Approach to Design, Implementation, dan Management
Pemrograman Terstruktur
Komposisi Penilaian
 Tugas, Kuis
 Ujian tengah semester (UTS)
 Ujian akhir semester (UAS)
20 %
30 %
50 %
Materi
Pert 1:
Pert 2:
Pert 3:
Pert 4:
Pert 5,6:
Pert 7:
Pert 8:
Pert 9:
Pert 10:
Pert 11:
Pert 12:
Pert 13:
Pert 14:
Pendahuluan
Basic Foxpro Programming 1
Basic Foxpro programming 2
Basic Foxpro programming 3
Basic Foxpro programming 3 (Prosedur, Pengendalian Program)
Review
Visual Foxpro : Pengenalan
Pengolaan Database (Relasi database dan query serta view dalam
Visual Foxpro )
Form
Kontrol Masukan, Kontrol Eksekusi, Kontrol Keluaran
Menu dan Toolbar
Laporan dan Aplikasi
Review
Visual FoxPro Version 9.0
Development Environment
Help
Database & Hierarchy of Data
 Database: 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
7
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
8
Database & Hierarchy of Data
Principles of Information Systems, Seventh Edition
9
Data Entities, Attributes, and Keys
 Entity: 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
10
Keys and Attributes
Principles of Information Systems, Seventh Edition
11
Database, DBMS & Applications
Principles of Information Systems, Seventh Edition
12
DBMS
Database 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
13
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
14
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
15
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
16
Examples of SQL Commands
Principles of Information Systems, Seventh Edition
17
Download