Thoughts from the network architecture

xiaoxiao2021-03-06  36

Because the online class should examine, the book is recently watching the online class. The architecture that cannot be said to be network is a great way. I think the hierarchical model in the network architecture is the most critical, and this hierarchical architecture provides high reliability and development convenience. Only the functions provided below each level, each layer has a certain function on the lower layer and on the basis, and provides the upper layer call, and the internal implementation of the next layer is transparent to the upper layer Unauthorized, it is a black box that is just the call interface provided by the lower layer. The implementation of each layer is only coupling in its lower layer, so that both reuse and ensures certain independence and encapsulation. This level of system is extremely conducive to development and maintenance, which also provides a solid foundation for the security and stability of the network.

This architecture can also be used and have been used in software development, which is a quite good way. I appreciate this approach, the only shortcoming is that due to the reduction in the overall system efficiency, the cost of decline in efficiency is worthy of high reliability and development convenience. Programming I think the most important thing is not to encode, but in the design of the architecture, the architecture is related to the reliability of the entire system, and the convenience of using development, special for larger systems, starting at the architecture design It is especially important. The coding is a matter of water to the stream in architecture.

Another is worthy of being an object-oriented development and design method. I have repeatedly thought that object-oriented is a design idea, not what language is used. Because my favorite is C, it is often despised by some people who use Java or the like. When I am writing a C's underlying function library, it is laughing as the language and method of using backwardly-oriented process. . However, object-oriented is an idea, not what is the specific implementation form, language is just a form, and the C language can also use object-oriented programming and design methods, and write bad Java. Although the program has an object-oriented form, there is no object-oriented structure. Language provides us only a form. Of course, the specific language is provided to our implementation "object-oriented" method, so achieving "object-oriented" is also different, such as Java, it is easy to implement "object-oriented" And the C language is much more difficult, not to say C, but it is going to trouble.

Also, don't blindly worship "object-oriented". Since the birth of "object-oriented", people have immersed in the "object-oriented" worship, as if a program is "object-oriented" to think. Going to the most fundamental starting point, "seeking truth from facts, everything from actual start", for specific problems, of course, it is necessary to analyze, some problems have been "process" is very strong, why do you want to use "object-oriented" How about solving? Remember one sentence: "Good-oriented object-oriented object-oriented".

In fact, from the whole, the current computer technology is still a hierarchical development model, not an object-oriented development model. Hardware developers working at hardware levels, software development is based on hardware level. Among them, further segmentation can be further divided. Software development has underlying, systematic, application development, development of each layer is built on the next layer has established a good platform. Programming with VC, Java, but the most work is on the application development layer, and the next layer is the compiler, as well as some of the function libraries or class libraries. The more difficult it is, but it is said that it should be developed with VC. It is not what computer master, just learn the fur of the computer. It should be said that the development method of this level is the biggest hero that computer technology has developed to the present.

Object-oriented in every level that gradually penetrates into computer, but the current situation seems to be used up to the application. Object-oriented is not universal, it also has its own shortcomings, in some occasions, orientation is difficult to apply. However, people now seem to have entered an object-oriented misunderstanding, blind worship, object-oriented, and use the problem to think with object-oriented methods. Self-thought that it has become very advanced due to the use of object-oriented thinking. It is actually a closed thinking method, which is closed in the object-oriented circle, but it is sad. According to the basic view of Marxist philosophy, all practice activities must seek truth from facts. Everything is starting from actual, and the specific analysis is correct. There is no universal method, and the object-oriented method is not universal.

Author: Chen Kai RockCarry studio: http: //rockcarry.126.com 2005.1.7 All Rights Reserved

转载请注明原文地址:https://www.9cbs.com/read-59019.html

New Post(0)