|Publication number||US8191041 B2|
|Application number||US 11/648,962|
|Publication date||May 29, 2012|
|Priority date||Jan 3, 2007|
|Also published as||US20080163168|
|Publication number||11648962, 648962, US 8191041 B2, US 8191041B2, US-B2-8191041, US8191041 B2, US8191041B2|
|Original Assignee||Microsoft Corporation|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (23), Non-Patent Citations (4), Referenced by (5), Classifications (7), Legal Events (3)|
|External Links: USPTO, USPTO Assignment, Espacenet|
In some embodiments, the pre-processing framework is extensible and scalable in that it may accommodate the addition of or modification to any number of handler programs. A new handler program may be developed and invoked, for example, via a new pre-processing command which is defined to the pre-processor component and mapped to the handler program. In some implementations, the framework may provide a preliminary set of handler programs which provide functionality for dealing with common pre-processing issues. However, the invention is not limited to such an implementation.
The accompanying drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component that is illustrated in various figures is represented by a like numeral. For purposes of clarity, not every component may be labeled in every drawing. In the drawings:
In this exemplary syntax, “<preprocesstag>” defines generally the handler program which is to be invoked to perform pre-processing functions, and “<parameters>” defines generally arguments, parameters, and/or other information which are passed to the handler program for performing these functions. Of course, it should be appreciated that any suitable command syntax may be employed, and that the above represents merely one example. Any suitable syntax may be employed, as the invention is not limited in this respect.
In some embodiments, when pre-processor component 110 encounters a command in a redefined syntax within pre-release file version 105, it employs mapping 112 to determine which handler program(s) 115 to invoke. Mapping 112 may take any suitable form. For example, in some embodiments mapping 112 is provided in the form of a data structure storing a set of name-value pairs. In these embodiments, when pre-processor component 110 encounters a command in the predefined syntax, it performs a lookup on the data structure based on the command encountered, and locates the handler program(s) based on the indication provided. Of course, numerous implementations are possible.
A pre-release file may include any suitable number of commands. Further, any suitable number of handler programs (including one) may be invoked to perform pre-processing functions on pre-release file version 105. The invention is not limited in this respect.
#include (file 1, file 2, . . . )
The syntax given above is merely exemplary, and that any suitable syntax may be employed. Further, it should be appreciated that any suitable number of additional files, or other data structures, may be incorporated into a pre-release file version, as the invention is not limited in this respect.
If it is determined in act 220 that no commands in the predefined syntax are present, process 200 ends. However, if it is determined that one or more commands are present in the file, the process proceeds to act 230, wherein one or more handler programs are determined for each command. This also may be performed in any of numerous ways. For example, in some embodiments, pre-processor component 110 may employ mapping 112 to determine the handler program(s) associated with each command defined within the pre-release file. For example, mapping 112 may define a relationship between each command and one or more of handler programs 115.
A pre-processing framework providing the functionality and capabilities described herein may be implemented in any of numerous ways. For example, in some embodiments, a pre-processing framework may include a pre-processing component which is implemented as a stand-alone program (or programs) that a user executes during a build process, so as to convert one or more pre-release file versions to release file versions. In other embodiments, a pre-processing framework may include one or more components which are integrated with or otherwise implemented via a web server application, such that release file versions are dynamically generated in response to web page requests processed by the web server. For example, in some embodiments, one or more components may be implemented via a filter program, which those skilled in the art will recognize are commonly used to provide functionality associated with responding to web page requests. For example, a filter program may be employed to provide client authentication functionality. As an example, a filter program may maintain or have access to a list of internet protocol (IP) addresses which are blocked (e.g., are not allowed to request certain web pages). If a web page request is issued from an IP address which is on the list of blocked addresses, the request may be denied.
Of course, it should be appreciated that pre-processing functionality need not be implemented via a filter program, as numerous other implementations are possible. For example, the web server application itself may perform pre-processing functions, or may be configured to invoke a separate program which is not a filter program. Numerous other implementations are possible.
A pre-processing framework implemented in accordance with embodiments of the invention may be flexible and extensible. For example, in some embodiments, a pre-processing framework may accommodate any number of handler programs to provide any desired pre-processing functionality. In some embodiments, a facility is provided for defining new handler programs and/or commands for invoking those commands, removing handler programs, and modifying existing handler programs so as to, for example, improve the pre-processing functionality provided thereby.
An exemplary pre-processing framework 400 implemented in accordance with embodiments of the invention is depicted in
In the example shown, framework 400 is designed to accommodate new handler program 115E. For example, handler program 115E may be incorporated into framework 400 by providing programmed instructions defining handler program 115E to framework 400, and modifying mapping 112 to define a command in a predefined syntax and to reference handler program 115E. Thereafter, when pre-processor component 110 encounters the command defined in mapping 112, pre-processor component 110 may invoke handler program 115E. Of course, this manner of implementing new handler programs is merely exemplary, and those skilled in the art may envision numerous other techniques.
A handler program may be implemented in any suitable fashion, as the invention is not limited in this respect. As an example, in some embodiments, handler programs (and pre-processor component 110) may be written in C#.
Processing the command above may, in some embodiments, generate debug log statements for the release file version, thereby generating a release file version without debug statements.
Various aspects of the systems and methods for practicing features of the invention may be implemented on one or more computer systems, such as the exemplary computer system 500 shown in
The processor 503 may also execute one or more computer programs to implement various functions. These computer programs may be written in any type of computer programming language, including a procedural programming language, object-oriented programming language, macro language, or combination thereof. These computer programs may be stored in storage system 506. Storage system 506 may hold information on a volatile or nonvolatile medium, and may be fixed or removable. Storage system 506 is shown in greater detail in
Storage system 506 typically includes a computer-readable and writeable nonvolatile recording medium 601, on which signals are stored that define a computer program or information to be used by the program. The medium may, for example, be a disk or flash memory. Typically, in operation, the processor 503 causes data to be read from the nonvolatile recording medium 601 into a volatile memory 602 (e.g., a random access memory, or RAM) that allows for faster access to the information by the processor 503 than does the medium 601. This memory 602 may be located in storage system 506, as shown in
It should be appreciated that a computer may be embodied in any of a number of forms, such as a rack-mounted computer, a desktop computer, a laptop computer, or a tablet computer. Additionally, a computer may be embedded in a device not generally regarded as a computer but with suitable processing capabilities, including a Personal Digital Assistant (PDA), a smart phone or any other suitable portable or fixed electronic device.
A computer may have one or more input and output devices. These devices can be used, among other things, to present a user interface. Examples of output devices that can be used to provide a user interface include printers or display screens for visual presentation of output and speakers or other sound generating devices for audible presentation of output. Examples of input devices that can be used for a user interface including keyboards, and pointing devices, such as mice, touch pads, and digitizing tables. As another example, a computer may receive input information through speech recognition or in other audible format.
Computers may be interconnected by one or more networks in any suitable form, including a local area network or a wide area network, such as an enterprise network or the Internet. Networks may be based on any suitable technology and may operate according to any suitable protocol and may include wireless networks, wired networks or fiber optic networks. Also, the various methods or processes outlined herein may be coded as software that is executable on one or more processors that employ any one of a variety of operating systems or platforms. Additionally, such software may be written using any of a number of suitable programming languages and/or conventional programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine.
In this respect, the invention may be embodied as a computer readable medium (or multiple computer readable media) (e.g., a computer memory, one or more floppy discs, compact discs, optical discs, magnetic tapes, flash memories, circuit configurations in Field Programmable Gate Arrays or other semiconductor devices, etc.) encoded with one or more programs that, when executed on one or more computers or processors, perform methods that implement the various embodiments of the invention described above. The computer readable medium or media can be transportable, such that the program or programs stored thereon can be loaded onto one or more different computers or other processors to implement various aspects of the present invention as discussed above.
The terms “program” or “software” are used herein in a generic sense to refer to any type of computer code or set of computer-executable instructions that can be employed to program a computer or other processor to implement various aspects of the present invention as discussed above. Additionally, it should be appreciated that one or more computer programs that, when executed, perform methods of the present invention need not reside on a single computer or processor, but may be distributed in a modular fashion amongst a number of different computers or processors to implement various aspects of the present invention.
Computer-executable instructions may be in many forms, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically the functionality of the program modules may be combined or distributed as desired in various embodiments.
Various aspects of the present invention may be used alone, in combination, or in a variety of arrangements not specifically discussed in the embodiments described in the foregoing and is therefore not limited in its application to the details and arrangement of components set forth in the foregoing description or illustrated in the drawings. For example, aspects described in one embodiment may be combined in any manner with aspects described in other embodiments.
Use of ordinal terms such as “first,” “second,” “third,” etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.
Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having,” “containing,” “involving,” and variations thereof herein, is meant to encompass the items listed thereafter and equivalents thereof as well as additional items.
Having thus described several aspects of at least one embodiment of this invention, it is to be appreciated various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description and drawings are by way of example only.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US6061698||Oct 22, 1997||May 9, 2000||International Business Machines Corporation||Merging tagged documents and scripts having dynamic content|
|US6256772||Nov 24, 1997||Jul 3, 2001||International Business Machines Corporation||Multilingual hierarchial scripting environment|
|US6424978||Dec 5, 1997||Jul 23, 2002||Siemens Corporate Research, Inc.||Formatting card-based hypermedia documents by automatic scripting|
|US20010044809||Dec 21, 2000||Nov 22, 2001||Parasnis Shashank Mohan||Process of localizing objects in markup language documents|
|US20020023143 *||Apr 3, 2001||Feb 21, 2002||Stephenson Mark M.||System and method for projecting content beyond firewalls|
|US20020023261 *||Jul 27, 2001||Feb 21, 2002||Goodwin Richard Glenn||Automatically generated objects within extensible object frameworks and links to enterprise resources|
|US20020174421 *||Mar 29, 2002||Nov 21, 2002||Zhao Ling Z.||Java application response time analyzer|
|US20030222901||May 28, 2002||Dec 4, 2003||Todd Houck||uPrime uClient environment|
|US20040030717||Nov 2, 2001||Feb 12, 2004||Paul Caplin||Extending hypermedia documents|
|US20040243609 *||Jul 1, 2004||Dec 2, 2004||Singh Jitendra K.||Internet enabled computer system management|
|US20050080880||Sep 17, 2004||Apr 14, 2005||Von Tetzchner Jon Stephenson||Presenting remote and local information in a web browser|
|US20050268225||Jul 28, 2005||Dec 1, 2005||Sun Microsystems, Inc.||Mechanism for automatic synchronization of scripting variables|
|US20060010134 *||Jul 9, 2004||Jan 12, 2006||Ebay Inc.||Method and apparatus for securely displaying and communicating trusted and untrusted internet content|
|US20060234548||Apr 18, 2005||Oct 19, 2006||Research In Motion Limited||Method and system for extending scripting languages|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US9154492 *||Sep 26, 2014||Oct 6, 2015||The University Of North Carolina At Charlotte||Moving target defense against cross-site scripting|
|US20150096006 *||Sep 26, 2014||Apr 2, 2015||The University Of North Carolina At Charlotte||Moving target defense against cross-site scripting|
|US20150222657 *||Apr 21, 2015||Aug 6, 2015||The University Of North Carolina At Charlotte||Moving target defense against cross-site scripting|
|U.S. Classification||717/115, 717/121, 717/118, 717/117|
|Feb 2, 2007||AS||Assignment|
Owner name: MICROSOFT CORPORATION, WASHINGTON
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HUANG, TAO;REEL/FRAME:018846/0949
Effective date: 20070201
|Dec 9, 2014||AS||Assignment|
Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034542/0001
Effective date: 20141014
|Nov 11, 2015||FPAY||Fee payment|
Year of fee payment: 4