Object oriented web application framework
First Claim
Patent Images
1. A computer-readable storage device having computer-executable components executable by a processing device to perform a method, the processing device accessing a local memory, comprising:
- (a) receiving a web-page including elements defined to access a plurality of resources in a JavaScript framework provided to the processing device in local memory, the resources including methods interpreted by a browser to create resource objects;
(b) parsing the web-page to define instances of objects based on bindings to the resources defined by elements in the web-page;
(c) downloading a base set of resources in a core framework library of the JavaScript framework to the local memory;
(d) determining if additional resources not included in the local memory are needed based on the bindings declared in the web-page and if so, downloading the additional resources to a resource cache in local memory;
(e) managing instances of the objects by maintaining a global list of binding declarations maintained by the JavaScript framework; and
(f) displaying the web-page in the browser using one or more of the objects.
2 Assignments
0 Petitions
Accused Products
Abstract
A framework for implementing web-based applications using standard object-oriented programming techniques. The framework may be implemented by computer-executable components executable by a Web browser is provided. The components include a resource creation method for creating resource objects, a page interpreter creating instances of objects based on bindings defined in a web-page, and a lifecycle management component for managing instances of the objects.
18 Citations
18 Claims
-
1. A computer-readable storage device having computer-executable components executable by a processing device to perform a method, the processing device accessing a local memory, comprising:
-
(a) receiving a web-page including elements defined to access a plurality of resources in a JavaScript framework provided to the processing device in local memory, the resources including methods interpreted by a browser to create resource objects; (b) parsing the web-page to define instances of objects based on bindings to the resources defined by elements in the web-page; (c) downloading a base set of resources in a core framework library of the JavaScript framework to the local memory; (d) determining if additional resources not included in the local memory are needed based on the bindings declared in the web-page and if so, downloading the additional resources to a resource cache in local memory; (e) managing instances of the objects by maintaining a global list of binding declarations maintained by the JavaScript framework; and (f) displaying the web-page in the browser using one or more of the objects. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of providing a web-based application from a server to a client, comprising:
-
retrieving a web-page, the web-page including at least a structure component, a rendering component and one or more behavior bindings; retrieving a plurality of base resources comprising a JavaScript resource framework in at least one framework file called in the web-page and interpretable by a Web-browser, the base resources including methods interpreted by a browser to create resource objects; parsing the web-page to create instances of objects based on bindings to the base resources defined by elements in the web-page; determining if additional resources not provided in the at least one framework file is required and if so, downloading the additional resources to a local memory cache; registering one or more binding instances by type with a global list of binding instances; receiving a notification when a second instance of a type of a binding instance is created; constructing binding instances for the web-page after all binding instances having been determined; and displaying the web-page using one or more instances of the objects. - View Dependent Claims (13, 14)
-
-
15. A method of creating a web-page rendered on a computing device, comprising:
-
storing plurality of resources comprising a JavaScript framework in a first base resource file compatible with a first type of web browser and a second base resource file compatible with at least one second type of web browser; defining at least one resource object accessible by the JavaScript framework in the web-page; responsive to a call for the web-page, providing the web-page to a browser application; responsive to a call for the JavaScript framework, providing at least the first base resource file or the second base resource file to a web browser; wherein the web-page includes one or more declarations of bindings which define instances of objects based on the resources in the first base resource file or the second base resource file defined by elements in the web-page, and the web browser parses the web-page to determine all bindings defined the web-page to ascertain whether if additional resources not provided in the at least the first base resource file or the second base resource file required to render the web-page and if so, receiving a request for the additional resources and providing the additional resources responsive to the request; and wherein the web browser prevents constructing binding instances for the web-page until all binding instances having been determined and all resources provided after which the web-page may be displayed using one or more instances of the objects. - View Dependent Claims (16, 17, 18)
-
Specification