摘要:
The present invention extends to methods, systems, and computer program products for automated generation of different script versions. Received scripts can include comments containing descriptive data from which instructions for implementing specified further functionality (e.g., debugging, testing, tracing, etc.) can be inferred. Received scripts can also include anonymous function names. Modules within a script pre-processor can access the descriptive data and infer instructions for implementing specified further functionality. Modules with the script preprocessor can also infer and assign global identifiers to anonymous functions such that the scripts are subsequently identifiable using the global identifiers. The modules within the script pre-processor can interoperate to generate versions of the script that implement the specified further (e.g., debugging) functionality without requiring a developer to write additional code.
摘要:
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.
摘要:
The present invention extends to methods, systems, and computer program products for automated generation of different script versions. Received scripts can include comments containing descriptive data from which instructions for implementing specified further functionality (e.g., debugging, testing, tracing, etc.) can be inferred. Received scripts can also include anonymous function names. Modules within a script pre-processor can access the descriptive data and infer instructions for implementing specified further functionality. Modules with the script preprocessor can also infer and assign global identifiers to anonymous functions such that the scripts are subsequently identifiable using the global identifiers. The modules within the script pre-processor can interoperate to generate versions of the script that implement the specified further (e.g., debugging) functionality without requiring a developer to write additional code.
摘要:
The present invention relates to a system and methodology that provides for adjusting content that is to be received and displayed by a device so that the content is meaningful to a recipient. The invention provides for rendering of variable-sized pages of dynamic content based at least in part on user interface (UI) characteristics of a receiving device (e.g., client program). One particular aspect of the invention provides for an abstraction layer that permits a content developer to specify what content is to be displayed to an end user without requiring the developer to delineate markup tags that are to be employed by different browsers of respective mobile devices. Thus, for example, such aspect of the invention provides for automatically adjusting (e.g., paginating) content into variable-sized pages appropriate for a requesting device. A content analyzer receives and analyzes content to be rendered at a plurality of recipient devices against display capabilities of the respective devices. An abstraction layer accesses information relating to capabilities of the devices, and maps attributes relating to the content to the device capabilities, the abstraction layer provides the mapping to the content analyzer. A content distributor parses the content into subsets coincident with the display capabilities of the respective devices, and sequentially distributes respective subsets to the devices for rendering thereof.
摘要:
The present invention is directed towards providing a system and method for optimizing HTML output in a just-in-time compiling environment for devices such as mobile devices. A method is provided for optimizing the output in a single pass as device content is rendered. The method delays writing a closing tag until it is determined that a formatting or layout of the next control conflicts. Tags are emitted in a predefined order to minimize the number of tags that will need to be closed to accommodate a following control whose style differs. Object hierarchy is leveraged to predict the order in which tags should be written without looking ahead of the current control in the hierarchy.
摘要:
The described systems and methods are directed at defining web content navigation. The disclosed technique enables the development of web content for a scenario without having to create every navigational control that is needed to manage the flow through the web content in the scenario or to write non-declarative server-side logic to control navigation. This method determines a declaration in a source file for a web page. The declaration is associated with an object. The method determines the views associated with the object where each of the views includes a user-interface. A flow for navigating through the views is determined. The views are rendered in accordance with the navigational flow.
摘要:
The present invention extends to methods, systems, and computer program products for identifying appropriate client-side script references. Embodiments of the invention facilitate tailoring a list of script references to send to a Web browser based on a list of script references included in a server page. Referenced scripts sent to a Web browser can differ from referenced scripts included in the server page. Script references sent to a Web browser can refer to scripts optimized for the execution environment of the Web browser and to scripts stored at preferred script sources. Further, duplicate script references are removed prior to sending a list of script references to the Web browser. Since script lists sent to Web browsers are tailored for execution environment and duplicates are removed, scripts can be loaded and processed more effectively at Web browsers.
摘要:
The present invention extends to methods, systems, and computer program products for dynamically loading scripts. Web pages can include references to script loaders that control the loading of other scripts at a Web browser. A script loader can load scripts in accordance with script loading rules that override the default script loading behavior of the Web browser. Script loading rules can cause scripts to load in a different order than encountered in a Web pager, load in parallel, load in a manner that limits cross-domain requests, etc. Script loading rules are configurable such at that a developer can create customized script loading behavior.
摘要:
A verification tool applies a set of rules to determine whether an application object is rule compliant when a condition associated with the object is met. The verification tool determines whether the object is associated with a rule compliant property value. If the property value does not comply with the rule, then the rule has been violated and an error message is issued. The rule corresponds to settings implemented by a developer on the component. Thus, the developer is informed when at least one property value associated with the object does not comply with the corresponding rule. Feedback is provided about which specific object is not rule compliant such that the component may be modified to be rule compliant.
摘要:
The present invention extends to methods, systems, and computer program products for dynamically loading scripts. Web pages can include references to script loaders that control the loading of other scripts at a Web browser. A script loader can load scripts in accordance with script loading rules that override the default script loading behavior of the Web browser. Script loading rules can cause scripts to load in a different order than encountered in a Web pager, load in parallel, load in a manner that limits cross-domain requests, etc. Script loading rules are configurable such at that a developer can create customized script loading behavior.