IP Library Granted Patent US 8,429,604
Granted Patent B1
US 8,429,604 · App. 12/115,348 · Granted Apr 23, 2013

System and method for extracting behavioral code from a software code file

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,429,604
App. No.
12/115,348
Granted
Apr 23, 2013
Kind
B1
Abstract

Systems and methods for extracting behavioral code from a software code file are disclosed. A behavioral code extractor logic accesses an existing software code file that comprises structural code and behavioral code. The behavioral code extractor logic extracts, from the software code file, at least a portion of the behavioral code into a separate file. And, the behavioral code extractor logic generates binding code for referencing the extracted behavioral code to maintain run-time behavior of the software code file consistent with its run-time behavior before the extracting. In certain embodiments, the software code file is a source file for a web page, and the structural code comprises markup language code. The behavioral code may comprise scripting language code and/or event attributes code defined by markup language.

Claims (58)

1. A computer-implemented method comprising:

accessing a software code file that comprises structural code and behavioral code;

extracting from the software code file, at least a portion of the behavioral code into a separate file;

generating binding code for referencing the extracted behavioral code to maintain run-time behavior of the software code file consistent with its run-time behavior before said extracting, wherein behavioral code extractor logic inserts into the software code file said binding code for referencing the extracted behavioral code; and

wherein said extracting comprises enabling, by a user interface, selection of one or more of identified behavioral code that is to be extracted from the software code file into the separate file; and

extracting the selected one or more of the identified behavioral code from the software code file into the separate file.

2. The method of claim 1 wherein said accessing, extracting, and generating are performed by behavioral code extractor logic.

3. The method of claim 2 wherein said behavioral code extracting logic is part of a software code authoring tool in which said software code file is being authored.

4. The method of claim 1 wherein said structural code comprises markup language code.

5. The method of claim 4 wherein said behavioral code comprises scripting language code.

6. The method of claim 5 wherein said scripting language code comprises JavaScript code.

7. The method of claim 4 wherein said behavioral code comprises event attributes defined by markup language code.

8. The method of claim 1 wherein said software code file comprises a source file for a web page.

9. The method of claim 1 wherein said extracting is responsive to a user request input to a software code authoring tool.

10. The method of claim 1 wherein said extracting comprises:

identifying the behavioral code contained in the software code file; and

presenting the user interface that includes a list of the identified behavioral code contained in the software code file.

11. The method of claim 1 further comprising:

presenting the user interface that includes a list identifying one or more behavioral code to be extracted from the software code file into the separate file contained in the software code file; and

presenting in the user interface a corresponding binding identifier for each of the one or more behavioral code to be extracted from the software code file, wherein the binding identifier is utilized within binding code for referencing the corresponding extracted behavioral code.

12. The method of claim 11 further comprising:

enabling, by the user interface, modification of the one or more binding identifier.

13. The method of claim 1 further comprising:

attaching the behavioral code to the software code file at run-time of the software code file.

14. Computer-executable software code stored to a non-transitory computer-readable medium, which when executed by a computer causes the computer to perform a method comprising:

receiving a request to extract behavioral code from a software code file that comprises said behavioral code and structural code;

responsive to the request, extracting from the software code file at least a portion of the behavioral code into a separate file, and generating binding code for referencing the extracted behavioral code to maintain run-time behavior of the software code file consistent with its run-time behavior before said extracting;

inserting, into the software code file, said binding code for referencing the extracted behavioral code; and

wherein said extracting comprises enabling, by a user interface, selection of one or more of identified behavioral code that is to be extracted from the software code file into the separate file; and

extracting the selected one or more of the identified behavioral code from the software code file into the separate file.

15. The computer-executable software code of claim 14 wherein said receiving is by a software code authoring tool in which the software code file is being authored.

16. The computer-executable software code of claim 14 wherein said extracting comprises:

identifying the behavioral code contained in the software code file; and

presenting the user interface that includes a list of the identified behavioral code contained in the software code file.

17. The computer-executable software code of claim 16 further comprising:

presenting in the user interface a corresponding binding identifier for each of the one or more behavioral code to be extracted from the software code file, wherein the binding identifier is utilized within the binding code for referencing the corresponding extracted behavioral code; and

enabling, by the user interface, modification of the one or more binding identifier.

18. The computer-executable software code of claim 14 wherein said structural code comprises markup language code, and wherein said behavioral code comprises at least one of scripting language code and event handler code defined in a markup language.

19. The computer-executable software code of claim 18 wherein said behavioral code comprises JavaScript code.

20. The computer-executable software code of claim 14 further comprising:

attaching the behavioral code to the software code file at run-time of the software code file.

21. A system comprising:

non-transitory computer-readable medium to which instructions are stored; and

processor operable to execute said instructions that when executed by the processor causes the processor to

access a web page source code file that comprises structural code and behavioral code for the web page, wherein said behavioral code comprises at least one of scripting language code and event handler code,

extract, from the web page source code file, at least a portion of the behavioral code into a separate file,

insert, into the web page source code file, binding code for referencing the extracted behavioral code to maintain run-time behavior of the web page consistent with its run-time behavior said extracting, and

wherein a user interface enables selection of one or more of identified behavioral code that is to be extracted from the web page source code file into the separate file; and

wherein the one or more of the identified behavioral code is extracted from the web page source code file into the separate file.

22. The system of claim 21 wherein when executed by the processor said instructions further cause the processor to:

identify the behavioral code contained in the web page source code file;

present the user interface that includes a list of the identified behavioral code contained in the web page source code file.

23. The system of claim 22 wherein when executed by the processor said instructions further cause the processor to:

present in the user interface a corresponding binding identifier for each of the one or more behavioral code to be extracted from the web page source code file, wherein the binding identifier is utilized within the inserted binding code in the web page source code file for referencing the corresponding extracted behavioral code, and wherein the user interface enables modification of the one or more binding identifier.

24. The system of claim 21 wherein said behavioral code comprises JavaScript code.

25. The system of claim 21 wherein said event handler code comprises event attributes defined by markup language code.

26. The system of claim 21 further comprising:

attaching the behavioral code to the web page source code file at run-time of the web page source code file.

Assignments (1)
CHANGE OF NAME Recorded Mar 6, 2019
From: ADOBE SYSTEMS INCORPORATED
To: ADOBE INC.
Reel/Frame 048525/0042 →