System and method for tagging code to determine where the code runs

Information

  • Patent Grant
  • 8914774
  • Patent Number
    8,914,774
  • Date Filed
    Friday, November 14, 2008
    16 years ago
  • Date Issued
    Tuesday, December 16, 2014
    10 years ago
Abstract
A method, system, Web-environment and computer program product for tagging to code to determine a run location. The present includes identifying a plurality of sections of a code, according to runat attributes. Each of the sections of the code is tagged with a runat attribute according to where the section of the code should run. The code can run on the client-side, the server-side or both. The invention preferably operates with a system that allows for JavaScript to be utilized on the server-side.
Description
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT

Not Applicable


BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention is related to development of Web sites and applications. More specifically, the present invention relates to facilitated Internet communications between a client-side and a server-side.


2. Description of the Related Art


Prior to Rich Internet Applications, traditional Web applications involved a client-server architecture with all of the processing on the server side and the client-side used to display the HTML web-pages served by the server. Each time a user desired to view a new Web-page, a HTTP request was sent to the server and the requested Web-page was served to the Web browser on the client-side. Such a traditional system is shown in FIG. 1 with a Web-server 1000 on a server side receiving requests over the Internet 1005 from a Web-browser 1003 on a client-side.


Rich Internet Applications, such as Ajax, greatly improved on the traditional client-server architecture by allowing the client machine to dynamically render and partially refresh web pages based on an initial set of instructions from the server, user input, and small amounts of subsequent data dynamically requested from the server. As shown in FIG. 2, the client machine processes Ajax instructions to render a Web page for the user.


Early Web applications allowed a user's browser to send a request to a server. The server processed the request and responded to the browser with a Web page. When the user wanted to view a new page, another request was sent to the server and the server responded to the browser with a new Web page. Such a process resulted in a waste of bandwidth since much of the Web contents in the first Web page were also contained in the second web page. The need to resend the same information led to a much slower user interface of a Web application than that of a native application.


An emerging technology, called Ajax (Asynchronous and JavaScript XML), was developed for refreshing part of a page instead of refreshing the whole page on every interaction between the user and application. In an Ajax application, when a user submits a form in a page, a script program, usually a JavaScript program, resident on the Web browser receives the user's request and sends a XML (Extended Markup Language) HTTP (Hyper Text Transfer Protocol) request to the Web server in background so as to retrieve only the needed Web contents instead of the whole page and perform corresponding processing to partly refresh the page when receiving a response from the Web server. In this way, the application response time is shortened, because the amount of data exchanged between the Web browser and the Web server is greatly reduced. And the processing time of the Web server is saved because much of the processing is performed at the client side.


General definitions for terms utilized in the pertinent art are set forth below.


Ajax is the use of dynamic HTML, JavaScript and CSS to create dynamic and usually interactive Web sites and applications. A more detailed explanation of Ajax is set forth in Edmond Woychowsky, AJAX, Creating Web Pages with Asynchronous JavaScript and XML, Prentice Hall, 2007, which is hereby incorporated by reference in its entirety.


Applets or Java Applets are mini-executable programs named with the .class suffix and are placed on a Web page and provide interactive and multimedia uses.


Application Programming Interface (API) is a collection of computer software code, usually a set of class definitions, that can perform a set of related complex tasks, but has a limited set of controls that may be manipulated by other software-code entities. The set of controls is deliberately limited for the sake of clarity and ease of use, so that programmers do not have to work with the detail contained within the given API itself.


An Attribute provides additional information about an element, object or file. In a Document Object Model, an attribute, or attribute node, is contained within an element node.


Behavioral layer is the top layer and is the scripting and programming that adds interactivity and dynamic effects to a site.


Binding in a general sense is the linking of a library to an application program usually to prevent repetition of frequently utilized code.


Cascading Style Sheets (CSS) is a W3C standard for defining the presentation of Web documents.


Compiler is a computer program that translates a series of instructions written in one computer language into a resulting output in a different computer language.


Document Object Model (DOM) Element is an object contained in a Document Object Model (DOM). The term DOM is generally used to refer to the particular DOM held in the memory region being used by the Web browser. Such a DOM controls the Graphical Respondent Interface (GRI) or Graphical User Interface (GUI). The DOM is generated according to the information that the Web browser reads from the HTML file, and/or from direct JavaScript software instructions. Generally, there exists a unique DOM element for every unique HTML element. DOM elements are sometimes referred to as HTML/DOM elements, because the DOM element exists only because HTML code that was read by the Web browser listed some HTML element that had not previously existed, and thereby caused the Web browser to create that DOM element. Often specific elements of the greater set of HTML/DOM elements are identified by specifying an HTML/DOM checkbox element, or an HTML/DOM text input element. A more detailed explanation of the document object model is set forth in Jeremy Keith, DOM Scripting, Web Design with JavaScript and the Document Object Model, friends of, 2005, which is hereby incorporated by reference in its entirety.


HyperText Markup Language (HTML) is a method of mixing text and other content with layout and appearance commands in a text file, so that a browser can generate a displayed image from the file.


Hypertext Transfer Protocol (HTTP) is a set of conventions for controlling the transfer of information via the Internet from a Web server computer to a client computer, and also from a client computer to a Web server.


Internet is the worldwide, decentralized totality of server computers and data-transmission paths which can supply information to a connected and browser-equipped client computer, and can receive and forward information entered from the client computer.


JavaScript is an object-based programming language. JavaScript is an interpreted language, not a compiled language. JavaScript is generally designed for writing software routines that operate within a client computer on the Internet. Generally, the software routines are downloaded to the client computer at the beginning of the interactive session, if they are not already cached on the client computer. JavaScript is discussed in greater detail below.


JSON is JavaScript Object Notation format, which is a way of taking data and turning it into valid JavaScript syntax for reconstituting an object at the other end of the transmission protocol.


MySQL is a relational database management system which relies on SQL for processing data in a database.


Parser is a component of a compiler that analyzes a sequence of tokens to determine its grammatical structure with respect to a given formal grammer. Parsing transforms input text into a data structure, usually a tree, which is suitable for later processing and which captures the implied hierarchy of the input. XML Parsers ensure that an XML document follows the rules of XML markup syntax correctly.


Platform is the combination of a client computer, an operating system, and a browser, which together can support Internet access and in particular the operation of interactive forms.


Presentation layer follows the structural layer, and provides instructions on how the document should look on the screen, sound when read aloud or be formatted when it is printed.


Rendering engine is software used with a Web browser that takes Web content (HTML, XML, image files) and formatting information (CSS, XSL) and displays the formatted content on a screen.


Serialization places an object in a binary form for transmission across a network such as the Internet and deserialization involves extracting a data structure from a series of bytes.


SQL (Structured Query Language) is a computer language designed for data retrieval and data management in a database.


Structural layer of a Web page is the marked up document and foundation on which other layers may be applied.


User is a client computer, generally operated by a human being, but in some system contexts running an automated process not under full-time human control.


Web-Browser is a complex software program, resident in a client computer, that is capable of loading and displaying text and images and exhibiting behaviors as encoded in HTML (HyperText Markup Language) from the Internet, and also from the client computer's memory. Major browsers include MICROSOFT INTERNET EXPLORER, NETSCAPE, APPLE SAFARI, MOZILLA FIREFOX, and OPERA.


