Generating style sheets during runtime
AssigneeOracle International Corporation
InventorYoung Liu
Life of this patent
Estimating the term…
Abstract
Style sheets for resources are generated during runtime. Style sheets may be generated using current values for attributes of a resource. A new style sheet may be generated, at runtime, after a request for the resource has been received. The resource is modified to reference the new style sheet and the modified resource is transmitted to the client device. The new style sheet is transmitted to the client device in response to another request, from the client device, for the new style sheet identified in the modified resource.
Claims21
A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
- determining that a last-generated style sheet corresponding to a particular resource is outdated;
- and
- responsive to the determining operation:
- generating an updated style sheet for the particular resource based at least on a value for at least one attribute of the particular resource based on a plurality of values currently configured for a respective plurality of attributes of the particular resource, the generating the updated style sheet comprising modifying a style sheet template by replacing a variable name with a corresponding value associated with the at least one attribute of the particular resource;
- wherein the variable name in the style sheet template is not valid for evaluation as part of a valid style sheet prior to the modifying operation.
A method comprising:
- determining that a last-generated style sheet corresponding to a particular resource is outdated;
- and
- responsive to the determining operation:
- generating an updated style sheet for the particular resource based at least on a value for at least one attribute of the particular resource based on a plurality of values currently configured for a respective plurality of attributes of the particular resource, the generating the updated style sheet comprising modifying a style sheet template by replacing a variable name with a corresponding value associated with the at least one attribute of the particular resource;
- wherein the variable name in the style sheet template is not valid for evaluation as part of a valid style sheet prior to the modifying operation.
A system comprising:
- at least one device including a hardware processor;
- the system being configured to perform operations comprising:
- determining that a last-generated style sheet corresponding to a particular resource is outdated;
- and
- responsive to the determining operation:
- generating an updated style sheet for the particular resource based at least on a value for at least one attribute of the particular resource based on a plurality of values currently configured for a respective plurality of attributes of the particular resource, the generating the updated style sheet comprising modifying a style sheet template by replacing a variable name with a corresponding value associated with the at least one attribute of the particular resource;
- wherein the variable name in the style sheet template is not valid for evaluation as part of a valid style sheet prior to the modifying operation.
Dependencies are inferred from the claim text.