Mobilize website using representational state transfer (REST) resources
First Claim
Patent Images
1. A method for mobilizing a web application, the method comprising:
- receiving a representational state transfer (REST) resource of a web application, wherein the web application presents data of the REST resource of the web application in a first form;
analyzing, by one or more processors, the REST resource to identify a pattern in the REST resource;
determining, by one or more processors, that the identified pattern in the REST resource corresponds to a first pattern, wherein the first pattern is a predetermined pattern that is associated with a template, and wherein the template utilizes a model-view-controller (MVC) software pattern and the template is configured to present the data of the REST resource of the web application in a second form, wherein the second form is accessible to mobile devices;
retrieving, by one or more processors, the template;
extracting, by one or more processors, a schema defined for the REST resource, wherein the schema includes a field with a name corresponding to a type of the data of the REST resource; and
generating, by one or more processors, a mobile web application that presents the data of the REST resource of the web application in the second form based, at least in part, on the REST resource and the template, wherein the mobile web application includes a field name indicator corresponding to the type of data of the REST resource, and wherein the field name indicator is the name corresponding to the type of data of the REST resource from the extracted schema.
1 Assignment
0 Petitions
Accused Products
Abstract
In an approach for mobilizing a web application, a processor receives a representational state transfer (REST) resource of a web application. A processor analyzes the REST resource to identify a pattern in the REST resource. A processor retrieves a template corresponding to the pattern in the REST resource. A processor generates a mobile web application based, at least in part, on the REST resource and the template.
-
Citations
18 Claims
-
1. A method for mobilizing a web application, the method comprising:
-
receiving a representational state transfer (REST) resource of a web application, wherein the web application presents data of the REST resource of the web application in a first form; analyzing, by one or more processors, the REST resource to identify a pattern in the REST resource; determining, by one or more processors, that the identified pattern in the REST resource corresponds to a first pattern, wherein the first pattern is a predetermined pattern that is associated with a template, and wherein the template utilizes a model-view-controller (MVC) software pattern and the template is configured to present the data of the REST resource of the web application in a second form, wherein the second form is accessible to mobile devices; retrieving, by one or more processors, the template; extracting, by one or more processors, a schema defined for the REST resource, wherein the schema includes a field with a name corresponding to a type of the data of the REST resource; and generating, by one or more processors, a mobile web application that presents the data of the REST resource of the web application in the second form based, at least in part, on the REST resource and the template, wherein the mobile web application includes a field name indicator corresponding to the type of data of the REST resource, and wherein the field name indicator is the name corresponding to the type of data of the REST resource from the extracted schema. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product for mobilizing a web application, the computer program product comprising:
-
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising; program instructions to receive a representational state transfer (REST) resource of a web application, wherein the web application presents data of the REST resource of the web application in a first form; program instructions to analyze the REST resource to identify a pattern in the REST resource; program instructions to determine that the identified pattern in the REST resource corresponds to a first pattern, wherein the first pattern is a predefined pattern that is associated with a template, and wherein the template utilizes a model-view-controller (MVC) software pattern and the template is configured to present the data of the REST resource of the web application in a second form, wherein the second form is accessible to mobile devices; program instructions to retrieve the template; program instructions to extract a schema defined for the REST resource, wherein the schema includes a field with a name corresponding to a type of the data of the REST resource; and program instructions to generate a mobile web application that presents the data of the REST resource of the web application in the second form based, at least in part, on the REST resource and the template, wherein the mobile web application includes a field name indicator corresponding to the type of data of the REST resource, and wherein the field name indicator is the name corresponding to the type of data of the REST resource from the extracted schema. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer system for mobilizing a web application, the computer system comprising:
-
one or more computer processors, one or more computer readable storage media, and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive a representational state transfer (REST) resource of a web application, wherein the web application presents data of the REST resource of the web application in a first form; program instructions to analyze the REST resource to identify a pattern in the REST resource; program instructions to determine that the identified pattern in the REST resource corresponds to a first pattern, wherein the first pattern is a predefined pattern that is associated with a template, and wherein the template utilizes a model-view-controller (MVC) software pattern and the template is configured to present the data of the REST resource of the web application in a second form, wherein the second form is accessible to mobile devices; program instructions to retrieve the template; program instructions to extract a schema defined for the REST resource, wherein the schema includes a field with a name corresponding to a type of the data of the REST resource; and program instructions to generate a mobile web application that presents the data of the REST resource of the web application in the second form based, at least in part, on the REST resource and the template, wherein the mobile web application includes a field name indicator corresponding to the type of data of the REST resource, and wherein the field name indicator is the name corresponding to the type of data of the REST resource from the extracted schema. - View Dependent Claims (16, 17, 18)
-
Specification