IP Library Granted Patent US 8,566,807
Granted Patent B1
US 8,566,807 · App. 12/276,336 · Granted Oct 22, 2013

System and method for accessibility of document object model and JavaScript by other platforms

Inventors: Paul Colton (Hillsborough, CA); Uri Sarid (Menlo Park, CA); Kevin Edward Lindsey (Benbrook, TX)
Assignee: Appcelerator, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,566,807
App. No.
12/276,336
Granted
Oct 22, 2013
Kind
B1
Abstract

A method and system for allowing for access to a Document Object Model and JavaScript of Web-page on a server-side is disclosed herein. The present invention analyzes the JavaScript of the Web-page on the server-side with a JavaScript parser and engine. The present invention converts the Document Object Model and JavaScript of the web-page into an accessible format. The present invention allows for access of the accessible format of the Document Object Model and JavaScript of the Web-page by other platforms such as JAVA, RUBY-ON-RAILS, PHP and .NET.

Claims (51)

1. A method for allowing for access to a Document Object Model and JavaScript of a Web-page on a server-side, the method comprising:

retrieving a HyperText Markup Language (HTML) document of a Web-page on a server side;

analyzing a JavaScript code of the Web-page at the server-side with a JavaScript parser and engine to build a Document Object Model of the Web page;

performing the JavaScript code that is tagged to be performed by the server-side,

stripping out the JavaScript code that is tagged to only be performed by the server-side from the Document Object Model;

converting the Document Object Model and the JavaScript code of the Web-page into an accessible format; and

allowing for access of the accessible format of the Document Object Model and the JavaScript code of the Web-page using other platforms.

2. The method according to claim 1 wherein the platform is based PHP.

3. The method according to claim 1 wherein the platform is based JAVA.

4. The method according to claim 1 wherein the platform is based RUBY ON RAILS language.

5. A system for allowing for access to a Document Object Model and JavaScript of a Web-page on a server-side, the system comprising:

a Web-page;

a network;

a Web-browser having means for transmitting a request for the web-page over the network;

a Web-server comprising

means for retrieving the web-page,

a JavaScript parser and engine for analyzing a JavaScript code of the Web page and building a Document Object Model of the Web page,

means for converting the Document Object Model and JavaScript of the web-page into an accessible format,

means for performing JavaScript code that is tagged to be performed by the server-side;

means for stripping out the JavaScript code that is tagged to only be performed by the server-side from the Document Object Model; and

means for allowing for access of the accessible format of the Document Object Model and JavaScript of the web-page by other platforms.

6. The system according to claim 5 wherein the platform is based PHP.

7. The system according to claim 5 wherein the platform is based JAVA.

8. The system according to claim 5 wherein the platform is based RUBY ON RAILS language.

9. The system according to claim 5 wherein the server-side uses HyperText Markup Language HTML/Document Object Model, Cascading Style Sheets and JavaScript.

10. A method for allowing for access to a Document Object Model and JavaScript of a Web-page on a server-side, the method comprising:

receiving a request by a server side;

creating a HyperText Markup Language (HTML) document of a Web-page on a server side based upon the request;

analyzing a JavaScript code of the Web-page at the server-side with a JavaScript parser and engine to build a Document Object Model of the Web page;

performing the JavaScript code that is tagged to be performed by the server-side;

stripping out the JavaScript code that is tagged to only be performed by the server-side from the Document Object Model; and

allowing access to the Document Object Model and the JavaScript code of the Web-page using other platforms.

11. The method according to claim 10 wherein the performing of the JavaScript code that are tagged to be performed by the server-side is set to runat=“server” or runat=“both.”

12. The method according to claim 10 wherein the stripping of the JavaScript code that is tagged to only be performed by the server-side is set to runat=“server.”

13. The method according to claim 10 wherein the stripping of the JavaScript code that is tagged to only be performed by the server-side is set to runat=“server-proxy.”

14. The method according to claim 10 further comprising:

receiving a callback by the server-side; and

performing callback functions in the call back by the server-side.

15. The method according to claim 13 further comprising:

packaging results of the callback functions by the server-side; and

returning the results in a response to the callback by the server-side.

16. The method according to claim 10 wherein the HyperText Markup Language (HTML) document is initially empty.

17. The method according to claim 16 further comprising:

retrieving to the HyperText Markup Language (HTML) document saved functions needed to be available during a callback.

18. The method according to claim 17 further comprising:

receiving the callback by the server-side; and

performing the saved functions by the server-side.

19. The method according to claim 18 further comprising:

packaging results of the saved functions by the server-side; and

returning the results in a response to the callback by the server-side.

20. The method according to claim 10 wherein the allowing access to the JavaScript code of the Web-page using other platforms only includes functions not tagged with a runat attribute or a runat attribute set to runat=“client” or runat=“both.”

Assignments (4)
SECURITY INTEREST Recorded Aug 27, 2015
From: APPCELERATOR, INC.
To: SILICON VALLEY BANK
Reel/Frame 036442/0008 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 5, 2012
From: COLTON, PAUL; SARID, URI; LINDSEY, KEVIN EDWARD
To: APPCELERATOR, INC.
Reel/Frame 028491/0912 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 26, 2011
From: APTANA, INC.
To: APPCELERATOR, INC.
Reel/Frame 026181/0015 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 22, 2008
From: COLTON, PAUL; SARID, URI; LINDSEY, KEVIN EDWARD
To: APTANA INCORPORATED
Reel/Frame 021878/0685 →
Continuity (1)
Provisional Application 60989907 · Nov 23, 2007