Web-Server is a computer able to simultaneously manage many Internet information-exchange processes at the same time. Normally, server computers are more powerful than client computers, and are administratively and/or geographically centralized. An interactive-form information-collection process generally is controlled from a server computer, to which the sponsor of the process has access.


World Wide Web Consortium (W3C) is an unofficial standards body which creates and oversees the development of web technologies and the application of those technologies.


XHTML (Extensible Hypertext Markup Language) is a language for describing the content of hypertext documents intended to be viewed or read in a browser.


XML (Extensible Markup Language) is a W3C standard for text document markup, and it is not a language but a set of rules for creating other markup languages.


There are three types of JavaScript: 1) Client-side JavaScript; 2) Server-side JavaScript; and 3) Core JavaScript. Client-side JavaScript is generally an extended version of JavaScript that enables the enhancement and manipulation of web pages and client browsers. Server-side JavaScript is an extended version of JavaScript that enables back-end access to databases, file systems, and servers. Core JavaScript is the base JavaScript.


Core JavaScript includes the following objects: array, date, math, number and string. Client-side JavaScript and Server-side JavaScript have additional objects and functions that are specific to client-side or server-side functionality. Generally, any JavaScript libraries (.js files) created in core JavaScript can be used on both the client and the server without changes. Client-side JavaScript is composed of a Core JavaScript and additional objects such as: document, form, frame and window. The objects in Client-side JavaScript enable manipulation of HTML documents (checking form fields, submitting forms, creating dynamic pages) and the browser (directing the browser to load other HTML pages, display messages). Server-side JavaScript is composed of Core JavaScript and additional objects and functions for accessing databases and file systems, and sending email. Server-side JavaScript enables Web developers to efficiently create database-driven web applications. Server-side JavaScript is generally used to create and customize server-based applications by scripting the interaction between objects. Client-side JavaScript may be served by any server but only displayed by JavaScript-enabled browsers. Server-side JavaScript must be served by a JavaScript-enabled server but can be displayed by any browser.


United States Patent Application Publication Number 20010037359 describes a system and method for a server-side browser including markup language graphical user interface, dynamic markup language rewriter engine and profile engine. The system includes a user computer and a destination server computer separated by a server computer hosting a server-side browser (SSB). The SSB includes a markup language graphical user interface (MLGUI), a dynamic markup language rewriter engine (DMLRE) and a profiling engine (PE). The SSB may be configured as an intermediary infrastructure residing on the Internet providing customized information gathering for a user. The components of the SSB allow for controlling, brokering and distributing information more perfectly by controlling both browser functionality (on the client-side) and server functionality (on the destination site side) within a single point and without the necessity of incremental consents or integration of either side.


However, current technologies that operate Server-side JavaScript fail to offer complete interactions which are the hallmark of rich web sites and applications. When writing software, it is often convenient to group the code according to the area of functionality it provides. But the group might span code that needs to run on the server, code that needs to run on the client, code that needs to run on both, or run on the server and get stored there and have a proxy for it created on the client, etc.


BRIEF SUMMARY OF THE INVENTION

The Present Invention overcomes the obstacles of the prior art. With the present invention, one can tag a code in a variety of ways to designate its run-related behavior. For example, one can designate an entire script block with a “runat” attribute, which then applies to the code in that script block; one can programmatically set “runat” attributes on code, such as functions and objects, to control behavior at a finer granularity; and one can add annotations via JavaScript comments to set the “runat” attributes without changing the JavaScript or HTML syntactically. Additionally, one can use the JavaScript language itself to annotate the functions to define their “runat” characteristics.


One aspect of the present invention is a method for tagging to code to determine a run location. The method includes writing a code for a web application. The method also includes identifying a plurality of sections of the code according to runat attributes. The method also includes tagging each of the plurality of sections of the code with a runat attribute.


Another aspect of the present invention is a system for tagging code to determine a run location. The system includes a server, a client, a code written in a scripting language, with the code having a plurality of sections identified according to runat attributes, and means for tagging each of the plurality of sections of the code with a runat attribute.


Yet another aspect of the present invention is a web environment for tagging code to determine a run location. The web environment includes a server, a client, a code written in a scripting language, with the code having a plurality of sections identified according to runat attributes, and means for tagging each of the plurality of sections of the code with a runat attribute.


Yet another aspect of the present invention is a method for tagging to code to determine a run location. The method includes writing a code for a web application. The method also includes identifying a plurality of sections of the code according to runat attributes. The method also includes grouping the code according to an area of functionality. The method also includes tagging each of the plurality of sections of the code with a runat attribute.


Yet another aspect of the present invention is a computer program product for creating a Web application. The computer program product comprises a code written in a scripting language, with the code having a plurality of sections identified according to runat attributes, and means for tagging each of the plurality of sections of the code with a runat attribute.


Having briefly described the present invention, the above and further objects, features and advantages thereof will be recognized by those skilled in the pertinent art from the following detailed description of the invention when taken in conjunction with the accompanying drawings.





BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS


FIG. 1 is a block diagram of a web system of the prior art.



FIG. 2 is a block diagram of a web system of the prior art.



FIG. 3 is a block diagram of the system of the present invention during a callback.



FIG. 4 is a block diagram of the system of the present invention during a normal process.



FIG. 5 is a block diagram of a callback process.



FIG. 6 is a Web-page generated by the code.



FIG. 7 is a block diagram of the server of the system of the present invention.



FIG. 7A is a block diagram of the user-computer of the system of the present invention.



FIG. 8 is a flow chart of a general method of the present invention.



FIG. 8A is a flow chart of the components of block 108 of FIG. 8.



FIG. 8B is a flow chart of the components of block 106 of FIG. 8.



FIG. 9 is a flow chart of a specific method of the present invention.





DETAILED DESCRIPTION OF THE INVENTION

As shown in FIG. 3 a system 20 of the invention generally includes a server-side 25, a client side 30 and a network or preferably the Internet 35. The server-side 25 includes a web-server 40, a handler 45 and a JavaScript server 50 preferably having a server-core 55 and a server-framework 60. The client-side 30 includes a Web-browser 65 has a client-framework 70, a client-side JavaScript code 75 and a rendering engine 80. The server-framework 60 accesses filesystems 85 and databases 90, as well as the Internet 35. A more detailed description of the abilities of the running JavaScript on the server-side and client-side is disclosed in U.S. patent application Ser. No. 12/270,817, filed Nov. 13, 2008 for A Web Server Based On The Same Paradigms As Web-Clients, which is hereby incorporated by reference in its entirety.


In FIG. 3, the system 20 is shown during a callback operation. The callback begins at the client-side JavaScript code 75 with a callback request sent to the client-framework 70. A HTTP GET/request is transmitted over the Internet 35 to the server-side 25, and received at the Web-server 40. The HTTP GET/request is sent to the server-core 55 which sends the HTTP GET/request as a callback to the server-framework 60. The server-framework 60 receives the callback, deserializes, performs the get functions, invokes, serializes and sends the response to the callback to the server-core 55. The server-core 55 sends the response to the Web-server 40 which sends the response over the Internet 35 to client-framework 70 on the Web-browser 65.


