Flexible, event-driven JavaScript server architecture
First Claim
Patent Images
1. A server system having a processor and a memory, and comprising:
- a core browser engine written in a native language for parsing an HTML document that includes at least one of a server script for execution by a server and a proxy script including a proxied function, for interpreting at least one of the server script and the proxy script, and for creating a Document Object Model (“
DOM”
) corresponding to the HTML document, wherein the core browser engine is executed on a server computer coupled to a client computer over a network;
a server framework component written in an extensible interpreted language different from the language of the core browser engine, the framework component comprising a plurality of registered event handlers for performing the business logic of the server system and for modifying the DOM corresponding to the HTML document by at least one of loading external content into the HTML document in response to executing the server script, removing the server script from the HTML document, and replacing in the proxy script the proxied function with a proxy; and
a bridge component functionally coupled between the core browser engine and the server framework component configured to send events to the server framework component during defined moments of processing the HTML document by the core browser engine, the events comprising data relevant to the processing of the HTML document, wherein the HTML document is rendered through a web browser executed on the client computer.
4 Assignments
0 Petitions
Accused Products
Abstract
A script server architecture is disclosed herein. The script server architecture includes a core comprising means for creating a DOM node in a HTML document, a framework written in JavaScript, the framework comprising a plurality of registered event handlers for performing the business logic of the script server architecture and means for modifying the DOM of a HTML document, and means for bridging the core and the framework.
-
Citations
16 Claims
-
1. A server system having a processor and a memory, and comprising:
-
a core browser engine written in a native language for parsing an HTML document that includes at least one of a server script for execution by a server and a proxy script including a proxied function, for interpreting at least one of the server script and the proxy script, and for creating a Document Object Model (“
DOM”
) corresponding to the HTML document, wherein the core browser engine is executed on a server computer coupled to a client computer over a network;a server framework component written in an extensible interpreted language different from the language of the core browser engine, the framework component comprising a plurality of registered event handlers for performing the business logic of the server system and for modifying the DOM corresponding to the HTML document by at least one of loading external content into the HTML document in response to executing the server script, removing the server script from the HTML document, and replacing in the proxy script the proxied function with a proxy; and a bridge component functionally coupled between the core browser engine and the server framework component configured to send events to the server framework component during defined moments of processing the HTML document by the core browser engine, the events comprising data relevant to the processing of the HTML document, wherein the HTML document is rendered through a web browser executed on the client computer. - View Dependent Claims (2, 3, 4)
-
-
5. A system comprising:
a web-server system executed on a server computer of a networked computer system, the web-server system comprising; a HTTP request server, a handler component in communication with the HTTP request server, a JavaScript server architecture in communication with the handler component, the JavaScript server architecture comprising; a core browser engine written in a native language excluding JavaScript or a similar extensible programming a e for parsing an HTML document comprising a server script for execution by a server, and a proxy script including a proxied function, for interpreting the server script and the proxy script, and for creating a DOM corresponding to the HTML document, a server framework component written in JavaScript or the similar extensible programming language, the framework component comprising a plurality of registered event handlers for performing the business logic of the JavaScript server architecture, and for modifying the DOM corresponding to the HTML document by at least one of loading external content into the HTML document in response to executing the at least one server script, removing the server script from the HTML document, and replacing in the proxy script the proxied function with a proxy, and a bridge component functionally coupled between the core browser engine and the server framework component configured to send events to the server framework component during defined moments of processing the HTML document by the core browser engine, the events comprising data relevant to the processing of the HTML document, wherein the HTML document is rendered through a web browser executed on a client computer coupled to the server computer. - View Dependent Claims (6)
-
7. A non-transitory computer-readable storage medium with an executable computer program product, which when executed by a server performs a method comprising:
-
parsing, by a core, an HTML document comprising at least one of a server script for execution by a server and a proxy script including a proxied function, wherein the core is written in a native language different from JavaScript or a similar extensible language; interpreting, by the core, at least one of the server script and the proxy script; creating a DOM corresponding to the HTML document; and modifying, by a framework written in JavaScript or the similar extensible language, the DOM corresponding to the HTML document by at least one of loading external content into the HTML document in response to executing the at least one server script, removing the server script from the HTML document, and replacing in the proxy script the proxied function with a proxy after notifying through a bridge component functionally coupled between the core framework events encountered during defined moments of processing the HTML document by the core browser engine, the events comprising data relevant to the processing of the HTML document. - View Dependent Claims (8)
-
-
9. A method for processing a HTML page on a server, the method comprising:
-
encountering by a core of a JavaScript architecture an HTML document comprising at least one of a server script for execution by a server and a proxy script including a proxied function, wherein the core is written in a native language excluding JavaScript or a similar extensible programming language; creating a DOM corresponding to the HTML document; configuring the core to send events to a framework of the JavaScript architecture during defined moments of processing the HTML document by the core, the events comprising data relevant to the processing of the HTML document wherein the framework is written in JavaScript or the similar extensible programming language; notifying the framework that an event has occurred through a bridge component functionally coupled between the core browser engine and the server framework component; inspecting the HTML document by the framework; and modifying, by the framework, the DOM corresponding to the HTML document by at least one of loading external content into the HTML document in response to executing the at least one server script, removing the server script from the HTML document, and replacing in the proxy script the proxied function with a proxy. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification