WEB APPLICATION FRAMEWORK
First Claim
1. A computer-implemented method of dynamically extracting context associated with a web request, comprising:
- at a context analyzer layer, receiving a web request context, wherein the web request context comprises a coded expression;
at the context analyzer layer, determining if the coded expression contains a property name;
if the coded expression contains a property name, replacing at least a part of the coded expression with a value of the property name at the context analyzer layer;
at the context analyzer layer, determining if the coded expression starts with a request parameter attribute;
if the coded expression starts with a request parameter attribute, replacing at least a part of the coded expression with a value of a parameter name at the context analyzer layer;
at the context analyzer layer, determining if the coded expression starts with a request cookie attribute;
if the coded expression starts with a request cookie attribute, replacing at least a part of the coded expression with a value of a cookie name at the context analyzer layer;
at the context analyzer layer, determining if the coded expression starts with request attribute;
if the coded expression starts with request attribute, replacing at least a part of the coded expression with a value of an attribute name at the context analyzer layer;
at the context analyzer layer, determining if the coded expression starts with a request header attribute;
if the coded expression starts with a request header attribute, replacing at least a part of the coded expression with a value of a header name attribute at the context analyzer layer;
at the context analyzer layer, determining if the coded expression starts with a context attribute;
if the coded expression starts with a context attribute, attempting to identify a context analyzer name class and replacing at least a part of the coded expression with a value of a context key of the context analyzer name class at the context analyzer layer;
at the context analyzer layer, invoking the context key of the context analyzer name class;
at the context analyzer layer, determining if the context analyzer name class is not identified or if the value of the context key is not specified;
if the context analyzer name class is not identified or if the value of the context key is not specified, throwing an invalid configuration exception.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure extends to organizing content and logic for business processes and information technology infrastructure and facilitating collaborative content creation. Embodiments comprise an extensible web application framework having a presentation tier configurable during runtime and dynamically configurable external services for implementation of business rules. Implementations of the present disclosure may integrate with virtually any external content management system. Embodiments of the present disclosure may be deployed as a model-view-controller (“MVC”) framework pattern.
16 Citations
13 Claims
-
1. A computer-implemented method of dynamically extracting context associated with a web request, comprising:
-
at a context analyzer layer, receiving a web request context, wherein the web request context comprises a coded expression; at the context analyzer layer, determining if the coded expression contains a property name; if the coded expression contains a property name, replacing at least a part of the coded expression with a value of the property name at the context analyzer layer; at the context analyzer layer, determining if the coded expression starts with a request parameter attribute; if the coded expression starts with a request parameter attribute, replacing at least a part of the coded expression with a value of a parameter name at the context analyzer layer; at the context analyzer layer, determining if the coded expression starts with a request cookie attribute; if the coded expression starts with a request cookie attribute, replacing at least a part of the coded expression with a value of a cookie name at the context analyzer layer; at the context analyzer layer, determining if the coded expression starts with request attribute; if the coded expression starts with request attribute, replacing at least a part of the coded expression with a value of an attribute name at the context analyzer layer; at the context analyzer layer, determining if the coded expression starts with a request header attribute; if the coded expression starts with a request header attribute, replacing at least a part of the coded expression with a value of a header name attribute at the context analyzer layer; at the context analyzer layer, determining if the coded expression starts with a context attribute; if the coded expression starts with a context attribute, attempting to identify a context analyzer name class and replacing at least a part of the coded expression with a value of a context key of the context analyzer name class at the context analyzer layer; at the context analyzer layer, invoking the context key of the context analyzer name class; at the context analyzer layer, determining if the context analyzer name class is not identified or if the value of the context key is not specified; if the context analyzer name class is not identified or if the value of the context key is not specified, throwing an invalid configuration exception. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A web application framework system, comprising:
-
a context analyzer layer comprising; a request context module adapted to receive a web request context and a context parser module; wherein the context parser module is adapted to; receive the web request context, wherein the web request context comprises a coded expression; determine if the coded expression contains a property name; replace at least a part of the coded expression with a value of the property name at the context analyzer layer; determine if the coded expression starts with a request parameter attribute; replace at least a part of the coded expression with a value of a parameter name at the context analyzer layer; determine if the coded expression starts with a request cookie attribute replace at least a part of the coded expression with a value of a cookie name at the context analyzer layer; determine if the coded expression starts with request attribute replace at least a part of the coded expression with a value of an attribute name at the context analyzer layer; determine if the coded expression starts with a request header attribute replace at least a part of the coded expression with a value of a header name attribute at the context analyzer layer; determine if the coded expression starts with a context attribute; attempt to identify a context analyzer name class and replace at least a part of the coded expression with a value of a context key of the context analyzer name class at the context analyzer layer; and if the context analyzer name class is not identified or if the value of the context key is not specified, throw an invalid configuration exception. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer-implemented method of dynamically extracting context associated with a web request, comprising:
-
at a context analyzer layer, receiving a web request context, wherein the web request context comprises a coded expression; if the coded expression contains a property name, replacing at least a part of the coded expression with a value of the property name at the context analyzer layer; if the coded expression starts with a request parameter attribute, replacing at least a part of the coded expression with a value of a parameter name at the context analyzer layer; if the coded expression starts with a request cookie attribute, replacing at least a part of the coded expression with a value of a cookie name at the context analyzer layer; if the coded expression starts with request attribute, replacing at least a part of the coded expression with a value of an attribute name at the context analyzer layer; if the coded expression starts with a request header attribute, replacing at least a part of the coded expression with a value of a header name attribute at the context analyzer layer; if the coded expression starts with a context attribute, attempting to identify a context analyzer name class and replacing at least a part of the coded expression with a value of a context key of the context analyzer name class at the context analyzer layer; at the context analyzer layer, invoking the context key of the context analyzer name class; if the context analyzer name class is not identified or if the value of the context key is not specified, throwing an invalid configuration exception.
-
Specification