System and method for creating reusable components in an object-oriented programming environment
First Claim
1. In an object-oriented programming environment on a computer system comprising a processing unit, a memory unit, an I/O (input/output) unit and an operating system, a method for reducing the coupling between objects in the object-oriented programming environment comprising the steps of:
- creating a plurality of objects, each of said objects capable of communicating with a Data Object;
selectively combining two or more of said plurality of objects to create one or more software program modules;
linking said one or more software modules with each other and with the operating system of said computer to create an executable software application program; and
executing said software application program on said computer system, said step of executing said software application program further comprising the steps of;
processing each invocation of each of said objects in said software application program through said Data Object; and
processing each interaction of each of said objects in said software application program with other objects in said software application program, with other software application programs or with the operating system of said computer through said Data Object.
0 Assignments
0 Petitions
Accused Products
Abstract
A novel object called the Data Object is used to represent different information types in a system in a singular way in an object-oriented programming environment. The Data Object stores the value of the information and a reference to an object that handles that specific type of information. All requests on the Data Object are forwarded to this handler. The interface allows programmers to query the structure of the information, place constraints on values and names of the parts. This makes it possible to write code that performs a service that adapts itself to whatever Data Object it gets. The use of a Data Object significantly minimizes the coupling between modules and make reusable code easier to develop because each object class in the object-oriented software system is now coupled only to the Data Object class.
302 Citations
18 Claims
-
1. In an object-oriented programming environment on a computer system comprising a processing unit, a memory unit, an I/O (input/output) unit and an operating system, a method for reducing the coupling between objects in the object-oriented programming environment comprising the steps of:
-
creating a plurality of objects, each of said objects capable of communicating with a Data Object; selectively combining two or more of said plurality of objects to create one or more software program modules; linking said one or more software modules with each other and with the operating system of said computer to create an executable software application program; and executing said software application program on said computer system, said step of executing said software application program further comprising the steps of; processing each invocation of each of said objects in said software application program through said Data Object; and processing each interaction of each of said objects in said software application program with other objects in said software application program, with other software application programs or with the operating system of said computer through said Data Object.
-
-
2. In an object-oriented programming environment on a computer system comprising a processing unit, a memory unit, an I/O (input/output) unit and an operating system, a method for reducing the coupling between objects in the object-oriented programming environment comprising the steps of:
-
creating a plurality of objects, at least one of which is a Data Object; selectively combining two or more of said plurality of objects to create one or more software program modules; linking said one or more software modules with each other and with the operating system of said computer to create an executable software application program; and executing said software application program on said computer system by processing communications between said plurality of objects through said Data Object.
-
-
3. In an object-oriented software system, a method for reducing the coupling between components using a Data Object as a container for passing information between said components, said Data Object being of a single object type, and having the following additional characteristics:
-
said Data Object being capable of holding values that are a recursive composition of a defined and small set of fundamental types; said Data Object being amenable to efficient access and retrieval when the composition of an actual value contained in said Data Object is known; the composition of said Data Object being capable of being queried during the execution of a software program without requiring prior knowledge of said actual value contained in said Data Object; accesses to said actual value being delegated to an object that maintains descriptive information about the actual type and which is an instance of a meta-type class, and each fundamental type being correlated to a different class that defines the behavior of the fundamental type by implementing the applicable polymorphistic messages for that fundamental type; and the information about the composition further containing information for using said actual value in different contexts, such information encompassing, but not being limited to, user-defined type names, constraints on said actual values and named information for accessing the descendant values that a value is composed of. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification