XML-based graphical user interface application development toolkit
First Claim
1. A computer-implemented system for generating a graphical user interface for an application, comprising:
- a computing device that includes a display screen for use in displaying a graphical user interface for an application;
an application source code file, that specifies an application logic that is executed by the application;
an application interface file that specifies a plurality of graphical elements within an interface library to be displayed for the application graphical user interface;
an interface grammar file that specifies rules to be used in parsing the application interface file;
the interface library that comprises a plurality of graphical elements that are selectively retrieved in accordance with the specifications of the application interface file and the interface grammar file; and
a parser that parses the application source code file, application interface file, and interface grammar file, wherein the parserdetermines within the application source code file a reference to the application interface file,determines by reference to the interface grammar file whether a function call specified by the application source code file is allowed, andcommunicates the function call to the interface library, to retrieve graphical elements from the interface library, and generate the application graphical user interface.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and a method for creating user interfaces for software applications. Particularly, the invention allows a developer to segregate the development of the user interface from the development of the underlying application logic. In one embodiment, an application graphical user interface is specified using an XML document as an application interface file. At application compile time this application interface file is parsed, and the specification therein used to retrieve graphical screen components from an interface library to create the user interface. A grammar file can be used to further specify the parsing of the application interface file, and impose consistency upon the interface development process.
-
Citations
18 Claims
-
1. A computer-implemented system for generating a graphical user interface for an application, comprising:
-
a computing device that includes a display screen for use in displaying a graphical user interface for an application; an application source code file, that specifies an application logic that is executed by the application; an application interface file that specifies a plurality of graphical elements within an interface library to be displayed for the application graphical user interface; an interface grammar file that specifies rules to be used in parsing the application interface file; the interface library that comprises a plurality of graphical elements that are selectively retrieved in accordance with the specifications of the application interface file and the interface grammar file; and a parser that parses the application source code file, application interface file, and interface grammar file, wherein the parser determines within the application source code file a reference to the application interface file, determines by reference to the interface grammar file whether a function call specified by the application source code file is allowed, and communicates the function call to the interface library, to retrieve graphical elements from the interface library, and generate the application graphical user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method of generating a graphical user interface for an application, comprising the steps of:
-
parsing an application interface file, application source code file, and interface grammar file, wherein the application interface file specifies a plurality of graphical elements within an interface library to be displayed for a graphical user interface, the application source code file specifies an application logic for the application, and the interface grammar file specifies rules to be used in parsing the application interface file; the interface library that comprises a plurality of graphical elements that are selectively retrieved in accordance with the specifications of the application interface file and the interface grammar file; determining within the application source code file a reference to the application interface file; determining by reference to the interface grammar file whether a function call specified by the application source code file is allowed; communicating the function call to the interface library; and
retrieving from the interface library the plurality of graphical elements in accordance with the specifications of the application interface file and the interface grammar file, and generating the graphical user interface. - View Dependent Claims (10, 11, 12, 14, 15, 16)
-
-
13. The method of 9 wherein the interface library comprises a library of object oriented classes.
-
17. A computer-implemented system for generating a graphical user interface for an application, comprising:
-
a computing device which includes a display screen for use in displaying a graphical user interface for an application; an application source code file, that specifies an application logic for the application; an application interface file that specifies a plurality of graphical elements within an interface library to be displayed as the application graphical user interface; an interface grammar definition that specifies rules to be used in generating the application interface file; the interface library that comprises a plurality of graphical elements that are selectively retrieved in accordance with the specifications of the application interface file and the interface grammar file; and a parser that parses the application source code file, application interface file, and interface grammar file, wherein the parser determines within the application source code file a reference to the application interface file, determines by reference to the interface grammar file whether a function call specified by the application source code file is allowed, and communicates the function call to the interface library, to retrieve graphical elements from the interface library, and generate the application graphical user interface.
-
-
18. A computer-implemented method of generating a graphical user interface for an application, comprising the steps of:
parsing an application interface file, application source code file, and interface grammar definition, wherein the application source code file specifies an application logic for the application, the application interface file specifies a plurality of graphical elements within an interface library to be displayed as the application graphical user interface, and the interface grammar definition specifies rules to be used in generating the application interface file; the interface library that comprises a plurality of graphical elements that are selectively retrieved in accordance with the specifications of the application interface file and the interface grammar definition; determining within the application source code file a reference to the application interface file; determining by reference to the interface grammar definition whether a function call specified by the application source code file is allowed; and communicating the function call to the interface library that comprises a plurality of graphical elements that can be selectively retrieved as specified by the application interface file and the interface grammar definition, to retrieve a selection of graphical elements that are then used in generating the application graphical user interface.
Specification