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 set of articles but unfortunately there is a contradiction between them.
Here they say that they are the same but the answer here is totally different.
For me I understand it in the following way:
If we look up for the definition of the Logic
word in Google we will get
system or set of principles underlying the arrangements of elements in a computer or electronic device so as to perform a specified task.
So, if the logic is set of principles underlying the arrangements of elements
then the business logic should be set of principles underlying the arrangements of the business rules
, in other words it means the rules that should be followed to get a system reflects your business needs.
And for me the application logic is the principles that the application based on
, in other words, how to apply these rules to get a system reflects your business needs, for example should I use MVC or should not I use? should I use SQL or MSSQl?.
So please could anybody help me to get rid of confusion about the difference between the application and the business logic.