New answers tagged architecture
1
vote
Does my code follow DDD principles?
DDD doesn't have a lot of hard principles
but then I learned that aggregation roots should not reference each
other directly, and replaced the objects with identifiers. Did I do
the right thing?
Yes ...
2
votes
How to untangle bounded contexts after a team ownership reorganization?
The premise of Domain Driven Design is that if your let devs write software as they like, then you end up with odd restrictions on changes which align with the way the business thinks but not how the ...
3
votes
What architectural connector is a file descriptor?
File descriptors can implement connectors of different types, depending on how they are used within a system:
When used in a Fifo manner, where one component writes data into a file stream and ...
4
votes
How to untangle bounded contexts after a team ownership reorganization?
I assuming by team you mean some mix of bank staff (Tellers, Credit Risk Analysts, ...) not just the dev team working on the software.
Your question seems to be hinting at changing from 2 bounded ...
-2
votes
Is there a difference between a component and a module
There are several phases of software engineering. design, development, deployment.
Components are related to the design phase of the software. Where you have architectural components such as client, ...
-1
votes
Is it a good idea to have multiple derivations of Presenter (MVP) / View Model (MVVM) of a certain view and supply them externally?
Not only is this a good idea, it's recommended.
2
votes
External Service Failures in Long-Running Queued Tasks
Retries are inherently dangerous. Unless you know what failure you are expecting and that a retry will fix the problem, then I would avoid any immediate retries.
The default approach should be to put ...
0
votes
How do replicas of an app instance assure the task was done only once when the main instance fails?
This question, or more accurately any given answer to it, is prone to "but you could invest more effort and cover the gap this way". That's a recursive response, you can always invest more ...
2
votes
Accepted
Why the instability metric is a ratio?
Well, no metric is perfect. A metric is a relatively simple way to get a handle on some property of a complicated thing - for instability, think of it as of a normalized/relative metric (a value ...
1
vote
Why the instability metric is a ratio?
The thing to realise is that any given system has a fixed number of packages.
So the instability is just a measure of where a given package is in the dependency chain.
Root packages, say your Models, ...
1
vote
In what way is an "architecture quantum" distinct from UML subsystems?
But, even in an appropriate microservice decomposition, parts of an end-user's workflow will still stop "functioning", even if only temporarily in case eventual consistency is applied, if ...
1
vote
In what way is an "architecture quantum" distinct from UML subsystems?
The term "architectural quantum", as defined by Richards and Ford, is essentially microservice, without the baggage.
An architectural quantum is more specific than a subsystem. Take, as a ...
0
votes
How to Handle Concurrent Refresh Token Requests
Assuming that all the tabs run on the same browser and therefore can share cookie storage, the following mechanism can be implemented:
Upon session start, every tab obtains it's own unique_tab_id.
...
1
vote
How to Handle Concurrent Refresh Token Requests
So you have several contexts that use the same token and refresh should be called only once and refreshes everything. You refresh the token based on time.
The normal method would be: You start a token ...
0
votes
Calling service and repository layer from controller
Generally there is no issue with direct controller to reposiroty approach. it will work but it can lead to tightly coupled and harder-to-maintain code as the project grows.
What is service layer?
...
Top 50 recent answers are included
Related Tags
architecture × 3582design × 821
design-patterns × 457
c# × 271
microservices × 269
domain-driven-design × 243
java × 205
architectural-patterns × 182
database × 181
object-oriented × 154
enterprise-architecture × 149
rest × 123
web-applications × 116
.net × 108
web-development × 106
api × 102
object-oriented-design × 98
mvc × 97
database-design × 88
api-design × 77
javascript × 75
python × 68
web-services × 67
programming-practices × 65
layers × 62