Aspect oriented programming
AssigneeAppecelerator, Inc.
InventorsPaul Colton, Uri Sarid, Kevin Edward Lindsey
Life of this patent
Estimating the term…
Abstract
A system and method for utilizing aspect oriented programming on a server. The present invention subjects an HTML layout container to aspect oriented programming on a server-side, and tags the HTML layout container with a class name. A server framework determines if a HTML page of the HTML layout container is being served to an authorized browser, and acts on the determination for the HTML page of the HTML layout container.
Claims17
A method for utilizing aspect oriented programming on a server, the method comprising:
- subjecting a HTML layout container to aspect oriented programming on a server-side;
- tagging the HTML layout container with a class name representing a sensitive aspect of the HTML layout container to separate the tagged HTML layout container from non-sensitive HTML layout containers to prevent unauthorized access to sensitive program objects in the tagged HTML layout container from client-side mechanisms, wherein the sensitive aspect comprises at least one of a security, access control and compliance aspect of the HTML layout container and the non-sensitive aspect comprises at least one of a content, presentation or behavior aspect of the HTML layout container;
- receiving a request from a browser for the HTML layout container;
- locating the HTML layout container on the server-side;
- determining at a server framework if a HTML page of the HTML layout container is being served to a browser authorized to access program objects contained in the HTML layout container tagged with the sensitive aspect class name on a client-side;
- acting on the determination for the HTML page of the HTML layout container;
- performing JavaScript code that is tagged to be performed by the server-side;
- and stripping out the JavaScript code that is tagged to only be performed by the server-side from the HTML page of the HTML layout container.
A system for utilizing aspect oriented programming on a server, the system comprising:
- a HTML layout container;
- a network;
- a browser in communication with the HTML layout container over the network, the browser having means for calling the HTML layout container;
- a server comprising
- means for subjecting the HTML layout container to aspect oriented programming,
- means for tagging the HTML layout container with a class name representing a sensitive aspect of the HTML layout container to separate the tagged HTML layout container from non-sensitive HTML layout containers to prevent unauthorized access to sensitive program objects in the tagged HTML layout container from client-side mechanisms, wherein the sensitive aspect comprises at least one of a security, access control and compliance aspect of the HTML layout container and the non-sensitive aspect comprises at least one of a content, presentation or behavior aspect of the HTML layout container,
- means for receiving a call from the browser for the HTML layout container,
- means for locating the HTML layout container on the server,
- means for determining if a HTML page of the HTML layout container is being served a browser authorized to access program objects contained in the HTML layout container tagged with the sensitive aspect class name on a client-side,
- means for acting on the determination for the HTML page of the HTML layout container, means for performing JavaScript code that is tagged to be performed by the server-side, and means for stripping out the JavaScript code that is tagged to only be performed by the server-side from the HTML page of the HTML layout container.
A method for utilizing aspect oriented programming on a server, the method comprising:
- subjecting a HTML layout container to aspect oriented programming on a server-side;
- tagging the HTML layout container with a class name representing a sensitive aspect of the HTML layout container to separate the tagged HTML layout container from non-sensitive HTML layout containers to prevent unauthorized access to sensitive program objects in the tagged HTML layout container from client-side mechanisms, wherein the sensitive aspect comprises at least one of a security, access control and compliance aspect of the HTML layout container and the non-sensitive aspect comprises at least one of a content, presentation or behavior aspect of the HTML layout container
- receiving a request from a browser for the HTML layout container;
- locating the HTML layout container on the server-side;
- determining at a server framework if a HTML page of the HTML layout container is being served to a browser authorized to access program objects contained in the HTML layout container tagged with the sensitive aspect class name;
- performing JavaScript code that is tagged to be performed by the server-side;
- and
- stripping out the JavaScript code that is tagged to only be performed by the server-side from the HTML page of the HTML layout container;
- and
- sending the HTML page of the HTML layout container to the authorized browser.
Dependencies are inferred from the claim text.