# US 2019/0317982 A1 · System, method and computer program product to generate a web application using reusable themes

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

- Number: US 2019/0317982 A1
- Document ID: US20190317982A1
- Status: Published application
- Kind: A1
- Application number: 16/455,351
- Filed: 2019-06-27
- Published: 2019-10-17
- Earliest claimed: 2014-12-30
- Assignees: Open Text Corporation
- Applicants: Open Text Corporation
- Inventors: Sandip V. Chitale; Sachin Gopaldas Totale
- Web page: https://patentgrep.com/patent/US20190317982A1

## CPC

- G06F 40/154: Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06F 40/186: Templates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In general, the technology relates to a method for using reusable themes. The method includes receiving, from a device, a request for a style sheet language file, where the style sheet language file defines a reusable theme for a webpage and specifies a relative location for an image that is used by the reusable theme. The method further includes receiving a request for the image including the relative location of the image, resolving the relative location for the image to obtain an absolute location for the image using a location of the style sheet language file in a web application structure, obtaining the image from the absolute location of the image, and providing the image to the device.

## Claims

### Claim 1

A method for generating a web application, comprising:
receiving, in an integrated development environment (IDE) software development tool executing on a first computing system, a selection of a reusable theme;
applying, by a web application designer of the IDE, the reusable theme to the web application and generating a deployable updated web application, wherein applying the reusable theme comprises:
generating a style sheet language file stored in a first directory in a deployable application project structure associated with the IDE, wherein the style sheet language file includes a relative location for an image which is stored in a second directory within the first directory, wherein the image is to be displayed on at least one webpage of the deployable updated web application;
receiving a request to view the deployable updated web application, wherein the deployable updated web application includes a reference to the style sheet language file;
in response to the request:
resolving the relative location for the image to obtain an absolute location for the image using a location of the style sheet language file in the deployable application project structure;
obtaining the image from the absolute location of the image;
displaying the image within the at least one webpage on a web browser.

### Claim 2 (depends on 1)

The method of claim 1, wherein the request to preview the updated web application is initiated from the web browser, wherein the IDE comprises the web browser.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the style sheet language file comprises compiling a theme implementation file using a manifest, wherein the manifest specifies at least a name of the theme implementation file, a symbolic name, and a namespace.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
obtaining a compressed file comprising the theme implementation file, the manifest, and the image; and
extracting the theme implementation file, the manifest, and the image from the compressed file,
wherein the compressed file is organized using an archive structure,
wherein the archive structure comprises a third directory comprising the image;
wherein the theme implementation file is stored in a fourth directory, wherein the fourth directory comprises the third directory.

### Claim 5 (depends on 4)

The method of claim 4, wherein the compressed filed is a Java Archive formatted file.

### Claim 6 (depends on 4)

The method of claim 4, wherein a name of the compressed file is determined using the namespace and the symbolic name.

### Claim 7 (depends on 1)

The method of claim 1, wherein the absolute location comprises a file path from a root directory to the second directory and the relative location.

### Claim 8 (depends on 7)

The method of claim 7, wherein the IDE comprises a URL resolution service, wherein resolving the relative location for the image to obtain the absolute location for the image is performed by the URL resolution service.

### Claim 9 (depends on 1)

The method of claim 1, further comprising deploying the deployable updated web application including the deployable application project structure from the IDE executing on the first computing system to a web server executing on a second computing system.

### Claim 10

A non-transitory computer readable medium comprising computer readable program code, which when executed by a computer processor enables the computer processor to:
receive, in an integrated development environment (IDE) software development tool executing on a first computing system, a selection of a reusable theme;
apply, by a web application designer of the IDE, the reusable theme to a web application and generate a deployable updated web application, wherein applying the reusable theme comprises:
generating a style sheet language file stored in a first directory in a deployable application project structure associated with the IDE, wherein the style sheet language file includes a relative location for an image which is stored in a second directory within the first directory, wherein the image is to be displayed on at least one webpage of the deployable updated web application;
receive a request to view the deployable updated web application, wherein the deployable updated web application includes a reference to the style sheet language file;
in response to the request:
resolve the relative location for the image to obtain an absolute location for the image using a location of the style sheet language file in the deployable application project structure;
obtain the image from the absolute location of the image;
display the image within the at least one webpage on a web browser.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the request to preview the updated web application is initiated from the web browser, wherein the IDE comprises the web browser.

### Claim 12 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein generating the style sheet language file comprises compiling a theme implementation file using a manifest, wherein the manifest specifies at least a name of the theme implementation file, a symbolic name, and a namespace.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, further comprising computer readable program code, which when executed by a computer processor enables the computer processor to:
obtain a compressed file comprising the theme implementation file, the manifest, and the image; and
extract the theme implementation file, the manifest, and the image from the compressed file,
wherein the compressed file is organized using an archive structure,
wherein the archive structure comprises a third directory comprising the image;
wherein the theme implementation file is stored in a fourth directory, wherein the fourth directory comprises the third directory.

### Claim 14 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein the compressed filed is a Java Archive formatted file.

### Claim 15 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein a name of the compressed file is determined using the namespace and the symbolic name.

### Claim 16 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the absolute location comprises a file path from a root directory to the second directory and the relative location.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the IDE comprises a URL resolution service, wherein resolving the relative location for the image to obtain the absolute location for the image is performed by the URL resolution service.

### Claim 18 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the computer readable program code, when executed by the computer processor further enables the computer processor to deploy the deployable updated web application including the deployable application project structure from the IDE executing on the first computing system to a web server executing on a second computing system.
