1. A method for dynamically generating an optimal form definition for a results set comprising: receiving the results set by a form-based presentation optimizer running on an application server, wherein the results set (1) comprises at least one data record having at least one data field that satisfies a database query generated by a form-based software application running on the application server responsive to receiving a data request from a client device and (2) is received from a database server in response to the database query; identifying, from a form definition library maintained by the application server, at least one form definition that is applicable to the received results set, wherein the at least one form definition is associated with the form-based software application, wherein the results set is to be presented within a user interface of the form-based software application, wherein a form definition defines at least one user interface element for presenting data and a configuration of the at least one user interface element within the user interface; dynamically synthesizing an optimal form definition from the at least one identified form definition and at least one predefined presentation optimization rule, wherein the optimal form definition is dynamically synthesized by modifying the at least one identified form definition, wherein the optimal form definition defines the configuration of user interface elements that optimally present the results set, wherein contents of the optimal form definition vary based upon at least one existing presentation of contents of the results set, the at least one predefined presentation optimization rule, and the form-based presentation optimizer; conveying at least the optimal form definition to the form-based software application for rendering; and creating and conveying to the user interface, by the form-based software application, a data response that contains information necessary for the user interface to render the user interface elements defined in the optimal form definition.