×

Method for synchronously binding an external behavior to a web page element

  • US 8,627,198 B2
  • Filed: 05/30/2008
  • Issued: 01/07/2014
  • Est. Priority Date: 09/29/2000
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product comprising:

  • a computer storage media having stored thereon, computer-executable instructions for implementing a method in a computer system, the method comprising;

    receiving at a browser application, an HTML page for processing and displaying one or more HTML elements declared therein, the HTML page comprising an import tag, having an import instruction for importing element behavior into a declared namespace that is associated with the import tag, wherein the declared namespace is used to ensure that the element behavior has a unique qualifier;

    upon an initial automatic parsing of the import tag within the HTML page, processing the import instruction to subsequently link an implementation of the element behavior with a custom HTML element of the one or more HTML elements defined within the body of the HTML page by using the declared namespace as part of a label for the custom element of the one or more elements, wherein the element behavior is a file or binary behavior component separate from the one or more elements within the HTML page and wherein the element behavior encapsulates specific functionality or behavior for the custom HTML element of the one or more HTML elements defined thereby; and

    upon parsing of the import instruction, suspending one or more other threads, activities, or both, until the contents of the element behavior have been downloaded, and allowing the element behavior to be available declaratively to bind synchronously to the custom HTML element of the one or more HTML elements; and

    prior to processing the custom HTML element of the one or more HTML elements, producing an instance of the element behavior making the specific functionality immediately and declaratively available;

    upon further parsing of the HTML page, determining that the label for the custom HTML element of the one or more HTML elements comprises the declared namespace; and

    based on the determining that the label for the custom HTML element of the one or more HTML elements comprises the declared namespace, attaching the instance of the element behavior to the custom HTML element of the one or more HTML elements, thereby synchronously binding the instance of the element behavior to the custom HTML element of the one or more elements such that;

    (i) the instance of the element behavior is permanently bound to the custom HTML element of the one or more HTML elements, and (ii) the custom HTML element is processed as if it were a non-custom HTML element.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×