Skip to main content
Software Engineering

Questions tagged [business-logic]

The tag has no summary.

Filter by
Sorted by
Tagged with
-2 votes
2 answers
135 views

Preventing duplicate customers from company entry vs mobile sign-in [closed]

We have a system where customers can be created in two ways: By a company — the customer belongs to that company and the company can edit their information. By a mobile user — the customer has a ...
-1 votes
1 answer
63 views

Complex domain problem to be modeled with DDD

There is a case management application. New requirements want to add statuses to cases. The case will go through a series of statuses until completion. Each case belongs to a case type. There are many ...
3 votes
3 answers
1k views

Should business logic classes be POJO only?

I read about three-tier architecture and I have a question: I read that in business logic (that is, what is in logic tier) there should be POJO classes, but in most Spring manuals these classes are ...
1 vote
3 answers
306 views

Where to handle Validation Errors in Business logic layer?

I'm currently designing a multi-layered application and am trying to figure out the best practice for error handling within the Business Logic Layer (BLL). Should I handle errors directly within the ...
2 votes
3 answers
149 views

Explicit business rules vs business rules through events?

I don't know how to look for this so I apologize if this is already answered. I'm wondering how to decide what is best in terms of SRP and explicit business rules. I feel that writing business logic ...
0 votes
0 answers
35 views

Balancing logic placement in the domain and general perfomance of the system

I am writing my first application using DDD (in Node with TS) and I started writing all the domain first -- before starting the repositories/DB and then the application, while writing unit tests for ...
0 votes
1 answer
69 views

Validating data and logic outside the domain

I have a budget entity in my domain which can be closed by the user if the budget is open. This means if the budget opens today and closes in seven days, in between this time I can close it, not ...
1 vote
2 answers
206 views

Placing business logic on a not so small/big project

I am having a bit of problem trying to find the correct place for business logic. The project I am working on isn't huge, but is not small either and has a very considerable importance in my company. ...
1 vote
3 answers
514 views

How do you record and track your business logic for software projects?

In my work, which is a UK university, we currently have no specific way of recording and tracking business logic and rules as they arise from stakeholders for our in-house software projects. We use ...
3 votes
1 answer
2k views

How would you implement a promotion/discount system?

Two recent failed projects in my career involved trying to implement a discount/promotional offer system for retail. For example, a retailer may want to offer discount codes in emails or newsletters, ...
0 votes
2 answers
135 views

Services: Which structure is a better idea?

I'm designing my service layer for a GraphQL API and there are many situations in which I can't decide if code relating to a table should belong in it's own class, or the class that 'owns' the data. ...
1 vote
2 answers
229 views

Strategies to abstract away technical details when dealing with transactions

I like programming in such a way that every component/injectable of the applications I build, has a clearly defined scope, and it's easily tested. With years working as a Developer I've come to ensure ...
1 vote
0 answers
222 views

Business rule or repository implementation rule in Clean Architecture

I'm studying Clean Architecture with python and got into this "problem" of choosing where to implement a rule (that I considered a Business Rule, maybe I'm wrong) I have 2 Entities @...
-1 votes
2 answers
159 views

How to make domain objects accessible to MVC controllers and views?

Summary of my question in a short form: How to propagate changes of domain objects upwards without introducing application logic into them? Following 'facts' are based on prescriptions from respected ...
0 votes
1 answer
96 views

Good approach to design Business interface for versioned API?

I am designing an API using .NET core 6 C# which has 2 versions. For v1 I have something like the following for the business logic interface (fictional names and simple fields just to facilitate ...

15 30 50 per page
1
2 3 4 5
...
13

AltStyle によって変換されたページ (->オリジナル) /