Virtually every architect has wrestled with problem of where to put ‘Business Logic’ and as technology changes and matures I doubt there will ever be a correct answer. The rules stating that ‘business logic’ should always go here or there are stated by people who would only be able to depict application architecture with a set of crayons and a colouring-in book. I have seen applications where none of the 'business logic' is in the database and a whole lot of wrapper classes do everything that a database would do (such as enforce foreign key constraints) - to the other extreme where virtually the entire application is developed in the database. As with everything in software architecture, you need to weigh the pros and cons that are specific to your application. So some pointers:
This question has been around for a long time and will there will never be an answer that applies across the board. Like everything in systems architecture, you have to look at the specifics of your project to come up with the best approach.
Simon Munro
Remember Me
Powered by: newtelligence dasBlog 1.8.5223.2
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2010, Simon Munro
E-mail