5 votes
Accepted

Best pattern/practice to execute a multi-step code generation process

There is nothing inherently wrong in having an orchestator doing these steps one after another. When all you need is this fixed step of sequences, don't start to throw some fancy patterns at the code ...
user avatar
  • 184k
2 votes

Modelling interactions (Domain driven design)

I'd be wary about coupling the User's domain and the Box's domain. Obviously its just an example, so you cant really say, but it seems like in a DDD system you might have a whole lot of things Users ...
user avatar
  • 63.9k
2 votes

Which strategy to use to create object instances

In short The problem is not what you think it is. You need to take a step back, look at the whole problem, reframe it, and opt for a different approach. Some more thoughts How to solve your current ...
user avatar
  • 66.8k
1 vote

Plugin architecture vs Interface Segragation Principle (SOLID)

The purpose of a plugin may be specific to your current application, but whatever it is, it is strictly delineated in your domain. The generic codebase has certain expectations of what a plugin is or ...
user avatar
  • 37.1k
1 vote
Accepted

How can one combine two system architectures, say client-server and repository architecture?

There appears to be a confusion about what constitutes an "architecture" in software development. Architecture describes a general way of organizing code and behavior. Client-server is ...
user avatar
1 vote

Modelling interactions (Domain driven design)

There is no design without context, i.e. a set of requirements that define the context. Even if you understand the business case, there is no point in trying to model the "reality". Design ...
user avatar
1 vote

Modelling interactions (Domain driven design)

My initial reaction was twofold: Unless there are constraints around moving boxes, the user (or labourer) who moved the box should be metadata. At best, it feels like a LabourerId is all you need. ...
user avatar
1 vote

Which strategy to use to create object instances

This may be a case where you are overthinking the problem. You've got a number of different approaches to dealing with object construction and initializing data. The simplest approach is to just use ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible