All Questions
Tagged with business-rules business-logic
23 questions
2
votes
3
answers
137
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 ...
1
vote
3
answers
446
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
2
answers
233
views
Getting the UI to know about Business Rules for Form Controls
Situation:
VB.NET WinForms application, using the WinForms as a presentation layer project. Another class library project containing the business layer, in the form of CQS and Service classes, plus a ...
2
votes
3
answers
742
views
What defines a business rule, as opposed to application or presentation logic?
The way I explain it to myself is that a business rule is a requirement for a domain concept of an application.
One of the core tasks of my current app is to send notifications. Therefore I have a ...
1
vote
4
answers
1k
views
Rules engine suggestion for hard coded if-then-else
Reposting question as Previous post on same Topic was not clear.
Currently our financial application receives multiple feeds in csv format from client, there are usually 100k to 5M rows of data. ...
0
votes
2
answers
4k
views
data vs business logic
Today my manager said: 'Amir, don't mix the business logic with data in database'.
I surprisingly shocked! I said 'Where?'.
According to wikipedia business logic is:
In computer software, business ...
3
votes
2
answers
2k
views
DDD - delegate business rule of domain object to external service
Situation:
I am implementing DDD in my first project and I would like to clarify how to correctly implement strategy pattern (in my case check if API token is active). This is a business rule of ...
6
votes
3
answers
859
views
Is it good practice to put service business logic based on audit trail?
Our application creates audit trails in response to system actions and user actions. Our business logic depends on these audit trails to find out which user performed what action.
Is it good practice ...
0
votes
2
answers
2k
views
How To Design BLL in ASP.NET MVC
I'm trying to design a N-Tier Solution for my existing WebAPI project.
I have a WebAPI project where, as of now, all the business logic are written in the controllers and the data validation are done ...
10
votes
3
answers
8k
views
How acceptable is to keep business logic outside entities (in separate service classes)?
We were taught that objects are self contained things with data and behaviour and therefore they should have methods that act on their attributes. But there are several situations when this coupling ...
2
votes
1
answer
2k
views
business rules, business proceses and business logic
I am not 100% sure of the meaning of these terms.
Is a business process a flow in an application? (e.g. creating an invoice)
Are business rules parts of a business process? and, are business processes ...
2
votes
2
answers
2k
views
Designing voucher system in e-commerce application
I'm currently designing voucher system to be implemented in our company e-commerce application.
I'm currently have voucher table in database which contains following information :
Unique voucher ...
20
votes
4
answers
31k
views
What is the difference between business and application logic? [closed]
Please note that I asked the same question on stackoverflow but they directed me to ask here.
While I am trying to discerne the difference between the application logic and business logic I have found ...
0
votes
2
answers
705
views
What to do about complex business logic based on many options
To preface, I think this problem would be easier to understand if I gave an example: How does a complex tax evaluation application manage multiple tax laws and personal situations?
I inherited a web ...
32
votes
2
answers
11k
views
What does "business logic" actually mean if not "all non-3rd party code"?
I've heard people talk about business logic a lot at work, and online, and I've read several questions on this site about it, but the term still doesn't make a lot of sense to me. For example, here ...
25
votes
4
answers
26k
views
What exactly is a business rule? [duplicate]
I'm trying to better organize my application architecture, so I've been doing some reading, but I keep running into references to "Business Logic" and "Business Rules". I've never really understood ...
3
votes
2
answers
1k
views
Implementing bussiness logic with a large number of business rules and processes
We are currently working on a project that heavily relies on a database.
Among many tables the main focus is on table "data" which is linked to another table "data_type" as many-to-one, which is then ...
1
vote
1
answer
214
views
Class Design for special business rules
I'm developing an application that allows people to place custom manufacturing orders. However, while most require similar paperwork, some of them have custom paperwork that only they require. My ...
7
votes
4
answers
19k
views
The best possible way to implement Business Rules in PHP
I'm planning to write an e-commerce app using PHP & MySQL with lots & lots of custom rules. Say for example, I want to have a rule like "Give Customer X, a 10% a discount for Product Y if he ...
148
votes
10
answers
78k
views
How much business logic should the database implement?
I've worked in some projects where most of the business logic was implemented on the database (mostly through stored procedures). On the other side, I've heard from some fellow programmers that this ...
7
votes
5
answers
4k
views
How to tackle complex business rule and logic?
I have a domain expert to work with, but he would throws a lot of details to me verbally. The business logics are complex, business rules change often, the business process is long and multi-ending / ...
17
votes
6
answers
5k
views
Representing business rules with exceptions
I know it is expensive but (IMO) I believe it is a very good practice. I'm talking about rules like say, you can't save an Invoice if you are not a sales person... so in that case throwing an ...
19
votes
7
answers
1k
views
Business Objects - Containers or functional?
This is a question I asked a while back on SO, but it may get discussed better here...
Where I work, we've gone back and forth on this subject a number of times and are looking for a sanity check. ...