In FIG. 4, the system 20 is shown during a normal process. The process begins with a HTTP GET/request for a Web-page sent over the Internet 35 from the Web-browser 65 on the client-side 30 to the server-side 25. The HTTP Request is sent to the handler server 45. The HTML web-page is then sent to the server architecture 50. The server-core 55 of the server architecture 50 parses the HTML Web-page to create a HTML DOM of the HTML Web-page. The server-core 55 also parses and interprets the JavaScript of the HTML Web-page. The server-framework 60 accesses databases 90 and filesystems 85 to respond to the Requests for the HTML Web-page. The server-framework 60 also injects proxies to modify the HTML Web-page. The server-core 55 serializes the DOM back to the HTML Web-page and the web-server 40 transmits the HTML Web-page to the client-side 30 where the Web-browser 65 renders the HTML Web-page for display for a user.


As shown in FIG. 5, the present invention allows the server 50 to execute the JavaScript functions that are set to runat=“server” or runat=“both”. These functions might call databases, file systems, communicate across network sockets, or get session data. And since the server-side engine has a HTML DOM just like the browser, the HTML page can be manipulated through standard DOM APIs and your favorite Ajax libraries. The present invention also has session objects that can be used to persist data for users during a session or transaction. Any functions set to runat=“server” are stripped from what gets sent to the browser 65. Specifically at 1, the page executes on the server 50 and a resulting HTML page is sent to the browser 65.


After server 50 sends the resulting HTML page to the browser 65, at 2 the browser 65 interprets the HTML page and executes the JavaScript within the HTML page. If JavaScript functions tagged to runat=“server-proxy” are included, then the present invention automatically strips out the bodies of those functions and replaces the bodies with a new functions by the same name that know how to invoke the original function on the server 50 using Ajax calls and return the result either synchronously or asynchronously. Ajax communications do not need to be written using the present invention. Any functions not tagged with a runat attribute or set to runat=“client” or runat=“both” are processed by the browser 65.


Any functions set to runat=“server-proxy” can now be called from the browser 65. The function is called as if it were running on the browser 65, and the present invention, automatically via XHR communications with the server 50, marshals the parameters to the server 50 where the function executes (calling databases, getting info from the session data, etc. . . . ) and returns the result to the browser 65. The “server-proxy” functions can be invoked either synchronously or asynchronously. At 3, the browser 65 calls the server 50 asynchronously for new information.


The server computer program of the present invention is pre-configured for preferable use as a plug-in to the APACHE 2.x web server. To provide standards-compliant JavaScript and DOM capabilities server-side, the server computer program is built on the MOZILLA engine, which is the same engine used in the popular FIREFOX browser. The server computer program of the present invention is layered into APACHE as an input and output filter for use to modify dynamic pages created by other languages, such as PHP or Ruby.


The server computer program of the present invention is preferably a combination of C/C++ “Core” code and a server-side JavaScript “Framework.” The server-core 55 provides the JavaScript parser and runtime, HTML parser and DOM engine, and an event architecture that calls the server-framework 60 as the


On the server side 25, a developer's JavaScript environment is enhanced by the server-framework 60, which provides access to the database (e.g., MySQL), file system, network, the HTTP Request and Response data, and the external server-side platforms such as Java, PHP, and Ruby.


An example of code written by a developer and prior to processing by the present invention is set forth below.

















