what is diffrence between Function Oriented Design and
Obeject Oriented design
Answer Posted / biren chetry
Object oriented design Function oriented design Modeling
Objects are modeled based on real-world objects. For example
in a banking software the objects mimic real-world
equivalents like Account, Customer etc. Functions are
modeled on distinct and independent functionality. For
example in banking system the key functions include
transferFunds, checkBalance etc.
Abstraction
Objects are normally abstracted as nouns like Person,
Address etc.
Functions are usually abstracted as verbs like
subtractBalance, getAmount etc. State The state is usually
distributed among various objects. For example each of
objects Person, PersonAddress, PersonContact have its own
state The state is normally centralized and functions share
and access the state. For example Person details are stored
centrally in file or in database and multiple functions like
getPersonDetails, UpdatePeronAddress access the centralized
state.
Hierarchy
Objects are logically grouped based on their interaction
Functions are grouped based on their functionality. Multiple
sub functions can be grouped to form a bigger function.
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is onion architecture?
when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next
Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?
Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?
Is singleton bean thread safe?
What are structural design patterns?
Explain what are 5 common problems in the software development process?
What is singleton design pattern in java?
What is the difference between proxy and adapter?
Using any system, product, or service your organization provides, identify the human system roles for the product.
What are the most important software design patterns?
Is mvc is a design pattern?
What is mvp design pattern?
Can we have this pattern implemented using static class?
What is the difference between factory and abstract factory design pattern?