Creating and configuring component-based applications using a text-based descriptive attribute grammar

a component-based application and descriptive attribute technology, applied in the field of object-oriented programming, can solve the problems of complex time-consuming process, no text-based descriptive grammar for creating and configuring component-based applications, and the promise of object-oriented frameworks that are not easy to realize in practi

Inactive Publication Date: 2000-07-04
COREL CORP +1
View PDF5 Cites 593 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The promised benefits of object-oriented frameworks, however, have not always been easy to realize in practice.
Creating and configuring component-based applications is often a complex, time-consuming process.
However, none of those frameworks are based on the standardized, text-based descriptive grammar described above, nor realize the advantages resulting therefrom.
Although the above systems offer solutions to a variety of development problems, none, however, allow applications to be effectively created and configured using a text-based application description language based on an SGML-compliant syntax.
Such binary code files are not text-based and thus are neither editable nor accessible to text-oriented tools.
As a result, the semantic content of these script files can only be productively inspected and analyzed by the specific tools and editors dedicated to that particular language.
In short, while there are a wealth of powerful component-oriented application frameworks and authoring tools, none of them are based on a standardized, text-based descriptive grammar or realize the advantages which accompany being based on such a grammar.
However, the hybrid-HTML format has a number of limitations and disadvantages.
These procedural "scripts" cannot be inspected or parsed by generic, SGML tools and often contain instructions proprietary to a particular browser vendor.
Another disadvantage is that, in the hybrid-HTML format, each component "plug-in" is a separate and independent "black box" with its own, idiosyncratic interface to the browser's scripting language.
Thus, it is difficult, particularly for non-programmers, to integrate a variety of components into a single component-based application.
Yet another problem is that, although HTML tags can be used to declare attributes associated with standard browser components and user-interface controls, there is little or no coordination between the structure of the markup tags and the underlying data structures employed by the browser application itself.
Thus, hybrid-HTML does not provide a sufficiently sophisticated architecture to integrate large-scale component-based applications.
Finally, hybrid-HTML is limited by the rigidity of HTML itself.
Nor is there any ability to map new element tags to new components or to extend the functionality of the browser application through code-based subclassing.
Consequently, HTML-based browsers were not designed to actually create and configure a component-based application through descriptive tags alone.
No existing method or system, however, has effectively tapped XML's potential.
Unlike typical XML or SGML files, a BML file cannot be validated by reference to a pre-existing DTD.
Appropriate error messages are generated when a ADML fails to conform to the DTD's rules.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Creating and configuring component-based applications using a text-based descriptive attribute grammar
  • Creating and configuring component-based applications using a text-based descriptive attribute grammar
  • Creating and configuring component-based applications using a text-based descriptive attribute grammar

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

, and STYLE.

The TEXT tag is a tag 314 from the , family of components 212. It resembles them in most respects in that it can generate events, be laid out within its parent with POSITION constraints, etc. The ADML event types available for the TEXT component 212 are the names of all the methods of all the listeners capable of being registered with a JTextComponent. A TEXT tag should not be empty because it contains at least one paragraph.

A Paragraph is defined by the P tag 314. The paragraph can contain text, beans 212, and STYLE tags 314 that in turn contain more text and beans 212. It has certain bean 212 properties that correspond to paragraph attributes. In one embodiment, paragraphs do not have an INIT section, so these properties 320 should be set inside of the INIT section for the paragraph's type. Examples of text properties 320 are shown below in Table 2.

Additionally, any properties from STYLE are available to paragraphs. For example, to make a paragraph that contains red,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

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.

Description

1. Field of the InventionThe present invention relates generally to object-oriented programming, and more particularly, to a method and system for creating and configuring a component-based, object-oriented program using a text-based descriptive attribute grammar.2. Identification of CopyrightA portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.3. Description of the Background ArtOver the last two decades, object-oriented frameworks have become increasingly important in the design and development of software applications. Designing an application with a framework of objects, or "components," promises numerous benefits, including the ability to reuse those components in a vari...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(United States)
IPC IPC(8): G06F9/44
CPCG06F8/30G06F8/427G06F8/71
Inventor DAVIDSON, HAROLD R.PENN, DEREK
Owner COREL CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products