Business logic

Business logic

Business logic, or domain logic, is a non-technical term generally used to describe the functional algorithms that handle information exchange between a database and a user interface.


Scope of business logic

Business logic:

  • models real life business objects (such as accounts, loan, itineraries, and inventories)
  • prescribes how business objects interact with one another
  • enforces the routes and the methods by which business objects are accessed and updated

Business logic comprises:[1]

  • business rules that express business policy (such as channels, location, logistics, prices, and products); and
  • workflows that are the ordered tasks of passing documents or data from one participant (a person or a software system) to another.

Business logic

Business logic in theory occupies the middle tier of a 3-tier architecture.

In single-tier applications, business logic, presentation logic, and CRUD are often used, with each having intimate knowledge of, or being strongly coupled to, the others. This is seen as problematic, since changes to one result in changes to both of the others, requiring retesting and revalidation of the entire system for a single change. The interweaving also limits the extent to which the CRUD and the business logic can be reused.[2]

In a multilayered architecture (compared to multitier architecture) business logic is a separate module. In the common 3-tier architecture, the business logic in theory occupies the middle tier, the business-services tier or business layer. In practice, the business logic is often interwoven in the other two tiers (the user services tier and the database services tier), such as by encoding business logic in stored procedures and in decisions about input validation and display formatting. However there is not a well-defined rule: [3] Chad Hower and others advocate storing all business logic in a business layer, and not encoding any business logic in the application's user services or database services tiers, while [4] T. Koppelaars and others are for placing the business logic layer in the database using stored procedures.

Tools for handling business logic

Business logic can be extracted from procedural code using a business rule management system.[5]


Further reading

See also

Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Business Logic — Custom rules or algorithms that handle the exchange of information between a database and user interface. Business logic essentially consists of business rules, which are policies that govern various aspects of a business, and workflows, which… …   Investment dictionary

  • Business Logic — Geschäftslogik (engl. Business Logic, auch Anwendungslogik) ist ein abstrakter Begriff in der Softwaretechnik, der eine Abgrenzung der durch die Aufgabenstellung selbst motivierten Logik eines Softwaresystems von der technischen Implementierung… …   Deutsch Wikipedia

  • Business logic — Règles métier En management et en informatique, les règles métier (ou règles de gestion, ou « business rules » en anglais) sont des déclarations de haut niveau structurées, qui permettent de contraindre, contrôler et influencer un… …   Wikipédia en Français

  • business logic — noun Algorithms in a software system that models real life business objects and their interactions …   Wiktionary

  • Business logic layer — A business logic layer (BLL), also known as the domain layer, is a software engineering practice of compartmentalizing. The business logic layer is usually one of the tiers in a multitier architecture. It separates the business logic from other… …   Wikipedia

  • Functional logic (business logic) abstraction — Functional Abstraction (or Business Logic Abstraction) is the ability to separate business logic implementation code from the service protocol implementation which is calling it. This architectural abstraction allows the user to implement the… …   Wikipedia

  • Business rules approach — Business rules are abstractions of the policies and practices of a business organization. The Business Rules Approach is a development methodology where rules are in a form that is used by, but does not have to be embedded in business process… …   Wikipedia

  • Business rule — Business rules or business rulesets describe the operations, definitions and constraints that apply to an organization in achieving its goals. For example a business rule might state that no credit check is to be performed on return customers .… …   Wikipedia

  • Business object (computer science) — Business objects are objects in an object oriented computer program that represent the entities in the business domain that the program is designed to support. For example, an order entry program might have business objects to represent each… …   Wikipedia

  • Business model design — refers to the activity of designing a company s business model. It is part of the business development and business strategy process and involves design methods. Business model design includes the modeling and description of a company s: * value… …   Wikipedia