# US 11,120,099 B2 · Rendering a web element in a web page

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

- Number: US 11,120,099 B2
- Document ID: US11120099B2
- Status: Granted
- Kind: B2
- Application number: 14/665,486
- Filed: 2015-03-23
- Published: 2015-10-29
- Granted: 2021-09-14
- Earliest claimed: 2014-04-25
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Na Dong; David L. Kaminsky; Yun Li Li; Xi Ning Wang; Rui Yin
- Web page: https://patentgrep.com/patent/US11120099B2

## CPC

- G06F 16/972: {Access to data in other repository systems, e.g. legacy data or dynamic Web page generation}
- G06F 8/33: Intelligent editors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Rendering a web element in a web page in an integrated development environment is provided. A reference address is extracted from code of a web page. The reference address references a web element. The web element is obtained based on the reference address and in response to the reference address indicating that the web element is an embedded web element. The web element is added to a resource pool. The web element of the resource pool is rendered in the web page.

## Claims

### Claim 1

A method for rendering a web element in a web page in an integrated development environment (IDE), the method comprising:
in response to editing a webpage of a project within an IDE, determining, by one or more computer processors, that a rendered display of the webpage within the IDE lacks display of a web element included in the code of the webpage as compared to the rendered display of the webpage within a web browser and deployed to a web page controller;
extracting, by one or more processors, one or more reference addresses from the code of the webpage, wherein a first reference address corresponds to a first web element;
determining, by one or more processors, that the first reference address associated with the first web element of the webpage is not associated with a corresponding physical address;
in response to determining that the first reference address associated with the first web element of the webpage is not associated with a corresponding physical address, deploying, by one or more computer processors, the project to the web page controller;
obtaining, by one or more processors, from the web page controller, a physical address for the first web element that includes contextual information of the web page controller;
adding, by one or more processors, an association relationship between the first reference address and the obtained physical address, including the contextual information of the web page controller, corresponding to the first web element, to an association relationship table; and
rendering, by one or more processors, within the IDE, the webpage utilizing the first web element, based on identifying the first reference address having an association relationship with the obtained physical address corresponding to the first web element within the association relationship table.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
copying, by one or more processors, to the IDE, the web element based on the-physical address of the web element and further based on a project of the web page.

### Claim 3 (depends on 1)

The method of claim 1, wherein the physical address of the web element is a uniform resource locator (URL), and wherein the URL is network accessible.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
identifying, by one or more computer processors, a second reference address within the code of the webpage that is associated with a second web element;
obtaining, by one or more computer processors, the second web element based on a physical address associated with the second reference address;
determining, by one or more computer processors, that the obtained second web element is comprised of programming code;
parsing, by one or more computer processors, the obtained second web element to identify a physical address referencing an external web element; and
rendering, by one or more processors, within the IDE, the webpage utilizing the external web element, based on the identified physical address referencing the external web element that is included in the programming code of the second web element.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
identifying, by one or more computer processors, a web element comprised of programming code;
determining, by one or more computer processors, that the web element comprised of programming code includes code that dynamically generates addresses for one or more external web elements;
in response to determining that the web element comprised of programming code includes code that dynamically generates addresses for one or more external web elements, deploying, by one or more computer processors, the project to a web page controller;
obtaining, by one or more processors, from the web page controller, the dynamically generated addresses for one or more external web elements; and
rendering, by one or more processors, within the IDE, the webpage utilizing the one or more external web elements, based on the web element comprised of programming code.

### Claim 6 (depends on 1)

The method of claim 1, wherein the web element is comprised of programming code, and wherein the programming code is associated with an interpreted run-time language.

### Claim 7 (depends on 1)

The method of claim 1, wherein another web element is comprised of programming code, and wherein the programming code is associated with a style sheet language.

### Claim 8

A computer program product for rendering a web element in a web page in an integrated development environment (IDE), the computer program product comprising:
a computer readable storage medium and program instructions stored on the computer readable storage medium, the program instructions comprising:
program instructions to respond to editing a webpage of a project within an IDE, by determining that a rendered display of the webpage within the IDE lacks display of a web element included in code of the webpage as compared to the rendered display of the webpage within a web browser and deployed to a web page controller;
program instruction to extract one or more reference addresses from the code of the webpage, wherein a first reference address corresponds to a first web element;
program instructions to determine that the first reference address associated with the first web element of the webpage is not associated with a corresponding physical address;
program instructions to respond to determining that the first reference address associated with the first web element of the webpage is not associated with the corresponding physical address by deploying the project to the web page controller;
program instructions to obtain, from the web page controller, a physical address for the first web element that includes contextual information of the web page controller;
program instructions to add an association relationship between the first reference address and the obtained physical address, including the contextual information of the web page controller, corresponding web element, to an association relationship table; and
program instructions to render, within the IDE, the web page utilizing the first web element, based on identifying the first reference address having an association relationship with the obtained physical address corresponding to the first web element within the association relationship table.

