Automatically generating web forms from database schema
First Claim
1. At a computer system, a method for generating a Web based user-interface for interacting with a database, the method comprising:
- an act of accessing a database mapping for a database, the database mapping having been generated from schema describing the configuration of data contained in the database, including describing a foreign key relationship from a first table to a second table of the database;
an act of inferring, from the existence of the foreign key relationship, that a relationship from the second table to the first table is also relevant, even though a relationship from the second table to the first table is not expressly described in the schema; and
an act of automatically generating a Web site for the database in accordance with the database mapping, the Web site configured to provide a plurality of navigable linked Web based forms for interacting with the data, including a first Web based form for interacting with data from the first table, the first Web based form configured with a navigable link to a second Web based form that utilizes the inferred relationship to provide a view of the first table in the context of a row from the second table.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention extends to methods, systems, and computer program products for creating Web forms with automatically generated links. A database mapping for a database is accessed. One or more dynamic queries for querying a database are automatically formulated. The dynamic queries are included in an automatically generated Web site for the database in accordance with the database mapping. User-selected links are also included for executed the dynamic queries. Selection of a link causes a corresponding dynamic query to execute. Relationships between tables in a database can be inferred even when a relationship is not expressly described in schema describing the database. Dynamic queries can be any of sorting, pagination, addition, deletion, and modification queries.
49 Citations
20 Claims
-
1. At a computer system, a method for generating a Web based user-interface for interacting with a database, the method comprising:
-
an act of accessing a database mapping for a database, the database mapping having been generated from schema describing the configuration of data contained in the database, including describing a foreign key relationship from a first table to a second table of the database; an act of inferring, from the existence of the foreign key relationship, that a relationship from the second table to the first table is also relevant, even though a relationship from the second table to the first table is not expressly described in the schema; and an act of automatically generating a Web site for the database in accordance with the database mapping, the Web site configured to provide a plurality of navigable linked Web based forms for interacting with the data, including a first Web based form for interacting with data from the first table, the first Web based form configured with a navigable link to a second Web based form that utilizes the inferred relationship to provide a view of the first table in the context of a row from the second table. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. At a computer system, a method for generating a Web based user-interface for interacting with a database, the method comprising:
-
an act of accessing a database mapping for a database, the database mapping having been generated from schema describing the configuration of data contained in the database; an act of automatically formulating a dynamic query configured to query a database table included in the database, the dynamic query being executable in response to a user initiated command to change the arrangement of records from the database table within a Web based form, the dynamic query configured to request records form the database table that are to be presented in the Web based form in the order they are to be presented such that the entire database table need not be queried; and an act of automatically generating a Web site for the database in accordance with the database mapping, the Web site including the automatically formulated dynamic query so as to allow users to automatically change the arrangement of records from the database table within the Web based form. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. At a computer system, a method for providing data from a database that is to be presented through Web based forms, the method comprising:
-
an act of forwarding records from a database table to a Web browser so that the records can be presented through a Web based form in accordance with a first configuration; an act of receiving a user initiated message from the Web browser indicating that presentation of records through the Web based form is to be changed to a second different configuration; an act of issuing a dynamic query to the database in response to the user initiated message, the dynamic query requesting records from the database table that are to be presented in the second different configuration in the order they are to be presented such that the entire database table need not be queried, the dynamic query having been automatically included in a Web site for the database table when the Web site was created; an act of receiving the requested records in the order they are to be presented, the records being responsive to the dynamic query; and an act of forwarding the requested records to the Web browser in the order they are to be presented so that the requested records can be presented through the Web based form in accordance with the second different configuration. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification