Patent ID: 7418659
Filing Date: 2008-08-26
Classification: G06F

Abstract:
1. A computer-readable storage medium encoded with computer-executable instructions, the instructions comprising: analyzing a markup document to identify a plurality of elements declared within the markup document; identifying a Resources tag declared within the markup document; identifying a resource element declared within the Resources tag, wherein the Resource tag indicates to a markup compiler to create source code having identification information for the resource element within the source code and to not create an instance of the resource element until the resource element is requested at run-time; causing the markup compiler to compile the markup document to generate the source code, wherein the source code includes identification information for the resource element within the source code, wherein the identification information includes a public property that returns a method for creating an instance of the resource element when the resource element is requested at run-time, wherein the source code does not include an instance of the resource until the resource element is requested at run-time and the method is executed; receiving a request for the instance of the resource element after the source code is generated; and obtaining the identification information for the resource element and executing the method in the source code to create an instance of the resource element in response to the request.