A platform is a widely used word in software architecture. The operating system is a platform, and Java and. net virtual machines are a platform. These platforms are closely integrated with the computer itself. When we do a specific project, the business part is a large part of the effort, and the construction of the business platform can greatly improve the development efficiency, and can effectively improve the software quality. Here we will talk about the position of the business platform in the system.
I. Most difficult to do at the Domain Layer
In the layer-3 structure, the domain layer is the most troublesome part. First, the domain layer must be able to meet requirements correctly, and then quickly respond to changes. The user belongs to Yang, the data belongs to Yin, and the domain layer is harmonious between yin and yang. After coding, the number of defects in the system, whether in demand, design, or coding, is mostly concentrated at the domain layer. Because it is difficult to do, we need to find a solution for the business.
2. and 3 talent and 2
The world is divided into days, places, people, days belong to Yang, land belongs to Yin, man and. Solitary Yin is not born, solitary Yang is not long, each of the three talents has Yin and Yang points, "and three talents and two", 3*2 = 6, eventually forming the six trees in the Book of Changes.
The domain layer is a human. Looking for Yin and Yang at the domain layer can tell the concept today-business platform.
Iii. Yin and Yang in the Domain Layer
Business platforms are represented in a variety of forms. platforms of different companies, industries, and different application scopes are different. So today, we will not talk about the specific platform, but about its nature. After the essence is clarified, we understand the core idea of the platform. It is beneficial to learn a platform or to develop a platform on our own in the future.
3.1 The platform is overcast
The business platform is part of the domain layer. The platform is in the bottom of the Architecture diagram and needs to be very stable, because it needs to support the entire system framework. During the project, the biggest headache is the constant changes in demand, coupled with the vast land and resources in China, which leads to a large number of regional features. These are the unstable factors in the analysis and design.
There is an old saying in China: "Keep changing ". It can be said that we are the people who know the most about change, and the core of the change is "unchanged ".
There are three kinds of people in the world. The first is "Cursing changes". Once there is a change, you can swear and feel that you have not done anything wrong, but the environment is wrong. The second is "embracing changes ", no matter what changes come, I accept them and use an optimistic and positive attitude to face them. The third is "guiding changes", which can always be at the forefront of changes, I will not change to deal with your token.
The software industry is so bitter about changes that few people just step into the threshold of professional programmers will not scold for changes in demand. Of course, this is indeed a bit of a failure. It was originally planned to be well done, and the tasks of the project were full. There was no problem with everything. Who knows that such a thing happened midway through. No way, the software cannot avoid changes.
The advanced approach is to embrace change. What should I do if I find that programmers are swearing and don't work? Managers, or senior programmers, stood up and said, "mentality determines everything. We need to embrace changes to reflect that our design model is not white-learning, and our capabilities are strong ." This method is much better than the first one, but it is not the best.
How to embrace change is also behind the change, but there is a little tight or lost difference, it cannot be considered superior. If we can move ahead of the changes, we can cope with the changes at the lowest cost. This is the idea of the platform.
The platform is overcast, the main site is quiet, and the place is down. Stability is very important for the platform.
3.2 application is Yang
As mentioned above, the platform is only part of the domain layer, and no software can directly treat the Platform as a domain layer and direct it to users. The platform is overcast and quiet, but the actual business is changing. Therefore, we need to build our specific business on the platform, either through the configuration file or through the script language.
Applications built on the platform mainly bring the functions of the platform into play, so that the originally static platform can bring all kinds of functions into play.
The application is Yang, active, and local. How to make better changes is a problem that needs to be solved at the application layer. Such as dynamic language or plug-in technology is a good solution.
3.3 others
The platform has many advantages, but why is there so few platforms? It is rare for Chinese software companies to own their own business platforms. The main reason is that the cost of the development platform is high and the technology is difficult. If it is a business platform, you need to have a profound understanding of the business.
Software is a positive industry on the surface, because it requires fast, dynamic, and positive features. However, after so many years of development, we discovered the products of the platform. "Yin and yang. It is difficult and incomprehensible to constantly extract negative things in a positive industry. However, after understanding the principle of Yijing, this is a natural thing.
Of course, not all companies, and all projects are suitable for using platform technologies. For companies with little technical accumulation, it is not necessary to distinguish between Yin and Yang in the field layer after the three-tier architecture is split. The same can be done without a platform.
4. Static braking, take the following
When talking about China's "Tao", many people may think that it is all self-contradictory. For example, "use static braking, take down below ". It seems that there is no reason. According to common sense, it is obviously "dynamic, smooth, and down". How can such a lie be circulated for thousands of years.
It is quite clear to understand it with the business platform introduced here.
The most effective way to cope with changes is to remain unchanged. The platform is overcast and static, but it can help us cope with various dynamic business changes. This is just a "static brake ". At the same time, the platform in the lower position can affect all the above applications-the following is taken.
In this case, the truth is that everything is connected anywhere.