Object Oriented Class
Object Oriented Class
Object Oriented Class
Classification Objects
According to [ BOO95 ] object can be :
ADT (Abstract Data Type) The definition of the class in which the component type to be
primitive attributes and operations functions / methods / services.
Engineering NESS passive objects whose status will be activated by another object.
Primitive functions on the machine is a transition mechanism that changed a status to another
status.
Process Active objects that have " control sequences " ( thread of control)
The process for producing software that is organized using a number of techniques and
notation conventions defined. Understanding Object-Oriented Methodology
A development strategy software to organize software as a collection of objects that contain
the data and operations that apply to it.
A way of how a software system developed through a systematic approach to the object.
There is a technique that is used, the resulting product, verification procedures, and criteria
for each activity undertaken.
There are tools for modeling (documenting) the results of each activity.
The main strategy to deal with the complexity of software development is the
decomposition of the problem into small parts that can be manageable .
In the function-oriented methods or data flow ( DFD ) , the decomposition problem carried
out by function or process hierarchies, ranging from context to the processes of the smallest .
While the object-oriented method , the decomposition of the problem is based on the objects
that exist in the system.
Comparison of the two methods , for example, to issue an assessment study on the academic
system.
- Organizational units that are relevant to the application - Places that define the scope of the
problem and the entire functionality of the system
- The structure that defines the class of the object or the connecting object classes .
- redunden
- irrelevant
Attributes are identified from the data elements that can describe ( characterize ) of an
object as a whole .
Service identified from specific behaviors that may indicate the role and responsibilities of
an object .
- Be an object
Define the structure and hierarchy of objects that will organize object class .
Organize and simplify the objects into classes of objects through the concept of aggregation
and inheritance.
Object-Oriented Analysis Method understanding
How systematic work to do the analysis phase is based on object approach .
There is a certain set of rules that must be followed to complete the analysis work .
Having the sequence of activities, techniques, and tools (tools) to model certain
(documented) the results of each activity.
There are several methods that can be used to perform object-oriented analysis, and are as
follows. Method Coad & Yourdan
Also called by the name of Object Oriented Analysis (OOA), and is regarded as one of the
techniques are easy to learn.
The notation is relatively simple because the model is based on the physical structure of the
real world, and instructions to perform the analysis is quite clear.
Define the service - Services implicit object - Services associated with attributes - The
service associated with the "message-connection"
Methods Rumbaugh
Introduced by James Rumbaugh , Michael Blaha , William Premerlan , Frederick Eddy and
William Lorensen in 1991 .
Better known by the Object Modeling Technique ( OMT ) which can be used both for the
analysis and design .
Stage or implementation scheme : - Determine the scope of the problem - Create an object
model Identification of the relevant class to the issues
Set up scenarios
Jacobson method
Introduced by Ivar Jacobson with the name of Object Oriented Software Engineering (
OOSE ) in 1992 .
It is also a simple version of the object-oriented methods .
The angle of view or the focus of the analysis is emphasized on the " use case " , ie
description or scenario that describes how users interact with a product or system to be
developed .
Stage or implementation scheme :
- Identification of the users of the system and all its responsibilities
- Create a requirements model
Define actors and responsibilities
Identification of the use-case for each actor
Initialization picture object system and its relationship
- Create an analysis model
Identifakasi object interface
Create a structural picture of an object's interface
Represent the object's behavior
Isolation sub - system and create each model
Booch method
Introduced by Grady Booch in 1994 .
Covering macro and micro development process , with the assumption that the analysis and
design of a continuum of activities that are not separated .
Stage or implementation scheme :
- Identification of classes and objects
Identification of candidate objects
Identification of relevant scenarios
Define attributes and services for each class
- Identify the semantics of classes and objects
Select a scene for later analysis
Select an object and a list of roles and responsibilities
Search colaborasi between objects
- Identify the relationships between classes and objects
Define the dependency that exists between the object
Explain the role of each object
Validation is based on scenarios
Create a diagram associated with the steps above
Implement classes and objects
Stage Design
From the perspective of project management , the design consists of two parts,
namely :
initial design (preliminary design)
Determining the overall software architecture (preliminary design) .
- How does the environment program?
- What are the forms of data storage ?
- What forms the interface ?
Detailed design (detailed design)
Determine the program module ( procedural ) to be made
As from a technical standpoint , design activities consist of the following activities:
Architectural Design program
- Architectural logic
- Physical architectural
Designing a program module ( procedural )
Design Data
- Internal data structure
- Physical data structure
The design of the interface
- The design of the interfaces between modules
- The design of the interface between the software with the non - humanity (external entity)
Kelas Object Oriented
klasifikasi Objek
Menurut [ BOO95 ] objek dapat :
ADT ( Abstrak Data Type ) Definisi kelas di mana jenis komponen menjadi atribut primitif
dan operasi fungsi / metode / jasa .
Teknik NESS objek pasif yang statusnya akan diaktifkan oleh objek lain . fungsi primitif
pada mesin adalah mekanisme transisi yang mengubah status ke status lain .
Proses objek Active yang memiliki " kontrol urutan " ( benang control )
Abstraksi Prinsip untuk mewakili kompleks dunia nyata ke dalam model formulir sederhana
dengan mengabaikan aspek-aspek lain yang tidak sesuai dengan masalah.
Encapsulation Membungkus atribut data dan layanan (operasi) yang dimiliki objek, untuk
cincin pelaksanaan objek sehingga benda-benda lainnya tidak tahu cara kerjanya.
Reusability Penggunaan kembali objek yang telah ditetapkan untuk masalah pada isu-isu
lain yang melibatkan objek.
Generalisasi dan Spesialisasi Menunjukkan hubungan antara kelas dan objek umum untuk
kelas khusus dan objek.
Komunikasi antara Objects Komunikasi antara obyek dilakukan melalui cepat (pesan)
dikirim dari satu objek yang lain.
Polimorfisme Kemampuan suatu objek untuk digunakan di banyak tujuan yang berbeda
dengan nama yang sama sehingga menghemat baris program.
Sebuah perangkat lunak strategi pengembangan untuk mengatur perangkat lunak sebagai
kumpulan objek yang berisi data dan operasi yang berlaku untuk itu .
Sebuah cara bagaimana sistem perangkat lunak yang dikembangkan melalui pendekatan
yang sistematis untuk objek.
Metode set berorientasi objek kegiatan melipui analisis , desain berorientasi objek ,
pemrograman berorientasi objek berorientasi obyek , dan berorientasi objek pengujian .
Ada teknik yang digunakan , produk yang dihasilkan , prosedur verifikasi , dan kriteria
untuk setiap kegiatan yang dilakukan .
Dalam metode berorientasi fungsi atau data aliran (DFD), masalah dekomposisi dilakukan
oleh fungsi atau proses hierarki, mulai dari konteks untuk proses terkecil.
Sedangkan metode berorientasi objek, dekomposisi masalah didasarkan pada objek yang
ada dalam sistem.
Perbandingan dua metode, misalnya, untuk mengeluarkan sebuah studi kajian tentang
sistem akademik. Keuntungan Metodologi Berorientasi Objek Pengembangan sistem dengan
metode berorientasi objek dapat memberikan keuntungan sebagai berikut, meskipun beberapa
buku (referensi) menunjukkan "perangkap" dari metodologi ini.
Meningkatkan produktivitas Karena kelas dan objek yang ditemukan dalam masalah yang
mereka dapat digunakan kembali untuk isu-isu lain yang melibatkan objek (reusable).
Kecepatan pembangunan Karena sistem ini dibangun dengan benar pada saat analisis dan
desain akan menyebabkan penurunan kesalahan selama coding.
Kemudahan pemeliharaan Karena dengan benda-benda, pola yang cenderung tetap stabil
dan dapat dipisahkan dari pola yang mungkin sering berubah.
Menentukan Pengguna Persyaratan untuk Object-Oriented Sistem
Mengidentifikasi proses bisnis dan kebutuhan yang diungkapkan oleh pengguna dan
'penggunaan-kasus ".
Diperlukan karena dapat menjelaskan apa yang harus dilakukan kegiatan oleh sistem, dan
menjelaskan juga perilaku komponen sistem.
Mengidentifikasi kelas dan objek yang ada dalam ruang lingkup aplikasi:
- Implisit dalam lingkup aplikasi atau pengetahuan tentang ruang lingkup aplikasi
- Tempat yang mendefinisikan ruang lingkup masalah dan seluruh fungsi dari sistem -
Struktur yang mendefinisikan kelas obyek atau kelas penghubungnya.
- redunden
- tidak relevan
Atribut diidentifikasi dari elemen data yang dapat menggambarkan ( ciri ) dari suatu objek
secara keseluruhan .
Layanan diidentifikasi dari perilaku tertentu yang dapat menunjukkan peran dan tanggung
jawab dari sebuah objek .
- Jadilah obyek
- Entah nama
Menentukan struktur dan hirarki objek yang akan mengatur kelas objek .
Mengatur dan menyederhanakan objek ke dalam kelas objek melalui konsep agregasi dan
warisan .
Ada seperangkat aturan tertentu yang harus diikuti untuk menyelesaikan pekerjaan analisis.
Memiliki urutan kegiatan teknik, dan alat-alat (tools) untuk model tertentu
(didokumentasikan) hasil setiap kegiatan.
Ada beberapa metode yang dapat digunakan untuk melakukan analisis berorientasi objek,
dan adalah sebagai berikut. Metode Coad & Yourdan
Diperkenalkan oleh Peter Coad dan Edward Yourdan pada tahun 1990.
Juga disebut dengan nama Object Oriented Analysis (OOA), dan dianggap sebagai salah
satu teknik yang mudah dipelajari.
Notasi relatif sederhana karena model ini didasarkan pada struktur fisik dari dunia nyata,
dan instruksi untuk melakukan analisis cukup jelas.
- Identifikasi struktur
Struktur "generalisasi-spesifikasi"
Identifikasi subjek
Tentukan atribut
Tentukan layanan
Metode Rumbaugh
Lebih dikenal dengan Modeling Object Teknik ( OMT ) yang dapat digunakan baik untuk
analisis dan desain .
Selain model fisik benda , serta pendekatan analitis dilkukan untuk model model dinamik
dan model fungsional .
Tahap atau implementasi skema : - Tentukan lingkup masalah - Buat model objek
Siapkan skenario
Sudut pandang atau fokus analisis ditekankan pada " kasus penggunaan ", yaitu keterangan
atau skenario yang menggambarkan bagaimana pengguna berinteraksi dengan produk atau
sistem yang akan dikembangkan.
Identifikasi penggunaan
sub Isolasi
Metode Booch
Tahap Desain
Dari perspektif manajemen proyek, desain terdiri dari dua bagian, yaitu: desain awal ( desain
awal ) Menentukan arsitektur perangkat lunak secara keseluruhan ( desain awal ).
- Apa bentuk antarmuka ? desain rinci ( desain rinci ) Menentukan program modul (
prosedural ) yang akan dibuat Sebagai dari sudut pandang teknis , kegiatan desain terdiri dari
kegiatan berikut :
- Logika Arsitektur