Skip to main content

Questions tagged [ooad]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
57 views

Should I combine use cases related to viewing?

When I did a small project in school about writing a document for Online Auction System in OOAD (Object-oriented analysis and design) courses, I had trouble with multiple Auction viewing use cases ...
Đặng Quang Huy's user avatar
3 votes
2 answers
248 views

Efficient way to Decouple classes in class design

I am working on a class design question - design a simple grocery store with a self-checkout system I am a beginner After briefly jotting down requirements, I started with the Product class as follows ...
darklion's user avatar
-1 votes
2 answers
212 views

Liskov Substitution Principle Edge Case

I thought I understood Liskov Substitution Principle but then I thought of a case and I wanted to ask the community here if I get it right. So I read somewhere to check if we have violated Liskov or ...
Shahbaz Khan's user avatar
3 votes
4 answers
1k views

When are Description classes useful

A book called 'Applying uml and patterns by craig larm' emphasized the use of Description classes in software designing. For example, the book pointed out why putting attributes such as description, ...
Maak's user avatar
  • 67
0 votes
2 answers
129 views

Which approach is better suited for analyzing a basic manual ongoing system? Structured Analysis or Object Oriented Analysis?

My task is to analyze a system used in our office which is based on Excel for storing data. The data is entered manually by a person. So when we need to update or edit the data, we use Excel's ...
Shira's user avatar
  • 23
-1 votes
1 answer
284 views

Are the steps involved in OOAD well-established? [closed]

There is a number of books written about OOAD (object-oriented analysis and design). A few of them can probably be considered good books, written by people with a lot of experience in the field. One ...
Piovezan's user avatar
  • 481
1 vote
1 answer
106 views

Designing a generic graph

I am looking at designing a Graph class, that should work for both lists and matrix. For ex: something like, class Graph { public: virtual ~Graph() = 0; virtual bool AddEdge(int src, int dest)...
vinit's user avatar
  • 131
1 vote
1 answer
156 views

OOA&D: finding the systems and actors when multiple processes are involved

I'm reading Applying UML and Patterns and trying to match the OOA&D principles in there to a project I've worked on. It is kind of a retroactive learning exercise. The basic question I'm trying ...
Piovezan's user avatar
  • 481
2 votes
4 answers
2k views

What are the private method responsibilities when we design class in OOP?

In different design books I have read that First identify the purpose of class (abstraction). Class should only do one thing (SRP). methods are defined as responsibility of the class. As per my ...
Narender Parmar's user avatar
5 votes
3 answers
3k views

How to decide the granularity for RESTful APIs

Most of us know SOLID, and over the years have understood how useful it can get when we need to change. Based on S & I parts of SOLID and from experience I used to design my HTTP RESTful services ...
Saeed Neamati's user avatar
1 vote
0 answers
542 views

How to Make Reusable Classes/Package in Laravel for Billing which uses PaymentExpress?

I am working on a Laravel Project where we are Payment Express. What currently we are doing is that we have Payment Express Class with static function (Not a single property) like given below: Class ...
Khuram's user avatar
  • 137
7 votes
2 answers
251 views

Should Modelling Document Analysis?

I use UML I, like most (I think), use UML as my main diagramming toolset. UML is clear and useful for representing OOP and has sufficiently diverse diagrams that there is something for whatever area ...
user avatar
4 votes
1 answer
1k views

Object-Oriented Analysis - Peter Coad / Edward Yourdon Notation

In the object-oriented analysis approach defined in Object-Oriented Analysis by Peter Coad / Edward Yourdon (Yourdon Press, 1991), a method is provided for analysing and modelling complex problem ...
user avatar
19 votes
3 answers
1k views

Relational databases and iterative development

In many approaches to software development like agile methodologies, Domain-Driven Design and Object Oriented Analysis and Design, we are encouraged to take one iterative approach to development. So ...
user1620696's user avatar
  • 4,887
7 votes
2 answers
1k views

Strategy Pattern Implementation

I have to generate a code that will send through SMS or Email to implement the One Time Password (OTP) requirement of our client. I just finished creating the design using strategy pattern, . . This ...
fuzzy28's user avatar
  • 171
2 votes
2 answers
1k views

How to avoid god controller classes and keep single responsibility principle?

The task is to make a migrator from Old DB to New DB using OOP Single Responsibility Principle. My problem is how can I make this without making the controller a God Class or breaking the single ...
Stefan Rogin's user avatar
0 votes
2 answers
4k views

Object Oriented Analysis and Design and DDD together

I fear this question seems too broad, so I'll try to explain what I mean with some detail. I couldn't, however, find a way to divide it into other questions. If that's really the case, I will gladly ...
user1620696's user avatar
  • 4,887
2 votes
1 answer
2k views

Object Oriented Analysis and Design workflow for developer working alone

Studying about OOAD I've found a simple workflow based on five steps. I don't work with a team, so what I'm interested in is a workflow that can be used by a developer working alone. The workflow I ...
user1620696's user avatar
  • 4,887
5 votes
2 answers
806 views

Does having many duplicated methods and deep inheritance hierarchies in GUI APIs (Java Swing, Android SDK) violate the SOLID design principles?

For those unfamiliar with the SOLID principles you can start reading here: Wikipedia article. However, most of my understanding comes from: http://www.objectmentor.com/resources/publishedArticles.html ...
Bernard Igiri's user avatar
6 votes
1 answer
77k views

C++ : Association, Aggregation and Composition [closed]

I'm beginning to study OOAD and I'm having difficulty finding a C++ code example that'd illustrate how Association, Aggregation and Composition are implemented programmatically. (There are several ...
Talha5389's user avatar
  • 169
0 votes
1 answer
76 views

Modeling Associations

I am working on the design phase of a paper folding project. I have a few queries in this. Part of the problem statement says " A web can contain one or more ribbons in it. It can also contain a ...
Pradeep's user avatar
  • 15
7 votes
7 answers
5k views

Inheritance using non-abstract base class

This post is based on the question https://stackoverflow.com/questions/49002/prefer-composition-over-inheritance/11758048#comment15634305_11758048. Some people said - check whether there is “is-a” ...
LCJ's user avatar
  • 987
3 votes
2 answers
3k views

How to get OOAD and Design Patterns hands-on experience in C#?

I have read the concepts and practiced some examples on OOAD and Design Patterns. But when I was asked to implement the singleton pattern in a little bit different manner, I was unable to do it and ...
Dinesh's user avatar
  • 131
0 votes
2 answers
354 views

Inheritance versus Composition in a business application

I have a training management and tracking system, with a high level structure as follows: We have a Role1, e.g. Manager, Shift-boss, miner, etc. and a Candidate, training for that Role. The role has ...
ProfK's user avatar
  • 512