Creating and configuring component-based applications using a text-based descriptive attribute grammar
AssigneeCorel Corporation
InventorsHarold R. Davidson, Derek Penn
Life of this patent
Estimating the term…
Abstract
A method for creating and configuring a component-based application through text-based descriptive attribute grammar includes creating a parse tree from an application description file, transforming the parse tree into a plurality of components corresponding to instances of classes in an application framework, and initializing and further processing the components to launch the component-based application. Additionally, a system for creating and configuring a component-based application includes a parser, a plurality of element processors, an element mapper, an attribute mapper, and a parameter converter.
Claims24
A computer-implemented method for creating and configuring a component-based application, the method comprising the steps of:
- receiving an application description file containing a definition of a component-based application;
- generating, in a memory, a representation of a parse tree based on the application description file, the parse tree comprising at least one leaf;
- for each of a first subset of the leaves,
- mapping the leaf to a target class;
- and
- instantiating a component associated with the target class;
- and
- for at least a subset of the instantiated components, invoking at least one method of the component to launch the application.
A system for creating and configuring a component-based application, the system comprising:
- at least one element processor for reading a parse tree comprising at least one element, and for at least a subset of the elements of the parse tree, transforming the element into a component in an application framework, and for transforming the component into a running application;
- an element mapper, coupled to the at least one element processor, for mapping the element to a target class;
- and
- an attribute mapper, coupled to the at least one element processor, for mapping an attribute of the element to a property of the component;
- wherein the element processor transforms the element into the component by calling the element mapper to map the element, and instantiating the component.
A computer-readable medium having computer-readable program code devices embodied therein for creating and configuring a component-based application, the computer-readable medium comprising:
- computer-readable program code devices configured to receive an application description file containing a definition of a component-based application;
- computer-readable program code devices configured to generate, in a memory, a representation of a parse tree based on the application description file, the parse tree comprising at least one leaf;
- computer-readable program code devices configured to, for each of a first subset of the leaves, map the leaf to a target class;
- and instantiate a component associated with the target class;
- and
- computer-readable program code devices configured to, for at least a subset of the instantiated components, invoke at least one method of the component to launch the application.
Dependencies are inferred from the claim text.