Browse Prior Art Database

Optimizing a web UI rendering factory.

IP.com Disclosure Number: IPCOM000015757D
Original Publication Date: 2002-Oct-18
Included in the Prior Art Database: 2003-Jun-21
Document File: 2 page(s) / 88K

Publishing Venue

IBM

Abstract

In the web environment, there are two major obstacles for creating a user interface. One is the client device is not known until a request is received from the device. Second is that number of unique clients is virtually limitless. These two obstacles are overcome by using a rendering factory capable of supporting device specific renderers while conserving web server resources. The rendering factory provides two key advantages: 1. Reduction in the total object count by reusing rendering objects at different scopes. 2. Binding the renderers to client devices, which allows optimization of content.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 2

Optimizing a web UI rendering factory.

  In the web environment, there are two major obstacles for creating a user interface. One is the client device is not known until a request is received from the device. Second is that number of unique clients is virtually limitless. These two obstacles are overcome by using a rendering factory capable of supporting device specific renderers while conserving web server resources.

The rendering factory provides two key advantages:
1. Reduction in the total object count by reusing rendering objects at different scopes.
2. Binding the renderers to client devices, which allows optimization of content.

A Rendering Factory creates Renderers and determines how the UIs get rendered. Its main functions are:
· To register and de-register Renderers based on the Component class name,
· Select an appropriate Renderer for the given web component
· Maintain a pool of Renderers and re-use them according to the Rendering Scope provided by the application.

A Rendering Factory could be customizable using a Rendering Scope.

Rendering Scope:

It is defined as the scope in which the Rendering Factory and its Renderers would be reused. The main advantage behind limiting (defining) the scope is to reduce the number of Rendering objects and optimize on memory. Ideally only one set of Renderers would be required in a particular scope, but the Rendering Factory implementation could optimize how many Renderer instances are required for that scope.

Here is a list of the possible values for Rendering Scope, ordered in decreasing degree of reuse and increasing memory requirements:

1. Server Scope: There is only one instance of the Rendering Factory per server. It would create, maintain and reuse Re...