Document 9653944

Download Report

Transcript Document 9653944

Matakuliah : M0126 - Analisis dan Perancangan Sistem
Informasi Lanjut
Tahun
: 2009 - 2010
IMPLEMENTATION
Pertemuan 25-26
Learning Outcomes
Pada akhir pertemuan ini, diharapkan mahasiswa
akan mampu :
• Mahasiswa dapat menyusun Implementasi (C5)
Outline Materi
• Mahasiswa dapat menyusun Implementasi (C5)
IMPLEMENTATION
• Purpose: To Implement the system design on a technical
platform
• Principle: Respect design decisions
• Results: A collection of software part that implement an
object oriented design
Implentation
• Creating design before implentation gives you a system
overview, which lets you examine the system and
consider your options before you make detailed
implementation decisions.
Object Oriented Platform
•
•
•
•
•
•
•
•
Class and Attributes
Association Structures
Aggregation Structures
Generalization Structure
Operations
Interfaces
Class Libraries
Persistency
Class and Attributes
• In problem domain an object identity is typically an
attribute with a unique value. In implementation you
should consider whether the identity can be the same as
the object’s name.
• For Attribute you should determine its data type. And you
can consider subdivide attribute example name into first
name and last name
• How are the attribute’s element related ?
• How is the attribute used in the functions?
• How is the attribute used in the user interface?
Association Structure
• An Association Structure reflects a relatively loose
relationship between two or more objects
• A one-way representation combined with searching
• A two way representations with simultaneous updating
Aggregation Structure
• Static or Dynamic and
• Affiliated or integrated
Generalization Structure
• Whether the the technical platform support a multiple
inheritance
Operations
• Operations to update problem domain events should
check to see that the event are legal
• All class must include operations for creating and
destroying objects
• You must include operations for createing and
destroying objects
Interface
• Some thing must be consider are
• Which parameter do the operations in the interface
• What you see is what you get ?
Class Libraries
• Libraries collection of class contains extensions to the
technical platform that typically include:
• Container class such as list and so on
• Operation of searching and sorting
• Technical resources such as driver for printer
communication channels and networks
• Basic class to handle user interface, screen, keyboard,
and mouse
Persitance
• The typical strategy is to use a database system with
stores the objects that should be persistent
• How design can be translate into database design