INSIDE OLE 2 (Chapter 1)

zhaozj2021-02-16  57

Explanation: University English, later doing software. Just a year, translation is a bit bad.

Chapter 1 An Overview of Ole All Thoughts and Behavior Evolutions Always look to the public's views, are not accepted by the public.-George Bernard Shaw (1856-1950)

After several years, there may be a computer evolution of Darwin's computer evolution will be interested in the API (Application Programming Interface) to evolve into an object-oriented operating system that provides most of the API through an object. And OLE technology is This transformation product. It will change Windows-based development methods and eventually change people's way to use the Windows system. Initially, no matter what kind of development background you have, you will feel that ole is very strange and difficult to use. But Don't feel fear .ole doesn't require you to lose the knowledge you have mastered. Instead, OLE technology is based on your original knowledge or even code, and expands them, making your development to a new height. .Ole's presence makes it easy to integrate between components - whether the components inside the application system still refers to simple independent elements. It is such an integration ability to lead to change.

Most computer industry insiders recognize the value of objects and object-oriented technology. These features provide a range of features that describe its function and the information it managed. The object technology is powerful because only one pointing object pointer or The reference can provide access to this object function and content. Leaving this technology, programming usually has to maintain multiple variables and pass them to each isolated function. Although this can also get the same result, but It has greatly added complexity. By packet these variables and functions into a single unit (which is object), you are equal to creating an abstraction layer. This simplifies many programming tasks and provides you with other capabilities. This abstraction is the key to scalability.

OLE's contribution to the object is three aspects: First, OLE brings the integrated integration of components (one or more objects), this ability is not in object-oriented language, such as C . OLE has strong complement These languages; Second, OLE is independent of the programming language, run through binary standards. It allows the old accumulated code to integrate the same components like object-oriented technology. In addition, the objects in the OLE have the same objects. Features: package, polymorphism and reuse. However, because some minor differences, OLE is often accused of heterogeneous. Most differences are caused by the language of OLE. Obviously similar accusations did not see OLE The third huge innovation - the concept of the object interface and an object have a number of interfaces. This way, the abstraction of the interface has simplified programming tasks, and some tasks are still impossible before OLE.

The object is powerful because they break down functionality and information into tangible units. OLE further, breaking these functionality and information into associated groups, providing to objects of the object or user, Let them ask for the features supported by the object. Such processing makes independent development and deployment possible: No need to recompile the system at the time of deployment; do not need to restart the system; do not need to solve the compatible problem .Ole.

The core part of the OLE is a component service (Component Services) access to an interface exposed through an object. You can use your own object to customize some of the component services mentioned above with your own object. If OLE does not provide you If you want the service, you can use the same mechanism to create your own service. In this sense, OLE is an extensible service architecture, under this architecture, a custom or scalable service can become the emperor One member of the core service, and immediately is used by other parts of the system.

OLE is built on the foundation of the component object model (Component Object Model) .com has language independent and position independence. Language irrelevant means you can use any language to implement the component, as long as the programming tool supports OLE interface ideas. Use OLE, you can package the existing code into objects without need to rewrite these code. The location is independent means that these components and objects can be an independent dynamic link library located in the same machine or across the machine and the Dynamic Link Library. Executable file implementation and sharing 1.

Note:

1. It is still impossible when writing the machine's ole, although the OLE architecture has this ability.

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

New Post(0)