Vote Up 0 Vote Down

business logic in programming

what is business logic in programming ?


Vote Up 0 Vote Down
Business logic is the piece of your code, the set of classes and methods, that are responsible to solve your business problems. For example if you have an online webshop your business logic will be all the stuff related to manipulate the products (receive, sell, get payed, pay your providers, keep track of products and so on). If you have an accounting application your business logic fill implement the accounting rules and laws of your country together with mechanisms to solve your in-company accounting problems. If you are building an auto pilot for an airplane your business logic will be the algorithm dictating the actions the auto-pilot has to take to keep the plane flying or land it safely.

All these are business logics. All applications however usually have some common concepts and secondary concerns that are not part of your business. Such things are user interfaces, delivery mechanisms, persistence solutions and so on.
flag | link |

Your Answer

Login before answering

Login with facebook