Business model abstraction and business process abstraction

1. What is a business model? For
example
, nouns such as orders, inventory, and commodities can all be called models.

Example: Orders may be divided into physical orders, service orders, etc., so here is a challenge how to abstract. A good business model abstraction can make your business model reusable.

Example: goods can have spu, skusuch as different concepts, but also for multiple packaged goods sales, or divided into different categories, with different specifications. Or different merchants have different prices, etc., or the price of goods will continue to change over time. Then a good abstraction can avoid adapting to these diverse needs.
2. What is a business process? For
example
, verbs such as placing an order, leaving a warehouse, and warehousing can be called a process.

Example: The order placement process involves payment, gifts, discounts, inventory, etc. An order process may involve one or more of the above processes, and they exist at the same time, so how to abstract the business process and make the process reusable is particularly important.

Example: The payment process may involve the use of different channels such as Alipay, WeChat, QuickPass, Baitiao, etc. Then, at this time, you may need different payment channels for different businesses. Then a good process abstraction can make your process model configurable. Instead of changing your business code.

So a good system must be abstracted from these two aspects, and make them high cohesion and low coupling.

Guess you like

Origin blog.csdn.net/a807719447/article/details/112361909
Recommended