Pemrograman Terstruktur

17
Pemrograman Terstruktur Dengan FoxPro Ichwan R Tandjung 2013

description

Pemrograman Terstruktur. Dengan FoxPro. Ichwan R Tandjung 2013. Pemrograman Terstruktur. Pokok Bahasan Konsep Database Konsep dasar pemahaman pemrograman dengan Foxpro Konsep pemrograman dengan menggunakan objek. Pustaka - PowerPoint PPT Presentation

Transcript of Pemrograman Terstruktur

Page 1: Pemrograman Terstruktur

Pemrograman Terstruktur

Dengan FoxPro

Ichwan R Tandjung2013

Page 2: Pemrograman Terstruktur

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

Page 3: Pemrograman Terstruktur

Pemrograman Terstruktur

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

Page 4: Pemrograman Terstruktur

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

Page 5: Pemrograman Terstruktur

Visual FoxPro Version 9.0Development Environment

Page 6: Pemrograman Terstruktur

Help

Page 7: Pemrograman Terstruktur

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

Page 8: Pemrograman Terstruktur

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

Page 9: Pemrograman Terstruktur

Principles of Information Systems, Seventh Edition 9

Database & Hierarchy of Data

Page 10: Pemrograman Terstruktur

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 entityData item: the specific value of an attributeKey: a field or set of fields in a record that is used to

identify the recordPrimary key: a field or set of fields that uniquely

identifies the record

Page 11: Pemrograman Terstruktur

Principles of Information Systems, Seventh Edition 11

Keys and Attributes

Page 12: Pemrograman Terstruktur

Principles of Information Systems, Seventh Edition 12

Database, DBMS & Applications

Page 13: Pemrograman Terstruktur

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

Page 14: Pemrograman Terstruktur

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

Page 15: Pemrograman Terstruktur

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

Page 16: Pemrograman Terstruktur

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

Page 17: Pemrograman Terstruktur

Principles of Information Systems, Seventh Edition 17

Examples of SQL Commands