Linked Questions
78 questions linked to/from Choosing the right Design Pattern
0
votes
2
answers
589
views
Design Patterns: What design pattern should I use for the following? [duplicate]
I am trying to write an utility which traverses through a list of files and searches for a string in each file. On finding the string in a file, I will add it to a list and display the list. Which ...
0
votes
3
answers
801
views
Which pattern to create domain objects from web request objects [duplicate]
I'm a little confuse how to create domain objects right. In all/most web application we have simple objects created from POST request. We need to create domain objects that we will use in deeper ...
-1
votes
1
answer
2k
views
What is a good design pattern for monitoring a protocol handshake? [duplicate]
I am writing a program for monitoring communications between a server and multiple clients on a network. In particular Websocket protocol based communications. I construct monitoring objects for every ...
-2
votes
1
answer
281
views
Scaffold design pattern [duplicate]
I'm looking for something that might be described as a "Scaffold design pattern".
I'm in the process of resurrecting an old piece of working but very buggy code that implements a Finite ...
-1
votes
2
answers
177
views
Outsourcing reporting service for multiple customers [duplicate]
I want to develop a robust system written in C# (WPF and WCF) for importing .csv files (and/or some others e.g. Word files) as a input into my system and then to generate PDF/Word report.
I would ...
1
vote
1
answer
134
views
Appropriate design pattern for developing rules and outcomes [duplicate]
In the exercice i´m developing bellow, i´m applying the chain of responsibility pattern. The pattern works correctly but i don´t think it's the best approach. I think the rule design pattern should be ...
0
votes
0
answers
45
views
Which patterns use to design a turn based board game? [duplicate]
I am struggling to design a board game architecture since I am trying to keep it as generic as possible in order to improve its flexibility to extensions in case of new features, but doing that I'm ...
0
votes
0
answers
43
views
Design pattern for scheduling method calls (open-loop control) [duplicate]
I have an ERP-style system that needs to allow users to orchestrate an Entity.action() on a variety of objects that implement the Entity interface, at different datetimes. Calling action() would ...
124
votes
9
answers
30k
views
Are design patterns really essential nowadays?
I was reading "Coders at Work" and have faced the fact that some of the professionals interviewed in the book are not so enthusiastic about design patterns.
I think that there are 2 main reasons for ...
36
votes
9
answers
9k
views
When writing object-oriented code, should I always be following a design pattern?
Is there a conceivable design pattern for any object-oriented program? I ask this because recently I saw an implementation of a Door class with a Lock. It was part of a test and the answer said that ...
7
votes
1
answer
6k
views
Where we should not use MVC? [duplicate]
I have a software engineering course project that we should design a web application, so I've decided to read about software architecture patterns.
I've read a lot about what is MVC and its structure,...
5
votes
2
answers
8k
views
Design pattern for processing a huge CSV file -- Java
I am learning design patterns in Java and also working on a problem where I need to handle huge number of requests streaming into my program from a huge CSV file on the disk. Each CSV line is one ...
10
votes
5
answers
521
views
Using different patterns for similar features
I'm the sole developer on a project that, like for any software project, may be taken by somebody else in the future.
Let's say I used the pattern X to implement feature A. After developing and ...
1
vote
4
answers
5k
views
C# How to correctly work with ProgressBar? Architecture look
I am wondering about the correct architecture to work with a progress bar in C#. But maybe it applies not only to C#, because I need an architectural look at this.
I'll explain my question with an ...
2
votes
2
answers
3k
views
Design Pattern: getting a collection of objects from different sources
I've got a class Shop which contains a collection of Item objects. You can create a shop in two different ways:
Create a shop filled with test data (for debug purposes);
Create a shop by reading the ...