# US 8,578,330 B2 · Enhanced widget composition platform

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,578,330 B2
- Document ID: US8578330B2
- Status: Granted
- Kind: B2
- Application number: 11/761,139
- Filed: 2007-06-11
- Published: 2008-12-11
- Granted: 2013-11-05
- Earliest claimed: 2007-06-11
- Assignees: Sap SE
- Applicants: Alexander Dreiling; Kathrin J. Fleischmann; Fabian Eberhardt; Philipp Heltewig; Daniel Ricketts
- Inventors: Alexander Dreiling; Kathrin J. Fleischmann; Fabian Eberhardt; Philipp Heltewig; Daniel Ricketts
- Web page: https://patentgrep.com/patent/US8578330B2

## CPC

- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 8/34: Graphical or visual programming
- G06F 8/38: for implementing user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An enhanced widget composition platform, in which code is automatically generated based on receiving a selection of at least a first service and a widget engine via the web-based widget composition platform, the code, when invoked by the selected widget engine, implementing a widget that is operable to communicate with the first service.

## Claims

### Claim 1

A computer-implemented method comprising:
transmitting instructions to a computing device to display a user interface of a web-based widget composition platform;
receiving, via the user interface, first user input comprising a selection of at least a first service and a second service;
receiving, via the user interface, second user input comprising a selection of a widget engine;
automatically generating code based on the first service, the second service and the widget engine, the code, when invoked by the widget engine, providing a widget that includes a first service window associated with the first service and a second service window associated with the second service, and that is operable to communicate with the first service and the second service to connect an output of the first service to an input of the second service such that data presented in the second service window is contextualized based upon a user-selection of one of a plurality of data items displayed in the first service window; and
creating a service mediator instance based on receiving the selection, the service mediator instance comprising:
a service requestor component operable to:
gather input parameters,
transmit a service call to the first service based on the input parameters, and
transmit raw data results of the service call to the service mediator instance;
an interpreter component operable to:
process the raw data results into an interpreted SERVICEDATAMODEL object, and transmit the SERVICEDATAMODEL object to the service mediator instance; and
a renderer component operable to render a visual representation of data in the SERVICEDATAMODEL object.

### Claim 2 (depends on 1)

The method of claim 1,
wherein the web-based widget composition platform further comprises a design mode and a preview mode,
wherein the first service is selected via the web-based widget composition platform, in the design mode, and
wherein the widget is simulated via the web-based widget composition platform, in the preview mode.

### Claim 3 (depends on 1)

The method of claim 1, further comprising invoking the code in a browser environment using a compatibility layer that emulates the widget engine to simulate the widget in the widget composition platform.

### Claim 4 (depends on 1)

The method of claim 1, wherein the code is further automatically generated based on receiving a selection of a design element defining an appearance of the widget or based on receiving a selection of a design element for performing a non-service-related function.

### Claim 5 (depends on 1)

The method of claim 1, wherein connecting the output is via a WIDGETOBJECTMANAGER module.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
generating a CONNECTOR object for an event, the CONNECTOR object adding the input of the second service as a listener and adding the output of the first service as a caller; and
sending an ENVELOPE object from the caller to the listener based on upon detecting the event, the ENVELOPE object encapsulating output values from the caller.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
verifying the selection connecting the output of the first service with the input of the second service is valid, via a LINEMANAGER module; and
outputting a representation of the selection connecting the output of the first service with the input of the second service, via the LINEMANAGER module, if the selection connecting the output module of the first service with the input of the second service is verified to be valid.

### Claim 8 (depends on 1)

The method of claim 1, wherein the widget is operable to communicate with the first service and the second service via a Service Oriented Architecture Protocol (SOAP) call or other HyperText Transfer Protocol (HTTP) call.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving data from the first service; and
displaying the data via the widget.

### Claim 10 (depends on 1)

The method of claim 1, wherein the widget composition platform comprises a What-You-See-Is-What-You-Get (WYSIWYG) Integrated Development Environment (IDE).

### Claim 11 (depends on 1)

The method of claim 1, further comprising outputting the widget.

### Claim 12 (depends on 11)

The method of claim 11, wherein outputting the widget further comprises uploading the widget to a user device.

### Claim 13 (depends on 1)

The method of claim 1, wherein the first service is a web service, a Really Simple Syndication (RSS) service or a Multidimensional eXpressions (MDX) service.

### Claim 14 (depends on 1)

The method of claim 1, further comprising adding the first service and the second service to a global widget model using a WINDOWOBSERVER module based on receiving the selection of the first service and the second service.

### Claim 15 (depends on 14)

The method of claim 14, further comprising tracking a state change of the widget composition platform, via the WINDOWOBSERVER module.

### Claim 16 (depends on 15)

The method of claim 15, further comprising transmitting an array including the first service and the second service, a position and a size of each of the first service and the second service, and connections between the first service and the second service, via the WINDOWOBSERVER module.

### Claim 17 (depends on 1)

The method of claim 1, wherein connecting further includes the data presented by the second service is contextualized based upon user-interaction with the first widget.

### Claim 18

A computer program product, tangibly stored in a non-transitory machine-readable medium, the computer program product comprising instructions that, when read by a machine, operate to cause a data processing apparatus to:
transmit instructions to a computing device to display a user interface of a web-based widget composition platform;
receive, via the user interface, first user input comprising a selection of at least a first service and a second service;
receive, via the user interface, second user input comprising a selection of a widget engine;
automatically generate code based on the first service, the second service and the widget engine, the code, when invoked by the widget engine, providing a widget that includes a first service window associated with the first service and a second service window associated with the second service, and that is operable to communicate with the first service and the second service to connect an output of the first service to an input of the second service such that data presented in the second service window is contextualized based upon a user-selection of one of a plurality of data items displayed in the first service window; and
create a service mediator instance based on receiving the selection, the service mediator instance comprising:
a service requestor component operable to:
gather input parameters,
transmit a service call to the first service based on the input parameters, and
transmit raw data results of the service call to the service mediator instance;
an interpreter component operable to:
process the raw data results into an interpreted SERVICEDATAMODEL object, and
transmit the SERVICEDATAMODEL object to the service mediator instance; and
a renderer component operable to render a visual representation of data in the SERVICEDATAMODEL object.

### Claim 19

A device comprising a processor configured to:
transmit instructions to a computing device to display a user interface of a web-based widget composition platform;
receive, via the user interface, first user input comprising a selection of at least a first service and a second service;
receive, via the user interface, second user input comprising a selection of a widget engine;
automatically generate code based on the first service, the second service and the widget engine, the code, when invoked by the widget engine, providing a widget that includes a first service window associated with the first service and a second service window associated with the second service, and that is operable to communicate with the first service and the second service to connect an output of the first service to an input of the second service such that data presented in the second service window is contextualized based upon a user-selection of one of a plurality of data items displayed in the first service window; and
create a service mediator instance based on receiving the selection, the service mediator instance comprising:
a service requestor component operable to:
gather input parameters,
transmit a service call to the first service based on the input parameters, and
transmit raw data results of the service call to the service mediator instance;
an interpreter component operable to:
process the raw data results into an interpreted SERVICEDATAMODEL object, and
transmit the SERVICEDATAMODEL object to the service mediator instance; and
a renderer component operable to render a visual representation of data in the SERVICEDATAMODEL object.
