Data Processing Logic

This chapter defines Data Processing Logic and how it relates to Business Logic.

Data Processing Logic

From the previous chapter, we learned that Business Logic is the process of selecting the target state of a business process according to business rules, performed after completing the analysis of the data collected in the current state of the business process.

This process cannot be started without the core component of the process - the collected data. If there is no data, then there is nothing to analyze. If there is nothing to analyze, then without analysis it is impossible to make the right decision. Someone or something needs to prepare the right data to make the right decision.

In most cases, data preparation is a complex process governed by rules. For example, if data needs to be collected from different sources, then there must be rules governing the sequence of queries to different data sources and what to do if some sources are unavailable or cannot provide the requested data for some reason.

In most cases, the collected data cannot be a source for making an effective decision. Raw data must be pre-processed so that it can be most efficiently presented to the requesting party, i.e. the Business Logic. That is, someone or something needs to process data according to established rules that determine the process of merging data from different sources, their aggregation and transformation.

This someone or something should be like the conductor of a symphony orchestra, each part of which plays a role in creating a harmonious sound. Either this someone or something must play the role of manager of a team, each member of which plays a role in creating the expected result.

This someone or something must own the data processing rules and perform data processing in accordance with those rules. This someone or something is the Data Processing Logic.

Data Processing Logic is the process of managing overall data processing according to business rules as a business process transitions from state to state.

Table of Content Introduction into Business Process Previous: Business Logic Next: Data Access Logic