4
votes
Accepted
Serverside validation in a web application
Typically, as early as possible – validation should happen at a system boundary, but you'll have to decide where exactly to draw that boundary.
When working in a typed language, a good rule of thumb ...
3
votes
Technical Debt in frontend development
It's not clear what "recently joined" means, but you are new to the company. A recent hire coming in and telling people that their project has a lot of technical debt and problems probably ...
2
votes
Best way of handling concurrent requests
An alternate solution, depending on your requirements is to get rid of server side state altogether. This is what tokens (like JWT) will help you.
User logs in, just give it a token with a ttl of 5 ...
2
votes
Side effect as a common object seems like a bad pattern
Giving discounts in an auction sounds counter intuitive and potentially illegal, but generally the approach for "modifiers to an order" would be to define the logic for each discount type in ...
1
vote
Are Microservices Architecture and a Single Customer View able to co-exist?
Yes, they can co-exist.
Both things exist for different, non-contradictory reasons. Microservices exists usually for scaling purposes, either organizationally or technically. To do this, the ...
1
vote
Accepted
Blazor Application separation of concerns
I'm going to focus on Blazor WebAssembly here, not Blazor Server-Side, because you're trying to compare it to an Angular frontend.
However, I am not so sure how I could separate the front-end and ...
1
vote
Alternatives to DDD - Complicated and cumbersome business logic/process
There is no architecture, design pattern or development philosophy that fixes this. Domain-driven development was conceived precisely for complex applications. Eric Evan's book "Domain-Driven ...
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 ...
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 ...
1
vote
I can't really tell the difference between Hexagonal and Layered Architecture
Layered is usually like this (arrow indicates a dependency):
Data <-- UI
Which split apart a bit more can become:
Data <-- Logic <-- UI
Hexagonal uses dependency inversion to achieve:
Data -...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
architecture × 3303design × 745
design-patterns × 425
c# × 260
microservices × 230
domain-driven-design × 201
java × 194
database × 169
architectural-patterns × 160
object-oriented × 146
enterprise-architecture × 144
rest × 118
web-applications × 111
.net × 105
web-development × 103
api × 97
object-oriented-design × 93
mvc × 93
database-design × 83
javascript × 73
api-design × 71
web-services × 66
programming-practices × 64
python × 58
asp.net × 58