The best object-oriented system is a system with only one object ---- warehouse/workshop model, It's equivalent to treating the whole system as an object, and is the only object of the system.- Warehouse: Object state- Workshop: Object methodThis is fully consistent with the following quote:    It’s better to have 100 functions operate on one data structure than 10 functions on 10 data structures.        
          ---- Alan Perlis, Turing Award (1966)
           
We can split a large system and evolve it into a microservice system.- Warehouse: Object state, dataservice, data management- Workshop: Object method, Microservice, Various independent systems.Many large enterprises have independent information systems produced by different manufacturers and need to integrate. We can integrate many independent systems and evolve it into an integrated system.:- Workshop: Object method, individual subsystems- Warehouse: Object state1. The information system integration layer acts as a individual system2. A unified abstraction layer (virtual database, virtual data warehouse) of enterprise global data, external data requests for any subsystem are requested from warehouse(virtual unified db) without knowing which other subsystem to obtain them from. Achieve the unity of the global system.3. The middle layer and data routing of system interconnection.so, Workshops (object method, microservices, independent systems) are decentralized and independent, but The workshop is connected with data services (object status, warehouse) to form a system (large object).Traditional OO architecture VS. Warehouse/Workshop Model1. Traditional OO architectureThere is no definite, operational theoretical basis for design and evaluation, the design is very random, and there are not many good OO architectures.In the same case, the OO architectures designed by different people are very different, and it is difficult to evaluate the pros and cons. For this situation, it is generally called lack of scientificity.2. Warehouse/Workshop Model- Based on mathematical models, operations research, management science- With 10 principles, 5 aesthetics, and 5 basic components
The architecture can be visualized with a simple star chart and Gantt chart- In the same case, the architecture designed by different people will be consistent and clear. The pros and cons of different people's design schemes can be accurately judged by mathematical models and operations research. For this situation, it is generally called science.ReferenceThe Math-based Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with Principle-based Warehouse/Workshop Model