What is OO?

zhaozj2021-02-08  350

Oo is Tinkler (this article reprinted from the software engineering expert network www.21cmm.com, does not mean Gigix point) 5-5-5 rules to the product according to the concept to the prototype, and object-oriented technology is now mature It is time to consider what is after Oo. In this period of this new technical standard, everyone has power to think, the following is my thinking after OO. What is OO? I think it is fo - function oriented. The function here is different from our function function used in the current programming. The function here refers to the function module. The so-called functional module refers to the independently completed a specific task, and the task that is unfinished can find other functions that complete the task function, and the establishment of the function of the work is completed. Before explaining my reason, let's take a look at what we have experienced. We first experienced the PO --oriented process, then OO - object-oriented. Why is this a process? Because it is a process that is getting more and more abstracts by specific. In order to solve the problem easier, it always wants to describe the problem as much as possible, solve the problem, sometimes sometimes feel painful. In the process, our method is "what to do, what to do, what is the most," this is like an adult to do things, he knows what to do every step, it will do it according to that step. In object-oriented, our method is "how it is realized, we just need to know what it can do, how to let it do", this is like a child's doing method, he doesn't know how it comes. He only knows what you can use and use it to do what he wants to do. What is the bench doing? It can take it! What is the smaller child do? They don't even know that the bench can take it. Very simple, "Mommy, I want ..." What did his mother do or ask who can do? Anyway, my mother will do everything, my mother is universal. Let's take a look at our industrial production. At the beginning, it was a workshop, and a person did his end from the beginning, step by step, as if OP. Then the machine is large, each machine has different parts, and then assembles them into a piece; if the parts are only known for a separate role, but don't know if it is used to use bicycles or aircraft; If you are assembled, you don't have to know that the part is from å, who is doing; this is like oo. What is the current mode? The company receives business, then delegates the business to others; need legal counsel, to the lawyer, ask lawyers; find public relations companies; need to advertise, find advertising companies; production to find special manufacturers; It is to pick up your business, do your company can do it, you can't do it to your dedicated company. The function module is "mother", is now the company. It does do task you can do; for you can't do it, it knows that you can find modules that can do this task and work together with it. Customers hand over the problem to software personnel, software personnel complete the program containing functional module A and submit it to customers. The customer uses the program to solve the problem, the module A completes the part that it can complete, the part that cannot be completed is automatically looking for B, C, D, B, C, D can be used to find E, F, G , H ... again level 1 feedback back to A, submitted to the customer by the assembly result.

The above is to launch OO through other fields to be fo, then what is the idea in our computer field? Everyone knows that there have been three formulas on the computer in the computer: 1. Program = data structure algorithm 2, program = logic control 3, program = {object 1, object 2, ..., object n} object = data structure The first formula of method is proposed by the FO era, and the third formula is proposed in the OO era. It can be seen that the similarity of the definition of the object and the definition of the program in the first formula can be seen in the third formula. In fact, objects and previous procedures are indeed very similar, it is the lack of the program's control structure, so whether the framework programming or control programming is required, the programmer is required to complete the control structure. Now we can imagine that the data structure and method will generate an object, what is the next step? Of course, the control is combined. This is our functional module, combined with controlled, automatic, intelligent modules. Everyone knows that Microsoft has announced its ".NET" program not long ago. Its later products will implement basic functions on the local machine, while the higher-end features will be requested by the program to Microsoft's server and is done by the server. This is a request to the fixed address from the client software, which is not completed by the module itself and lacks intelligence, but we can still see it as a very original prototype of fo. What does it need to achieve FO? High-speed smart networks, intelligent interfaces, distributed technology, parallel technology, the most important thing is to need an international manager. Why do you need this? Obviously, facilities are global based on global Internet, which is inevitably distributed. Everyone knows that the biggest problem with distributed technology is to transmit a lot of information on the network, which requires a high-speed Internet. Information consumes time on the network, with parallel technology, it can make up for time to change time. Function module requires yourself to find other modules that can help them complete the task, the current network does not do this, this requires a smart network. When module A requires the cooperation with other modules, it is necessary to propose and send a message to a module search on the network. The module searcher will find a module that has the required function, and the module A is to find the most in line with yourself. Module B, and press B to request the information required to send B; at the same time, b is able to describe its own function, very exactly, and extract themselves from the message sent from A. Information required, this requires the smart module to have a smart interface. The standard definition of the smart module, the registration of a large number of modules, organization of module information, coordination of module use, etc. need an international organization to manage. What do we have now to support these? When it comes to distributed calculations, it will of course think of CORBA. In fact, Corba and our functional modules are very similar. Use the function module to help other modules through the network when the module does not work. The CORBA application also uses the SMART Agent to find the corresponding CORBA object through the Smart Agent to complete the work. However, the interface of the CORBA object is so confirmed, and a large number of control work is still completed by the programmer. The interface of the function module is blurred, intelligent, all controls are done by the module themselves. The search module must pass the high speed smart network. Expressing is now getting more and less problematic. Intelligent, DEN-based smart network solutions proposed by Cisco let people see the dawn of the problem. The most troublesome is the intelligent interface, which requires extremely advanced artificial intelligence technology. Artificial neurons network may be a way to solve the problem, but everything is too far away from the thorough problem. When everything is solved, the app on our desktop will become so simple, so similar.

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

New Post(0)