# US 10,372,797 B2 · 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 10,372,797 B2
- Document ID: US10372797B2
- Status: Granted
- Kind: B2
- Application number: 15/615,561
- Filed: 2017-06-06
- Published: 2017-09-21
- Granted: 2019-08-06
- 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/US10372797B2

## 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, by the web application designer, a deployable updated web application, wherein applying the reusable theme comprises:
compiling a theme implementation file to obtain a style sheet language file, wherein the style sheet language file comprises a relative location for an image, wherein the image is to be displayed on at least one webpage of the deployable updated web application;
storing the image in a first directory in a deployable application project structure associated with an integrated development environment (IDE);
storing the style sheet language file in a second directory, wherein the second directory comprises the first directory;
receiving a request to preview the deployable updated web application, wherein the deployable updated web application comprises a hypertext mark-up language (HTML) file and wherein the HTML file comprises a reference to the style sheet language file;
in response to the request:
resolving, by a resolution service of the IDE, 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 compiling the theme implementation file comprises 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, by the web application designer, a deployable updated web application, wherein to applying the reusable theme comprises t:
compiling a theme implementation file to obtain a style sheet language file, wherein the style sheet language file comprises a relative location for an image, wherein the image is to be displayed on at least one webpage of the deployable updated web application;
storing the image in a first directory in a deployable application project structure associated with an integrated development environment (IDE);
storing the style sheet language file in a second directory, wherein the second directory comprises the first directory;
receive a request to preview the deployable updated web application, wherein the deployable updated web application comprises a hypertext mark-up language (HTML) file and wherein the HTML file comprises a reference to the style sheet language file;
in response to the request:
resolve, by a resolution service of the IDE, 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 compiling the theme implementation file comprises 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.
