Browse Prior Art Database

ASSIGNING MEANINGFUL NAMES TO DATA STRUCTURES IN AUTOMATICALLY GENERATED CODE

IP.com Disclosure Number: IPCOM000132183D
Original Publication Date: 2005-Dec-05
Included in the Prior Art Database: 2005-Dec-05
Document File: 4 page(s) / 175K

Publishing Venue

IBM

Abstract

A method for naming a data structure, including determining automatically, under control of operating instructions of a computer, a type to which the data structure belongs and determining a functional property of the data structure in addition to its type. The method further includes assigning a code name to the data structure automatically, under control of the operating instructions, responsive to the type and the functional property.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 39% of the total text.

Page 1 of 4

ASSIGNING MEANINGFUL NAMES TO DATA STRUCTURES IN AUTOMATICALLY GENERATED CODE

    Reference is made to Figs. 2 and 3, which schematically illustrate a process 10 and apparatus 30 for automatically generating a code name of a data structure, according to a preferred embodiment of the present invention. Process 10 is implemented in an application builder which is utilized by a user of a computer processor 32 to generate an application. Processor 32 preferably comprises a general-purpose computer processor, controlled by application builder software 34 designed to carry out process 10. The software may be downloaded to processor 32 in electronic form, or it may be furnished on tangible media, such as CD-ROM. Processor 32 automatically generates code 36 corresponding to the application built by the user.

    Process 10 comprises a construction section 12 and a code generation section 14. In an initial step 16 of construction section 12, the user generates an element to be used in an application, and the application builder generates a corresponding data structure. The data structure generated may be any object or variable that is intended to be utilized in the application, and which is generated without being given a code name by the user. Typically, although not necessarily, the data structure is associated with a graphic element which is displayed on a computer monitor. Examples of graphic elements are dialog boxes, buttons, and fields wherein data is to be entered. Examples of non-graphic elements are variables defining a time an application is opened or saved.

    The generated data structure has a type associated with the structure, describing the element corresponding to the structure. Examples of types are "dialog", "button", "record" and "variable". Types of data structures are most preferably incorporated into the application builder when the builder is constructed.

    In an association step 18, one or more functional properties are associated with the data structure. In the context of the present patent application and in the claims, functional properties associated with the data structure refer to properties of the corresponding application element that convey meaningful information to a user regarding the application element. The properties are typically textual properties, although they may alternatively be non-textual. At least some of the properties for the data structure may be associated explicitly, for example by the user assigning a title to a dialog box, or by the user placing a caption on a button. Alternatively or additionally, at least some of the functional properties are associated implicitly by the builder. Examples of non-textual properties include the color, size, shape, style, or position, of the element. conveys meaningful information to a user regarding the application element. The one or more properties may comprise, or may be represented by the builder as, substantially any ASCII character or string that associates t...