Business logic in the code or in the data base?

Question posted in Computer Software on 11 2009
Rate question difficulty level 0 Votes
Do you think that the data base should do handle with the business logic or it should only perform basic actions like update delete and select ?
 
 
10 Answers
 
Always in the code!
The idea of putting business logic in the database is a contradiction to the concept of loose coupling. the application will be less managable and certainly less modular.
Also:
- it will render object oriented concepts to elimintation.
- it limits the design to start from how to store instead of what to do with it.
- it requires more knowledge from the developer which now going to cost more.
- it will not haste the development or cut the costs.
- it forces your GUI to work directly with the database wihch opens a new series of ALSO:
* more licenses, since you will be using your db as your clients Server.
* multi-servers network will be a problem..
* security is less as your client directly involves the database.
There are even more problems... but I think those suffcient to decide.

11/07/2009
 
 
In my applications, we have 3 projects: Domain, DataBaseManager, Business logic...it's easy understand what each projecto do

11/07/2009
 
 
I think database should handle business logic only if business logic is data manipulation. Otherwise it's purpose of business module.

11/07/2009
 
 
I'm shocked that I found this info so esaliy.

01/13/2012
 
 

01/13/2012
 
 
valtrex ahh propecia 88830 flomax =-PPP

02/02/2012
 
 
 
 
 
 
 
 
 
 
Add an answer*
 
Your name
Email
 

add a question

arrow_blue


Now hiring!
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------