Not sure if there is a \"correct\" answer to this, so I\'ve flagged it as community wiki. Apologies for the long pre-amble.
I have a business layer that has some business objects/POCOs/entities/whatever. I also have some repositories for the data access. Up until this point, I\'ve been accessing the repositories directly f
I am developing a POS (Point of Sale) application which should be able to calculate average price. Here is the deal, i don\'t know what it is and how it is calculated for consumer products. I just got
In a three-tier/multitier architecture (UI/Logic/DAO/Domain model), can services be considered as belonging to the business logic layer or are they开发者_StackOverflow situated as something separate ?
This issue is technology agnostic, but I am working with C# and ASP.NET and will use this for the pseudo code. Which is the better approach, and why?
I would like to use the DataAnnotations on my transfer objects. However how do I开发者_如何学编程 call them in the business layer to verify the input?
Currently we are using check constraints for business rules implementation, but I want to know if we should implement business rules in SQL or in the business logic layer (C#). I have searched on the
On a site with a reasonable 开发者_高级运维amount of traffic , would it matter if the application/business logic is written as stored procedures ,triggers and views , instead of inside the PHP code it
What are the good ways to handle complicated business logic that from the first glance requires many nested if statements?