### Claim 9 (depends on 8)

The computer program product of claim 8, further comprising:
program instructions to copy, to the IDE, the web element based on the-physical address of the web element and further based on a project of the web page.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the physical address of the web element is a uniform resource locator (URL), and wherein the URL is network accessible.

### Claim 11 (depends on 8)

The computer program product of claim 8, further comprising:
program instructions to identify a second reference address within the code of the webpage that is associated with a second web element;
program instructions to obtain the second web element based on a physical address associated with the second reference address;
program instructions to determine that the obtained second web element is comprised of programming code;
program instructions to parse the obtained second web element to identify a physical address referencing an external web element; and
program instructions to render, within the IDE, the webpage utilizing the external web element, based on the identified physical address referencing the external web element that is included in the programming code of the second web element.

### Claim 12 (depends on 8)

The computer program product of claim 8, further comprising:
program instructions to identify a web element comprised of programming code;
program instructions to determine that the web element comprised of programming code includes code that dynamically generates addresses for one or more external web elements;
program instructions to respond to determining that the web element comprised of programming code includes code that dynamically generates addresses for one or more external web elements by deploying the project to a web page controller;
program instructions to obtain from the web page controller, the dynamically generated addresses for one or more external web elements; and
program instructions to render within the IDE, the webpage utilizing the one or more external web elements, based on the web element comprised of programming code.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the web element is comprised of programming code, and wherein the programming code is associated with an interpreted run-time language.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein another web element is comprised of programming code, and wherein the programming code is associated with a style sheet language.

### Claim 15 (depends on 8)

The computer program product of claim 8, wherein the web element is comprised of programming code, and wherein the programming code is associated with an interpreted run-time language.

### Claim 16 (depends on 8)

The computer program product of claim 8, wherein another web element is comprised of programming code, and wherein the programming code is associated with a style sheet language.

### Claim 17

A computer system for rendering a web element in a web page in an integrated development environment (IDE), the computer system comprising:
one or more computer processors;
one or more computer readable storage media;
program instructions stored on the computer readable storage media for reading/execution by at least one of the one or more computer processors, the program instructions further comprising:
program instructions to respond to editing a webpage of a project within an IDE, by determining that a rendered display of the webpage within the IDE lacks display of a web element included in code of the webpage as compared to the rendered display of the webpage within a web browser and deployed to a web page controller;
program instruction to extract one or more reference addresses from the code of the webpage, wherein a first reference address corresponds to a first web element;
program instructions to determine that the first reference address associated with the first web element of the webpage is not associated with a corresponding physical address;
program instructions to respond to determining that the first reference address associated with the first web element of the webpage is not associated with the corresponding physical address by deploying the project to the web page controller;
program instructions to obtain, from the web page controller, a physical address for the first web element that includes contextual information of the web page controller;
program instructions to add an association relationship between the first reference address and the obtained physical address, including the contextual information of the web page controller, corresponding web element, to an association relationship table; and
program instructions to render, within the IDE, the web page utilizing the first web element, based on identifying the first reference address having an association relationship with the obtained physical address corresponding to the first web element within the association relationship table.

### Claim 18 (depends on 17)

The computer system of claim 17, further comprising:
program instructions to copy, to the IDE, the web element based on the physical address of the web element and further based on a project of the web page.

### Claim 19 (depends on 17)

The computer system of claim 17, further comprising:
program instructions to identify a second reference address within the code of the webpage that is associated with a second web element;
program instructions to obtain the second web element based on a physical address associated with the second reference address;
program instructions to determine that the obtained second web element is comprised of programming code;
program instructions to parse the obtained second web element to identify a physical address referencing an external web element; and
program instructions to render, within the IDE, the webpage utilizing the external web element, based on the identified physical address referencing the external web element that is included in the programming code of the second web element.

### Claim 20 (depends on 17)

The computer system of claim 17, further comprising:
program instructions to identify a web element comprised of programming code;
program instructions to determine that the web element comprised of programming code includes code that dynamically generates addresses for one or more external web elements;
program instructions to respond to determining that the web element comprised of programming code includes code that dynamically generates addresses for one or more external web elements by deploying the project to a web page controller;
program instructions to obtain from the web page controller, the dynamically generated addresses for one or more external web elements; and
program instructions to render within the IDE, the webpage utilizing the one or more external web elements, based on the web element comprised of programming code.
