While I am trying to discerned 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 the 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?, should I handle errors using exception handling or if statment?.
So please could anybody help me to get rid of confusion.