System and method of application development
First Claim
1. A system for presenting a container component in a web application containing other web elements using an executable program and at least one component code-generator for a subcomponent, the system comprising:
- a client computer having a processor, data bus, RAM, an accessible storage media, and a network interface and running a suitable operating system, the client computer further comprising means for rendering web pages;
a server having a processor, data bus, RAM, a hard disk and a network interface and running a suitable operating system;
a network connection between the server and the client computer, the network connection allowing for data exchange between the server and the client computer according to a communication protocol;
storage means on the server for storing the executable program and the code of component code generator of the subcomponent, wherein the at least one component code generator is implemented in a class definition having plural variables, at least one service method, a code-generating method for generating the presentation code of the subcomponent, and the code for generating a service method of the subcomponent, and wherein the executable program contains code for instantiating or getting a class object of the component code generator of the subcomponent, code for calling the code-generating method of the class object, and code of integration logic;
request means on the client computer for sending a request through the network connection to the server for the web page containing the component;
first code-generating means for generating the presentation code of the subcomponent by getting or instantiating a class object of the component code generator of the subcomponent and executing the code-generating method of the class object;
second code-generating means for generating integration code and other necessary code of the component by executing the code of integration logic in the executable program so that the executable program gets the name of the service method of the subcomponent from the class object and generates integration code using the name;
delivery means for sending the web page containing the presentation code of the component to the client computer for rendering; and
display means for rendering the presentation code of the component on the client computer.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses a system, method and program code product for efficient component-based application development. Presentation code of a container component is generated by an integrated-components code generator (ICCG), which uses the class objects of component code generators (CCGs) as subcomponents. The CCGs, as standalone components, can generate the presentation code of the subcomponents by their code-generating method (CGM) during execution. The ICCG assemble and integrate the subcomponents'"'"' presentation code in run time and fill in the code necessary to establish communication between any two of subcomponents in the resultant web application code.
82 Citations
71 Claims
-
1. A system for presenting a container component in a web application containing other web elements using an executable program and at least one component code-generator for a subcomponent, the system comprising:
-
a client computer having a processor, data bus, RAM, an accessible storage media, and a network interface and running a suitable operating system, the client computer further comprising means for rendering web pages; a server having a processor, data bus, RAM, a hard disk and a network interface and running a suitable operating system; a network connection between the server and the client computer, the network connection allowing for data exchange between the server and the client computer according to a communication protocol; storage means on the server for storing the executable program and the code of component code generator of the subcomponent, wherein the at least one component code generator is implemented in a class definition having plural variables, at least one service method, a code-generating method for generating the presentation code of the subcomponent, and the code for generating a service method of the subcomponent, and wherein the executable program contains code for instantiating or getting a class object of the component code generator of the subcomponent, code for calling the code-generating method of the class object, and code of integration logic; request means on the client computer for sending a request through the network connection to the server for the web page containing the component; first code-generating means for generating the presentation code of the subcomponent by getting or instantiating a class object of the component code generator of the subcomponent and executing the code-generating method of the class object; second code-generating means for generating integration code and other necessary code of the component by executing the code of integration logic in the executable program so that the executable program gets the name of the service method of the subcomponent from the class object and generates integration code using the name; delivery means for sending the web page containing the presentation code of the component to the client computer for rendering; and display means for rendering the presentation code of the component on the client computer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method of creating a platform-compatible code for a component in a web page containing at least one subcomponent and other web elements, the code of the component being created by a web server using at least one subcomponent and being sent to the platform of the client computer for rendering through a network connection between the server and the client computer, the method comprising the steps of:
-
building a component code generator for the at least one subcomponent in an object class definition in a suitable programming language, the class supporting plural variables, at least one service method of the subcomponent, and a code-generating method; saving the component code generator in the server'"'"'s memory; building an executable program in a suitable programming language, the executable program containing code for instantiating or getting a class object of the component code generator and code for instantiating the component code generator for the subcomponent; running the executable program in response to a request for the web page from a client computer, the request containing the URL of the client computer and the specific information about the platform, the executable program performing the steps of; (a) instantiating or getting a class object of the component code generator of the subcomponent; (b) calling the code-generating method of the class object of the subcomponent to create the presentation code of the subcomponent; (c) accessing the class object of the subcomponent to get the name of the service method of the subcomponent or picking up a name for a callback functions; (d) generating integration code in application code; and (e) generating the rest of presentation code for the container component; sending the web page from the server to the client computer for rendering; and displaying the web page on the client computer. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A method of creating the presentation code of a component in a web page containing at least one subcomponent and other web elements on a computer, the presentation code of the subcomponent being created by calling the code-generating method of a component code generator for the subcomponent, the application code being stored on the computer'"'"'s memory or storage medium, the method comprising the steps of:
-
inputting or instantiating a class object of the component code generator of the subcomponent on the computer'"'"'s memory; calling the code-generating method of the class object of the component code generator of the subcomponent to generate the presentation code of the subcomponent; accessing the class object of the subcomponent and getting the names of the service methods of the subcomponent or picking up a name for a callback function; generating integration code for the component in the resultant application; and saving the resultant application on the computer'"'"'s medium. - View Dependent Claims (32, 33, 34, 35, 36)
-
-
37. A computer program product for use in a system of application development, the computer program product comprising a computer storage medium having computer program code embodied on the medium for integrating the presentation code of at least one subcomponent with the presentation code of a component on a web page, the computer program code further comprising:
-
program code for defining an abstract class which supports an abstract code-generating method; program code of at least one executable component code generator which implements the code-generating method in the class definition; program code for instantiating or setting the class object of the component code generator of the subcomponent; program code for accessing and getting the names of the service methods of the subcomponent; program code for generating integration code; and program code for generating the rest of presentation code of the component. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51)
-
-
52. A computer program product for use in a computer for application development, the computer program product comprising a computer storage medium having computer program code embodied on the medium for using at least one component code generator for a subcomponent to build the presentation code of a container component on a web page, the computer program code further comprising:
-
program code for generating the presentation code of the subcomponent of the at least component code generator by calling the code-generating method; and program code for integrating the presentation code of the at least one subcomponent. - View Dependent Claims (53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71)
-
Specification