<html>




  <head>




   <title>Tasks</title>




   <style>




    body { font: 9pt Arial; float: left; }




    .tasks {background-color: #f0f0ff; padding: 8px;}




    .new-task {Padding-bottom: 8px;}




    .task { Padding: 4px; }




   </style>




   <script type=”text/javascript” runat=”server”>




    Var sql = “CREATE TABLE IF NOT EXISTS tasks ( “ +




     “ id int (11) NOT NULL, ” +




     “description varchar (255),”+




     “created datetime NOT NULL” +




     “) ENGINE=InnoDB DEFAULT CHARSET=utf8;




    Aptana.DB.execute(sql);




    Window.onserverload = function( )




    {




   var resultSet = Aptana.DB.execute(″SELECT * FROM tasks









ORDER BY created″);











  for (var i=0; i<resultSet.rows.length; i++)




  {




   var task = resultSet.rows[i];




   addTask(task.description, task.id);




  }




 }




 function saveTask(id, description)




 {




  var resultSet = Aptana.DB.execute(″SELECT * FROM tasks









WHERE id = ?″, [id]);











  if (resultSet.rows.length > 0) // task already exists




  {




   Aptana.DB.execute(″UPDATE tasks SET description = ?









WHERE id = ?″,











    [description, id]);




  }




  else // insert new task




  {




   Aptana.DB.execute(″INSERT INTO tasks (id, description,




   created) ″ +




    ″VALUES (?, ?, NOW( ))″,




    [id, description]);




  }




 }




 saveTask.proxy = true;




 function $(id) { return document.getElementById(id); }




 $.runat = ″both″;




 function addTask(description, id)




 {




  var newId = id || Math.ceil(1000000000 * Math.random( ));




  var div = document.createElement(″div″);




  div.id = ″task_″ + newId;




  div.className = ″task″;




  var checkbox = document.createElement(″input″);




  checkbox.setAttribute(″type″, ″checkbox″);




  checkbox.setAttribute(″title″, ″done″);




  checkbox.setAttribute(″id″, ″checkbox_″ + newId);




  Aptana.setEvent(checkbox, ″onclick″, ″completeTask




  (″ + newId + ″)″);




  div.appendChild(checkbox);




  var input = document.createElement(″input″);




  input.setAttribute(″type″, ″text″);




  input.setAttribute(″size″, ″60″);




  input.setAttribute(″title″, ″description″);




  input.setAttribute(″id″, ″input_″ + newId);




  input.setAttribute(″value″, description);




  Aptana.setEvent(input, ″onchange″, ″saveTask(″ + newId + ″,









this.value)″);











  div.appendChild(input);




  $(″tasks″).insertBefore(div, $(″tasks″).firstChild);




  if (!Aptana.isOnServer)




  {




   saveTask(newId, description);




  }




 }




 addTask.runat = ″both″;




 function completeTask(taskId)




 {




  var div = $(″task_″ + taskId);




  div.parentNode.removeChild(div);




  deleteSavedTask(taskId);




 }




 completeTask.runat = ″client″;




  function deleteSavedTask(id)




  {




   Aptana.DB.execute(″DELETE FROM tasks WHERE id =




   ?″, [id]);




  }




  deleteSavedTask.proxy = true;




  </script>




 </head>




 <body>




  <h2>Tasks To Do</h2>




  <div><i>Any changes should be automatically saved to your









database!</i><br/><br/></div>











 <div class=″new-task″>




  New:




  <input type=″text″ id=″txt_new″ size=″60″>




  <input type=″button″ value=″add″ onclick=″addTask




  ($(′txt_new′).value)″>




 </div>




 <div id=″tasks″ class=″tasks″>




 </div>




  </body>




 </html>









Processing of the code by the present invention results in the code being formatted as set forth below:

















 <html>




   <head>




   <script src=″/aptana/framework.js?version=0.1.1.759″




type=″text/javascript″></script>




 <script type=″text/javascript″>Aptana.clientData =




Aptana.Serialization.fromJSONString(′{ }′);</script>




 <script type=″text/javascript″>Aptana.Callback.id =-1407728339;




 </script>




 <title>Tasks</title>




 <style>




  body {




   font: 9pt Arial;




   float: left;




  }




  .tasks {




   background-color: #f0f0ff;




   padding: 8px;




  }




  .new-task {




   padding-bottom: 8px;




  }




  .task {




   padding: 4px;




  }




 </style>




 <script type=″text/javascript″>




  function $(id)




  {




   return document.getElementById(id);




  }




  function addTask(description, id)




  {




   var newId = id || Math.ceil(1000000000 * Math.random( ));




   var div = document.createElement(″div″);




   div.id =″task_″ + newId;




   div.className = ″task″;




   var checkbox = document.createElement(″input″);




   checkbox.setAttribute(″type″, ″checkbox″);




   checkbox.setAttribute(″title″, ″done″);




   checkbox.setAttribute(″id″, ″checkbox_″ + newId);




   Aptana.setEvent(checkbox, ″onclick″, ″completeTask




   (″ + newId + ″)″);




   div.appendChild(checkbox);




   var input = document.createElement(″input″);




   input.setAttribute(″type″, ″text″);




   input.setAttribute(″size″, ″60″);




   input.setAttribute(″title″, ″description″);




   input. setAttribute(″id″, ″input_″ + newId);




   input.setAttribute(″value″, description);




   Aptana.setEvent(input, ″onchange″, ″saveTask(″ + newId + ″,




   this.value)″);




   div.appendChild(input);




   $(″tasks″).insertBefore(div, $(″tasks″).firstChild);




   if (!Aptana.isOnServer)




   {




    saveTask(newId, description);




   }




  }




  function completeTask(taskId)




  {




   var div = $(″task_″ + taskId);




   div.parentNode.removeChild(div);




   deleteSavedTask(taskId);




  }




  function saveTask( )




  {




   return Aptana.Callback.invokeFunction.call(null, ″saveTask″,




   arguments);




  }




  function saveTaskAsync(callback)




  {




   return Aptana.Callback.invokeFunctionAsync.call(null,




callback, ″saveTask″, arguments);




  }




  function deleteSavedTask( )




  {




   return Aptana.Callback.invokeFunction.call(null,




″deleteSavedTask″, arguments);




  }




  function deleteSavedTaskAsync(callback)




  {




   return Aptana.Callback.invokeFunctionAsync.call(null,




callback, ″deleteSavedTask″, arguments);




  }




 </script>




 </head>




 <body>




  <h2>Tasks To Do</h2>




  <div>




   <i>Any changes should be automatically saved to




   your database!</i>




   <br>




   <br>




  </div>




  <div class=″new-task″>




   New:<input id=″txt_ new″ size=″60″ type=″text″>




<input value=″add″ onclick=″addTask($(′txt_new′).value)″




type=″button″>




  </div>




     <div id=″tasks″ class=″tasks″>




    </div>




   </body>




  </html>










FIG. 6 is a screen display 99 of the code set forth above.


As shown in FIG. 7, a server-computer 2000 contains server architecture 50. The server-architecture 50 includes the server-core 55 and the server-framework 60. The server-core 55 includes a JavaScript parser 95. The server-computer 2000 is preferably a conventional server-computer available from IBM, HP, APPLE, DELL, and SUN.


As shown in FIG. 7A, a user-computer 2002 contains a Web-browser 65. The Web-browser 65 preferably includes the client framework 70, client-side JavaScript code 75 and the rendering engine 80. The user-computer 2002 is preferably a conventional user-computer such as a PC available from HP, DELL, and GATEWAY, or a MAC available from APPLE. The Web-browser 65 is preferably MICROSOFT INTERNET EXPLORER, NETSCAPE, APPLE SAFARI, MOZILLA FIREFOX, or OPERA.


A general method 100 of the present invention is shown in FIG. 8. At block 104, code for a web application is written. At block 106, specific code is identified according to a runat location. At block 108, the specific code is tagged with runat attributes. FIG. 8A illustrates components of tagging the code with runat attributes. FIG. 8B illustrates components of identifying the specific code according to runat locations.


A more specific method 200 of the present invention is shown in FIG. 9. At block 202, code for a web application is written. At block 204, the code is grouped according to an area of functionality. At block 206, specific code is identified according to a runat location. At block 208, the specific code is tagged with runat attributes. The components of FIG. 8A apply equally for the step of tagging the code with runat attributes of block 208. The components of FIG. 8B apply equally for the step of identifying the specific code according to runat locations of block 206.


Code runs on the server architecture of the present invention. To define and/or execute any code server-side, a runat attribute is added to a <script> block. The attribute has several possible values, and the values determine where the code will execute (whenever the page is served) and the other actions that will automatically occur when the code is executed. The Table One provides a description of each value for the basic attributes.










TABLE ONE





Value
Description







Client
The functions and code contained in the script block will run in the



client browser only. This functions exactly as a regular script



block. This is the default value of the runat attribute, so it is



usually omitted for script blocks intended for the client. Its main



use is to override the runat attribute of a specific function within a



server-side script block. Note: if a script block has runat = ″client″



(or no runat attribute), it will not run at all server-side, so one



cannot override the runat behaviors of individual functions from



within this block.


Server
The functions and code contained in the script will run on the



server only. Any functions defined within the script block will be



cached in association with this page. These functions are not



directly callable from the client, but they can be called during



callback processing by other server-side functions. These script



blocks will not be presented to the client browser.


Both
The functions and code contained in the script will run on both the



client and the server. Any functions defined within the script block



will be cached in association with this page. The server-side



functions are not directly callable from the client, but they can be



called during callback processing by other server-side functions.









Although most use cases are covered by the basic attributes listed in Table One, one can use the runat values listed in Table Two on <script> tags.










TABLE TWO





Value
Description







Server-proxy
Same as the basic ′server′ target except ALL



the functions will be proxied by default


Server-nocache
Same as the basic ′server′ target except NONE



of the functions will be cached by default


Both proxy
Same as the basic ′both′ target except ALL the



functions will be proxied by default


Both nocache
Same as the basic ′both′ target except NONE



of the functions will be cached by default

















TABLE THREE





Property
Description







Proxy
Server-side functions can be declared to be proxied



so they are callable from the client side. This is achieved



by specifying a proxy property on the function object. The



possible values for this property are true or false. This is



only required for enabling the proxying of the function.



By default, in a <script runat=″server″> block, the functions



are not proxied. Note that if a function is not proxied, it isn't



just that proxies are not inserted into the client to facilitate



calling it: it's actually marked as not callable on the server, so



hacking the client to try to call the function on the server will



not work.


Runat
Takes the same values as the <script> tag runat attributes.









Special function object properties are declared on the individual function objects and control how the special function object properties are managed. When these are specified the property value will override the containing script block runat setting for the individual function. This allows more granular control and prevents the need to break scripts out into separate files depending on their runat target. Table Three illustrates some of these properties.


EXAMPLE

The following example illustrates one simple way of using the runat and proxy options in a typical code scenario. Group all the server-side code in one script block, and explicitly designate a subset of function to be proxied. Then all client-side code goes in a different script block (where there isn't even the option of programmatically changing it by setting a different runat or proxy value). Of course those skilled in the pertinent art may choose different ways of organizing the code. Further, for large amounts of code, one has the option to extract the code into (reusable) external JavaScript files.


The following illustrates code for the example. The _login.js file referenced in the example contains some functions that explicitly override the runat=‘server’ directive specified on the script tag used to load the file.



<script type=“text/javascript” runat=“server”>


Function setPassword(username, newPasword)


{






    • // put code in here to directly set the password of a given username

    • //this code should not be callable from the client}

    • }


      Function changePassword(username, oldPassword, newPassword)

    • {

    • // put code in here to first verify the submitted password,

    • // and then—if successful—call setPassword to actually make changes

    • // this code should be callable from the client

    • }

    • changePassword.proxy=true;

    • </script>


    • <script type=“text/javascript”>

    • Function submitPassword( )

    • {
      • // put client-side code here to grab the username and old and new passwords
      • // and call cahngePassword on the server}

    • </script>





In the snippet set forth the below, the function is proxied.


function checkCredentials (username, password)


{






    • var rs=Aptana.DB.execute (“SELECT * FROM users WHERE username=? AND password=?”,

    • [username, password]);

    • if (rs.rows.length==0)

    • {
      • return “ ”;

    • }

    • var user=rs.rows [0];

    • makeAuthenticated (user);

    • return user.username;

    • }

    • checkCredentials.proxy=true;





In the snippet set forth below, the function runs on the client-side.


function login( )


{






    • var username=$ (username).value;

    • var password=$ (password’).value;

    • var username=checkCredentials (username, password);

    • if (username !=“ ”)


      (

    • fromTemplate (‘loginComponent’, ‘loginAuthenticaed’);

    • setTimeout (“$(“authenticatedUsername”).innerHTML=’“+username+“ ”’, 0);
      • changeAuthentication (true);

    • else

    • {
      • $ (‘loginMessage”).innerHTML=“Sorry, try again”;

    • }


      }


      login.runat=“client”;





The following is an illustration of object inside an Aptana namespace to allow the proxy functions to be declared in a single group within JavaScript code.


Aptana.proxies=(myFunc1, myFunc2, “myFunction”};


// . . .


Aptana.proxies=Aptana.proxies .psuh{myFunc3, “myFunction4”};


This code is presented in such a way that it is executed by the server prior to DOM serialization. One can also use this code to remove the proxied functions by setting the value to null. Also, Aptana.proxies is not a complete collection of the functions being proxied by the server it is just a convenient way to express the myFunc.proxy=true; syntax for multiple function references.


The runat attribute applies to everything within the <script> block. Individual functions within the <script> block are changed to a different runat value by adding a runat/proxy property to them and setting it to the appropriate (string) value: for example, myFunction.runat=“both”. The one exception is for <script> blocks that don't have a runat attribute (or have runat=“client”): since such <script> blocks are not executed at all on the server, setting runat properties within those <script> blocks will not take place on the server, so the behavior of functions within them cannot be changed from within them.


From the foregoing it is believed that those skilled in the pertinent art will recognize the meritorious advancement of this invention and will readily understand that while the present invention has been described in association with a preferred embodiment thereof, and other embodiments illustrated in the accompanying drawings, numerous changes modification and substitutions of equivalents may be made therein without departing from the spirit and scope of this invention which is intended to be unlimited by the foregoing except as may appear in the following appended claim. Therefore, the embodiments of the invention in which an exclusive property or privilege is claimed are defined in the following appended claims.

Claims
  • 1. A method for tagging to code to determine a run location, the method comprising: writing a code for a Web application;grouping the code according to an area of functionality;identifying a plurality of sections of the code having one or more functions required to be run on either or both of a client and a server; andtagging each of the plurality of sections of the code with a runat attribute that denotes whether a respective section of code will run on either or both of the client and the server when the code is executed, wherein the tagging comprises add the runat attribute to each of the identified plurality of sections of the code, and wherein a runat attribute specifying functions running on the client only will not run on the server, a runat attribute specifying functions running on the server only are not directly callable by the client but can be called by the client during callback processing by other server functions, and a runat attribute specifying functions running on both the client and server will run on both the client and server;automatically stripping functions from data sent to the client if the runat attribute specifies the functions run on the server only;wherein a plurality of script blocks are contained in a single file, and the runat attribute for each script block may be modified by a special function object property that overrides a runat attribute section for a function to prevent the need to separate script blocks into separate files to facilitate different runat targets within the single file.
  • 2. The method according to claim 1 wherein tagging each of the plurality of sections of the code with the runat attribute comprises programatically setting runat attributes on the code.
  • 3. The method according to claim 1 wherein tagging each of the plurality of sections of the code with the runat attribute comprises adding annotations via JavaScript comments.
  • 4. The method according to claim 1 wherein tagging each of the plurality of sections of the code with the runat attribute comprises using JavaScript language to annotate the area of functionality to define a runat attribute for each of the plurality of sections of the code.
  • 5. The method according to claim 1 wherein a function specified to run only on the server can be declared to be callable by the client by enabling proxying of the function.
  • 6. The method according to claim 5 wherein if the runat attribute is set to server only and proxying is not enabled, the function is marked as not callable on the server to prevent the possibility of hacking the client to call the function on the server.
  • 7. The method according to claim 1 wherein the runat location is stored on the server and having a proxy on the client.
  • 8. A system for tagging to code to determine a run location, the system comprising: a server comprising a memory and a processor;a client;a code written in a scripting language, the code having a plurality of sections each having one or more functions required to be run on either or both of a client and a server;a tag for each of the plurality of sections of the code with a runat attribute that denotes whether a respective section of code will run on either or both of the client and the server when the code is executed, and wherein a runat attribute specifying functions running on the client only will not run on the server, a runat attribute specifying functions running on the server only are not directly callable by the client but can be called by the client during callback processing by other server functions, and a runat attribute specifying functions running on both the client and server will run on both the client and server;and further wherein the server is configured to strip each of the identified plurality of sections of code;wherein functions are automatically stripped from data sent to the client if the runat attribute specifies the functions run on the server only and a plurality of script blocks are contained in a single file, and the runat attribute for each script block may be modified by a special function object property that overrides a runat attribute section for a function to prevent the need to separate script blocks into separate files to facilitate different runat targets within the single file.
  • 9. The system according to claim 8 wherein a function specified to run only on the server can be declared to be callable by the client by enabling proxying of the function.
  • 10. The system according to claim 8 wherein the tag comprises an action designating an entire script block with the runat attribute.
  • 11. The system according to claim 8 wherein the tag comprises an action programatically setting runat attributes on the code.
  • 12. The system according to claim 8 wherein the tag comprises an action adding annotations via JavaScript comments.
  • 13. The system according to claim 8 wherein the tag comprises an action using JavaScript language to annotate the area of functionality to define the runat attribute for each of the plurality of sections of the code.
  • 14. A computer program product for creating a Web application embodied on a non-transitory computer storage readable medium, the computer program product, when executed by a server-computer, causing the server-computer to carry out the steps of: receiving code written in a scripting language;identifying a plurality of sections of the code having one or more functions required to be run on either or both of a client and a server; andtagging each of the plurality of sections of the code with a runat attribute that denotes whether a respective section of code will run on either or both of the client and the server when the code is executed, wherein the tagging comprises add the runat attribute to each of the identified plurality of sections of the code, and wherein a runat attribute specifying functions running on the client only will not run on the server, a runat attribute specifying functions running on the server only are not directly callable by the client but can be called by the client during callback processing by other server functions,and a runat attribute specifying functions running on both the client and server will run on both the client and server;automatically stripping functions from data sent to the client if the runat attribute specifies the functions run on the server only;wherein a plurality of script blocks are contained in a single file and the runat attribute for each script block may be modified by a special function object property that overrides a runat attribute section for a function to prevent the need to separate script blocks into separate files to facilitate different runat targets within the single file.
  • 15. The computer program product according to claim 14 wherein the runat location is stored on the server and having a proxy on the client.
  • 16. The computer program product according to claim 14 further comprising automatically stripping functions from data sent to the client if the runat attribute specifies the functions run on the server only.
  • 17. The computer program product according to claim 14 further comprising programatically setting runat attributes on the code.
  • 18. The computer program product according to claim 14 further comprising adding annotations via JavaScript comments.
CROSS REFERENCE TO RELATED APPLICATION

This Application claims priority to U.S. Provisional Patent Application No. 60/988,117, filed on Nov. 15, 2008, which is hereby incorporated by reference in its entirety.

US Referenced Citations (242)
Number Name Date Kind
4989132 Mellender et al. Jan 1991 A
5361351 Lenkov et al. Nov 1994 A
5448740 Kiri et al. Sep 1995 A
5794046 Meier et al. Aug 1998 A
5812851 Levy et al. Sep 1998 A
5821851 Blackmer Oct 1998 A
5878223 Becker et al. Mar 1999 A
6067413 Gustafsson et al. May 2000 A
6144962 Weinberg et al. Nov 2000 A
6151599 Shrader et al. Nov 2000 A
6185587 Bernardo et al. Feb 2001 B1
6192382 Lafer et al. Feb 2001 B1
6240414 Beizer et al. May 2001 B1
6324686 Komatsu et al. Nov 2001 B1
6356283 Guedalia Mar 2002 B1
6381737 Click, Jr. et al. Apr 2002 B1
6453335 Kaufmann Sep 2002 B1
6470349 Heninger et al. Oct 2002 B1
6539433 Tominaga et al. Mar 2003 B1
6609246 Guhr et al. Aug 2003 B1
6684369 Bernardo et al. Jan 2004 B1
6779114 Chow et al. Aug 2004 B1
6829746 Schwerdtfeger et al. Dec 2004 B1
6874025 Hoogenboom et al. Mar 2005 B2
6915454 Moore et al. Jul 2005 B1
6941562 Gao et al. Sep 2005 B2
6981215 Lindhorst et al. Dec 2005 B1
6990653 Burd et al. Jan 2006 B1
7000008 Bautista-Lloyd et al. Feb 2006 B2
7024689 O'Donnell et al. Apr 2006 B2
7043460 Deboer et al. May 2006 B2
7047318 Svedloff May 2006 B1
7051084 Hayton et al. May 2006 B1
7058633 Gnagy et al. Jun 2006 B1
7062506 Taylor et al. Jun 2006 B2
7086041 Plesko et al. Aug 2006 B2
7103600 Mullins Sep 2006 B2
7103881 Stone Sep 2006 B2
7117504 Smith et al. Oct 2006 B2
7124445 Cronce et al. Oct 2006 B2
7139798 Zircher et al. Nov 2006 B2
7143136 Drenan et al. Nov 2006 B1
7167862 Mullins Jan 2007 B2
7213231 Bandhole et al. May 2007 B1
7222336 Willis May 2007 B2
7231644 Kieffer Jun 2007 B2
7269636 McCollum et al. Sep 2007 B2
7284054 Radhakrishnan Oct 2007 B2
7284239 Young et al. Oct 2007 B1
7296297 Kirkpatrick et al. Nov 2007 B2
7308648 Buchthal et al. Dec 2007 B1
7313789 Yellin et al. Dec 2007 B1
7333801 Chandhok Feb 2008 B2
7386786 Davis et al. Jun 2008 B2
7389330 Dillon et al. Jun 2008 B2
7426723 Nikolov Sep 2008 B1
7451352 Moore et al. Nov 2008 B1
7454526 Brown et al. Nov 2008 B2
7478401 Irassar et al. Jan 2009 B2
7478408 Sesma Jan 2009 B2
7487201 Murray et al. Feb 2009 B1
7496841 Hadfield et al. Feb 2009 B2
7500223 DeSantis Mar 2009 B2
7506315 Kabadiyski et al. Mar 2009 B1
7509654 Jennings et al. Mar 2009 B2
7542957 Roy et al. Jun 2009 B2
7543267 Lindhorst et al. Jun 2009 B2
7543271 Gadre Jun 2009 B2
7555484 Kulkarni et al. Jun 2009 B2
7596620 Colton et al. Sep 2009 B1
7614052 Wei Nov 2009 B2
7617491 Nedderman Nov 2009 B1
7653623 Kashima et al. Jan 2010 B2
7657436 Elmore et al. Feb 2010 B2
7685609 McLellan Mar 2010 B1
7707547 Colton et al. Apr 2010 B2
7716634 Ross et al. May 2010 B2
7725530 Sah et al. May 2010 B2
7788341 Burns Aug 2010 B1
7814410 Kothari et al. Oct 2010 B2
7823009 Tormasov et al. Oct 2010 B1
7844958 Colton et al. Nov 2010 B2
7870221 Matveief et al. Jan 2011 B2
7921353 Murray Apr 2011 B1
7958232 Colton et al. Jun 2011 B1
7958493 Lindsey et al. Jun 2011 B2
20010025373 Gebhart et al. Sep 2001 A1
20010032320 Abdelnur et al. Oct 2001 A1
20010037292 Vogt Nov 2001 A1
20010037359 Mockett et al. Nov 2001 A1
20020007393 Hamel Jan 2002 A1
20020016828 Daugherty et al. Feb 2002 A1
20020023158 Polizzi et al. Feb 2002 A1
20020069255 Dinovo Jun 2002 A1
20020073235 Chen et al. Jun 2002 A1
20020099738 Grant Jul 2002 A1
20020112247 Horner et al. Aug 2002 A1
20020138555 Yu Sep 2002 A1
20020184363 Viavant et al. Dec 2002 A1
20020199190 Su Dec 2002 A1
20030005044 Miller et al. Jan 2003 A1
20030025728 Ebbo et al. Feb 2003 A1
20030033448 Kieffer Feb 2003 A1
20030051188 Patil Mar 2003 A1
20030061404 Atwal et al. Mar 2003 A1
20030084431 Kobayashi May 2003 A1
20030088687 Begeja et al. May 2003 A1
20030105810 McCrory et al. Jun 2003 A1
20030145282 Thomas et al. Jul 2003 A1
20030177176 Hirschfeld et al. Sep 2003 A1
20030195923 Bloch et al. Oct 2003 A1
20030226110 Scheering Dec 2003 A1
20040003377 Di Loreto Jan 2004 A1
20040010621 Afergan et al. Jan 2004 A1
20040021679 Chapman et al. Feb 2004 A1
20040061713 Jennings Apr 2004 A1
20040064822 Noda Apr 2004 A1
20040066410 Lindhorst et al. Apr 2004 A1
20040123238 Hefetz et al. Jun 2004 A1
20040143823 Wei Jul 2004 A1
20040158843 Cloccarelli Aug 2004 A1
20040167784 Travieso et al. Aug 2004 A1
20040167876 Salerno et al. Aug 2004 A1
20040168162 Park et al. Aug 2004 A1
20040177147 Joshi Sep 2004 A1
20040177335 Beisiegel et al. Sep 2004 A1
20040201618 Alderson Oct 2004 A1
20040205411 Hong et al. Oct 2004 A1
20040210865 Shimura Oct 2004 A1
20040225633 Jau Nov 2004 A1
20040236927 Irie et al. Nov 2004 A1
20040250262 Irassar et al. Dec 2004 A1
20040268303 Abe et al. Dec 2004 A1
20050005160 Bates et al. Jan 2005 A1
20050015759 Zatloukal Jan 2005 A1
20050027823 Rana Feb 2005 A1
20050028084 Dziejma Feb 2005 A1
20050043940 Elder Feb 2005 A1
20050044197 Lai Feb 2005 A1
20050066319 DeLine et al. Mar 2005 A1
20050069207 Zakrzewski et al. Mar 2005 A1
20050086344 Suesserman Apr 2005 A1
20050091576 Relyea et al. Apr 2005 A1
20050091650 Heeb Apr 2005 A1
20050102400 Nakahara May 2005 A1
20050144622 Ballinger et al. Jun 2005 A1
20050160415 Kwon et al. Jul 2005 A1
20050172338 Sandu et al. Aug 2005 A1
20050177753 Carpenter Aug 2005 A1
20050182778 Heuer et al. Aug 2005 A1
20050188051 Sneh Aug 2005 A1
20050198202 Yamamoto Sep 2005 A1
20050246391 Gross Nov 2005 A1
20050256933 Millington et al. Nov 2005 A1
20050278641 Mansour et al. Dec 2005 A1
20060015842 DeSantis Jan 2006 A1
20060047780 Patnude Mar 2006 A1
20060064434 Gilbert et al. Mar 2006 A1
20060075088 Guo et al. Apr 2006 A1
20060080592 Alves de Moura et al. Apr 2006 A1
20060123397 McGuire Jun 2006 A1
20060129997 Stichnoth et al. Jun 2006 A1
20060136555 Patrick et al. Jun 2006 A1
20060136712 Nagendra et al. Jun 2006 A1
20060149746 Bansod et al. Jul 2006 A1
20060150111 Farber Jul 2006 A1
20060155707 Marcjan Jul 2006 A1
20060156279 Nelson et al. Jul 2006 A1
20060167981 Bansod et al. Jul 2006 A1
20060173998 Ohara Aug 2006 A1
20060190997 Mahajani et al. Aug 2006 A1
20060200491 Weber Sep 2006 A1
20060200503 Dosa et al. Sep 2006 A1
20060230133 Snyder et al. Oct 2006 A1
20060230149 Jackson Oct 2006 A1
20060236223 Aubert et al. Oct 2006 A1
20060253508 Colton et al. Nov 2006 A1
20060259592 Angeline Nov 2006 A1
20060277250 Cherry et al. Dec 2006 A1
20070011650 Hage et al. Jan 2007 A1
20070055964 Mirkazemi et al. Mar 2007 A1
20070061700 Kothari et al. Mar 2007 A1
20070067418 Isaacs et al. Mar 2007 A1
20070073739 Jennings et al. Mar 2007 A1
20070073806 Srinivas et al. Mar 2007 A1
20070100967 Smith et al. May 2007 A1
20070106946 Goetz et al. May 2007 A1
20070107057 Chander et al. May 2007 A1
20070113188 Bales et al. May 2007 A1
20070124311 Lee et al. May 2007 A1
20070124500 Bedingfield, Sr. et al. May 2007 A1
20070136201 Sah et al. Jun 2007 A1
20070136477 Bryce et al. Jun 2007 A1
20070143283 Spencer et al. Jun 2007 A1
20070143672 Lipton et al. Jun 2007 A1
20070150480 Hwang et al. Jun 2007 A1
20070174419 O'Connell et al. Jul 2007 A1
20070203973 Landauer et al. Aug 2007 A1
20070214239 Mechkov et al. Sep 2007 A1
20070214261 Kikuchi et al. Sep 2007 A1
20070231781 Zimmermann et al. Oct 2007 A1
20070240032 Wilson Oct 2007 A1
20070250513 Hall et al. Oct 2007 A1
20070288858 Pereira et al. Dec 2007 A1
20080005657 Sneh Jan 2008 A1
20080010338 Curtis et al. Jan 2008 A1
20080072139 Salinas et al. Mar 2008 A1
20080077556 Muriente Mar 2008 A1
20080082965 Atkin et al. Apr 2008 A1
20080104025 Dharamshi et al. May 2008 A1
20080104224 Litofsky et al. May 2008 A1
20080109680 Kodaka et al. May 2008 A1
20080140786 Tran Jun 2008 A1
20080208888 Mitchell Aug 2008 A1
20080243475 Everhart et al. Oct 2008 A1
20080244586 Hopp Oct 2008 A1
20080288739 Bamba et al. Nov 2008 A1
20080294794 Darugar et al. Nov 2008 A1
20080295004 Coca et al. Nov 2008 A1
20080295164 Steiner et al. Nov 2008 A1
20080301696 Tantawi et al. Dec 2008 A1
20080307389 Marchant Dec 2008 A1
20090013255 Yuschik et al. Jan 2009 A1
20090030926 Aharoni et al. Jan 2009 A1
20090070869 Fan et al. Mar 2009 A1
20090100154 Stevenson et al. Apr 2009 A1
20090106052 Moldovan Apr 2009 A1
20090106413 Salo et al. Apr 2009 A1
20090119675 Higgins et al. May 2009 A1
20090172792 Backhouse Jul 2009 A1
20090210631 Bosworth et al. Aug 2009 A1
20090216910 Duchesneau Aug 2009 A1
20090282136 Subramanian Nov 2009 A1
20090287734 Borders Nov 2009 A1
20090300210 Ferris Dec 2009 A1
20100035690 Blackburn et al. Feb 2010 A1
20100036903 Ahmad et al. Feb 2010 A1
20100042670 Kamalakantha et al. Feb 2010 A1
20100064234 Schreiber et al. Mar 2010 A1
20100070566 Vandewalle Mar 2010 A1
20100174607 Henkin et al. Jul 2010 A1
20100223385 Gulley et al. Sep 2010 A1
Non-Patent Literature Citations (66)
Entry
“Yahoo et al” ;“HOWTO: Use a Web Proxy for Cross-Domain XMLHttpRequest Calls”, “Mar. 16, 2006”; retreived at “https://developer.yahoo.com/javascript/howto-proxy.html”; “3 pages”.
Gudeman, et al., Representing Type Information Dynamically Typed Languages; 1993, acquired from http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.39.4394&rep=rep1&type=pdf, pp. 1.38.
Shao, et al., A type-based computer for standard ML;ACM, 1995, pp. 116-129.
Lars Aronsson, Operation of a Large Scale, General Purpose Wiki Website, VWF Berlin, 2002, pp. 27-37.
Morfik announces Ajax IDE, Wednesday Sep. 28, 2005, ajaxian.com, pp. 1-3.
Susanne Hupfer, Li-Te Cheng, Steven Ross, John Patterson, Introducing Collaboration into an Application Development Environment, Nov. 6-10, 2004, ACM, vol. 6, Issue 3; pp. 21-24.
Server Side JavaScript Guide, Nov. 12, 1998, Netscape Communications Corp., pp. 1-4.
Niels Leenheer, rakaz, “Make your pages load faster by combining and compressing javascript and css files,” Dec. 18, 2006, rakaz.nl/2006/12/make-your-pages-load-faster-by-combining-and-compressing-javascript-and-css-files.html, pp. 1-4.
Mitchell, Scott, URL Rewriting in asp.net, published Mar. 2004 at http://msdn.microsoft.com/en-us/library/ms972974.aspx.
Making JavaScript Smaller: Dojo's Compressor, downloaded from The Internet WaybackMachine http://web.archive.org/web/20061114133532/http://dojotoolkit.org/docs/compressor—system.html on Sep. 13, 2011, archived on Nov. 11, 2006.
JSMIN, The JavaScript Minifier, Douglas Crockford, www.crockford.com, Dec. 4, 2003, downloaded Sep. 13, 2011 from http://www.crockford.com/javascript/jsmin.html.
Saravanan, “LiveCycle Productivity Kit Issue”, Mar. 2007, Online Discussion; [retrieved on Apr. 10, 2012]; Retrieved from Internet <URL:http://Ipk.riaforge.org/index.cfm?event=page.issue&issueid=78540FD5-F12A-3F6C-35E6...>; pp. 1-11.
Steve Vinoski, “Scripting JAX-WS,” IEEE Internet Computing, May & Jun. 2006, pp. 91-94.
Na Kika: Secure Service Execution and Composition in an Open Edge-Side Computing Network; Robert Grimm, Guy Lichtman, Nikolaos Michalakis, Amos Elliston, Adam Kravetz, Jonathan Miler, and Sajid Raza; NSDI '06: 3rd Symposium on Networked Systems Design & Implementation; 2006.
Remixing the Web: Tailoring Applications using Programmable Proxies inside Web Browsers; Leslie Wu, Joel Brandt, Scott Klemmer; Stanford Technical Report; Oct. 3, 2007.
TrickyScripter,by Val Polyakh 2006, archived by the Internet WayBack Machine, Nov. 2006, http://web.archive.org/web/20061113030853/http://trickyscripter.com/ http://web.archive.org/web/20061113030904/http://trickyscripter.com/FAQ/,downloaded Jun. 22, 2012.
“Free JavaScript Optimizer”, by Xtreeme, http://web.archive.org/web/20071114185001/http://www.xtreeme.com/javascript-optimizer/archived by the Internet WayBack Machine Nov. 14, 2007, downloaded Jun. 22, 2012.
Kersten, Mik; Murphy, Gail C; 1999, ACM, “Atlas: A Case Study in Building a Web-Based Learning Environment Using Aspect-Oriented Programming”.
Non-Final Office Action mailed May 28, 2009 from U.S. Appl. No. 11/735,428.
Final Office Action mailed Jan. 11, 2010 from U.S. Appl. No. 11/735,428.
Non-Final Office Action mailed Jun. 23, 2010 from U.S. Appl. No. 11/735,428.
Final Office Action mailed Jan. 4, 2011 from U.S. Appl. No. 11/735,428.
Non-Final Office Action mailed May 4, 2011 from U.S. Appl. No. 12/270,817.
Final Office Action mailed Jan. 17, 2012 from U.S. Appl. No. 12/270,817.
Non-Final Office Action mailed Sep. 11, 2012 from U.S. Appl. No. 12/270,817.
Non-Final Office Action mailed Oct. 11, 2012 from U.S. Appl. No. 12/955,881.
Non-Final Office Action mailed Sep. 20, 2012 from U.S. Appl. No. 13/175,570.
Non-Final Office Action mailed Apr. 11, 2012 from U.S. Appl. No. 12/273,539.
Final Office Action mailed Oct. 19, 2012 from U.S. Appl. No. 12/273,539.
Non-Final Office Action mailed Sep. 8, 2010 from U.S. Appl. No. 12/275,182.
Final Office Action mailed Jan. 24, 2011 from U.S. Appl. No. 12/275,182.
Non-Final Office Action mailed Aug. 24, 2012 from U.S. Appl. No. 12/275,213.
Final Office Action mailed Oct. 5, 2011 from U.S. Appl. No. 12/275,213.
Non-Final Office Action mailed Oct. 6, 2010 from U.S. Appl. No. 12/276,327.
Final Office Action mailed Apr. 4, 2011 from U.S. Appl. No. 12/276,327.
Non-Final Office Action mailed Sep. 13, 2012 from U.S. Appl. No. 12/276,336.
Non-Final Office Action mailed Jul. 20, 2010 from U.S. Appl. No. 12/276,337.
Final Office Action mailed Feb. 22, 2011 from U.S. Appl. No. 12/276,337.
Non-Final Office Action mailed May 4, 2012 from U.S. Appl. No. 12/325,239.
Final Office Action mailed Sep. 25, 2012 from U.S. Appl. No. 12/325,239.
Non-Final Office Action mailed Feb. 2, 2011 from U.S. Appl. No. 12/325,240.
Final Office Action mailed Nov. 8, 2011 from U.S. Appl. No. 12/325,240.
Non-Final Office Action mailed Oct. 24, 2012 from U.S. Appl. No. 12/325,240.
Non-Final Office Action mailed Jan. 20, 2011 from U.S. Appl. No. 12/325,268.
Non-Final Office Action mailed Oct. 17, 2011 from U.S. Appl. No. 12/325,268.
Final Office Action mailed Aug. 24, 2012 from U.S. Appl. No. 12/325,268.
Non-Final Office Action mailed Jul. 3, 2012 from U.S. Appl. No. 12/326,103.
Non-Final Office Action mailed Feb. 1, 2011 from U.S. Appl. No. 12/326,110.
Final Office Action mailed Nov. 23, 2011 from U.S. Appl. No. 12/326,110.
Non-Final Office Action mailed Oct. 22, 2012 from U.S. Appl. No. 12/326,110.
Non-Final Office Action mailed Oct. 4, 2011 from U.S. Appl. No. 12/326,861.
Final Office Action mailed Jul. 5, 2012 from U.S. Appl. No. 12/326,861.
Non-Final Office Action mailed Aug. 9, 2011 from U.S. Appl. No. 12/326,891.
Final Office Action mailed Mar. 27, 2012 from U.S. Appl. No. 12/326,891.
Non-Final Office Action mailed Sep. 29, 2011 from U.S. Appl. No. 12/326,910.
Final Office Action mailed Jun. 19, 2012 from U.S. Appl. No. 12/326,910.
Non-Final Office Action mailed Apr. 26, 2011 from U.S. Appl. No. 12/327,330.
Final Office Action mailed Feb. 26, 2012 from U.S. Appl. No. 12/327,330.
Non-Final Office Action mailed Sep. 26, 2012 from U.S. Appl. No. 12/327,330.
Non-Final Office Action mailed Aug. 20, 2010 from U.S. Appl. No. 12/327,802.
Non-Final Office Action mailed Sep. 9, 2010 from U.S. Appl. No. 12/334,434.
Final Office Action mailed Jan. 28, 2011 from U.S. Appl. No. 12/334,434.
Non-Final Office Action mailed Oct. 5, 2011 from U.S. Appl. No. 12/563,159.
Final Office Action mailed Aug. 17, 2012 from U.S. Appl. No. 12/563,159.
Written Opinion of the International Searching Authority for PCT Application No. PCT/US07/01697, mailed Feb. 5, 2008.
Written Opinion of the International Searching Authority for PCT Application No. PCT/US07/66673, mailed Jul. 7, 2008.
Provisional Applications (1)
Number Date Country
60988117 Nov 2007 US