Traditional Approach VS OO Approach
Traditional Approach VS OO Approach
1. Traditional Approach
2. Object – oriented Approach
Introduction
Traditional Approach includes many variations based on techniques used to develop information
system with structured and modular programming
Traditional Approach also known as Structured System Development
Structured approach which as known as Structured analysis and design technique (SADT)
SADT is a software engineering methodology for describing systems as a hierarchy of functions.
SADT is a graphical language that for describing systems , together with a methodology for
producing such as description
SADT basis element :
Controls
Mechanisms
Diagrammatic notation designed specifically to help people describe and understand systems
Offers building blocks (boxes) to represent entities and activities
Offers variety of arrows to relate boxes
Boxes and arrows have an associated (informal) semantics; users are aided by boxes and arrow
labels, other informal documentation.
There are 3 techniques in SADT :
i. Structured programming
Structured programming is based on the theory that modularization makes for better
programs.
1
SYSTEM ANALYSIS & DESIGN (MTD 2033)
High quality programs not only produce the correct outputs each time program runs ,
they make it easy for other programmers to read and modify the program later and
programs need to be modified all the time
A structured program is one that has one beginning and one ending and each step of
three programming constructs :
Stand Up
Turn Right
Look outside
No
Is it raining? Wear sunscreen
Yes
Take an umbrella
2
SYSTEM ANALYSIS & DESIGN (MTD 2033)
Take a step
No
Yes
Stop
3
SYSTEM ANALYSIS & DESIGN (MTD 2033)
Methods for analyzing and converting business requirements into specifications and
ultimately, computer programs, hardware configurations and related manual
procedures
4
SYSTEM ANALYSIS & DESIGN (MTD 2033)
A techniques providing guidelines for deciding what the set of programs should be ,
what each program should accomplish and how the programs should be organized into
a hierarchy
Structured Design views the word as a collection of modules with functions, that share
data with other (sub) modules. Example: structure chart
5
SYSTEM ANALYSIS & DESIGN (MTD 2033)
A technique use to define what processing the system needs to do, what data it needs
to store and used, and what inputs and outputs are needed (External approach : events
and reactions to event) (Internal approach : functions , inputs , outputs)
In structured analysis there are three orthogonal views:
The functional view, made up of data flow diagrams, is the primary view of the
system. It defines what is done, the flow of data between things that are done
and provides the primary structure of the solution. Changes in functionality
result in changes in the software structure.
The data view, made up of entity relationship diagrams, is a record of what is in
the system, or what is outside the system that is being monitored. It is the static
structural view.
The dynamic view, made up of state transition diagrams, defines when things
happen and the conditions under which they happen.
6
SYSTEM ANALYSIS & DESIGN (MTD 2033)
Context Diagram
-Represent all external entities that may interact with a system
-This diagram pictures the system at the center, with no details of its interior
structure, surrounding by all its interacting systems, environment and activities.
- The objective of a system context diagram is to focus attention on external
factors and events that should be considered in developing a complete set of
system requirements and constrains.
- System context diagram are related to Data Flow Diagram
- Context diagrams can be helpful in understanding the context in which the
system will be part of software engineering
Data Dictionary
- A data dictionary or database dictionary is a file that defines the basic
organization of a database.
- A database dictionary contains a list of all files in the database, the number of
records in each file, and the names and types of each data field
-Most database management systems keep the data dictionary hidden from
users to prevent them from accidentally destroying its contents
-Data dictionaries do not contain any actual data from the database, only
bookkeeping information for managing it. Without a data dictionary, however, a
database management system cannot access data from the database
7
SYSTEM ANALYSIS & DESIGN (MTD 2033)
Introduction
Object-Oriented
8
SYSTEM ANALYSIS & DESIGN (MTD 2033)
9
SYSTEM ANALYSIS & DESIGN (MTD 2033)
10
SYSTEM ANALYSIS & DESIGN (MTD 2033)
It may also include some kind of user interface mock-up. object oriented analysis is to
develops a model that describe computer software as it works to satisfy a set of
customer define requirements’
11
SYSTEM ANALYSIS & DESIGN (MTD 2033)
12
SYSTEM ANALYSIS & DESIGN (MTD 2033)
Analysis A technique use to define what processing Defining all the types of objects that do the
the system needs to do, what data it needs to work in the system and showing what use
store and used, and what inputs and outputs cases are required to complete tasks
are needed
Disadvantages Estimating time and costs is difficult for each Benefits are not easily attainable.
stage. Even with OO technology, it is still possible to
Never backward (Traditional) design a truly awful system in terms of
Little room for iteration
quality and maintainability.
Difficulty responding to changes
OO technology and development methods
are still not mature or stable. OO is still
relatively new.
Any large-scale change to new technology
and methods is likely to be time consuming.
Substantial learning curve. Productivity and
quality decreases as staff are learning new
methodology.
Some benefits will show up only after a
considerable amount of time.
Benefits from reuse are only achievable after
a certain portfolio of system components has
been developed
SYSTEM ANALYSIS & DESIGN (MTD 2033)
Reference
Structured Analysis and Design Technique. (2009). Wikipedia, the free encyclopedia.
Retrieved Sept 11, 2009, from
http://en.wikipedia.org/wiki/Structured_Analysis_and_Design_Technique
W. John, Jackson. R, D. Bur. Stephen (2005). Systems Analysis and Design in a Changing World
Retrieved Sept 11, 2009, from http://books.google.com.my/books?id=-
ot62DeCKO4C&pg=PA53&lpg=PA53&dq=traditional+approach+to+system+development&source=bl
&ots=V0wVStRBOw&sig=DC5k1KMU6YyVhsru1Ad_WqEdZYM&hl=en&ei=_0SrSqXjNKWO6AOy39Hd
Bw&sa=X&oi=book_result&ct=result&resnum=5#v=onepage&q=traditional%20approach%20to%20s
ystem%20development&f=false
16
SYSTEM ANALYSIS & DESIGN (MTD 2033)
17