For Programmers: Free Programming Magazines  


Home > Archive > Software Engineering > September 2007 > Does DFD is used in Object oriented programming?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Does DFD is used in Object oriented programming?
ball

2007-09-26, 4:12 am

Hi everyone,

It is sure that DFD is used for Strucutured Analysis. However, I
wonder if DFD is used (in real practice of Software Engineering) for
OO programming or it is just can be applied to Procedureal Programming
language?

If DFD can be used for OO-programming, how we convert DFD to design
artifacts?

Thank in advance.
Ball

H. S. Lahman

2007-09-26, 7:08 pm

Responding to Ball...

> It is sure that DFD is used for Strucutured Analysis. However, I
> wonder if DFD is used (in real practice of Software Engineering) for
> OO programming or it is just can be applied to Procedureal Programming
> language?
>
> If DFD can be used for OO-programming, how we convert DFD to design
> artifacts?


Most of the UML diagrams are just slightly modified versions of existing
diagrams from SA/SD. That's because the underlying graph theory, set
theory, and basic semantics are the same. Thus a Class Diagram is
essentially just an ERD. The flavors of Interaction Diagram are
essentially DFDs that just puts the process bubbles inside object swim
lanes because objects can collect multiple behavior responsibilities. An
Activity Diagram is basically an ADFD and was traditionally used as
exactly that to define what goes on inside methods prior to the advent
of abstract action languages.

However, the way the diagrams are constructed is methodologically very,
very different than the way they were constructed with SA/SD.


*************
There is nothing wrong with me that could
not be cured by a capful of Drano.

H. S. Lahman
hsl@pathfindermda.com
Pathfinder Solutions
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
"Model-Based Translation: The Next Step in Agile Development". Email
info@pathfindermda.com for your copy.
Pathfinder is hiring:
http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH



Phlip

2007-09-27, 8:06 am

ball wrote:

> It is sure that DFD is used for Strucutured Analysis. However, I
> wonder if DFD is used (in real practice of Software Engineering) for
> OO programming or it is just can be applied to Procedureal Programming
> language?


OO is procedural programming with the addition of indirect jumps into
polymorphic functions.

In a data flow diagram, if a given parcel of data enters a polymorphic
method call, you draw a line into the specific concrete implementation that
this particular data will route to. Or, if your diagram does not reveal this
detail, you just route into a base class object.

> If DFD can be used for OO-programming, how we convert DFD to design
> artifacts?


If, while writing an OO program, if there is a question about the flow of
data thru a system, you can draw a diagram to illustrate the program's
current abilities, or its planned abilities.

DFD is a modeling notation, not a methodology. A methodology is a system to
design a program, within the lifecycle of constructing and deploying it.
Look up "Test Driven Development" and "Agile Modeling" for a good
methodology, and its modeling system. The goal is to keep a design clean and
simple, while keeping its program bug-free. Don't use diagrams as a way to
over-engineer a program, or to support a bad design.

--
Phlip
http://www.oreilly.com/catalog/9780596510657/
"Test Driven Ajax (on Rails)"
assert_xpath, assert_javascript, & assert_ajax


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com