Programmatic data manipulation
First Claim
1. A computer-readable medium having computer executable instructions stored thereon, that, in response to execution by a processor of a computing device, cause the computing device to perform actions to apply a data manipulation primitive on an XML document, the actions comprising:
- identifying an operation in an application that provides logic to modify data in the XML document using a data manipulation primitive;
evaluating an expression in the application into an XBind referencing a set of data in the XML document affected by the data manipulation primitive, wherein the XBind has a URL and a base path, and wherein the set of data is less than the entire XML document; and
calling a document object to implement the data manipulation primitive as specified in the operation, wherein the document object is a runtime representation of the XML document, wherein the data manipulation primitive is implemented by the document object at runtime as the application is executing, and wherein implementing the data manipulation primitive as specified in the operation includes;
causing a transaction to be generated, wherein the transaction includes an XML fragment comprising information representing implementation of a relative change to the XML document and information representing reversal of the relative change to the XML document.
1 Assignment
0 Petitions
Accused Products
Abstract
Generally described, the present invention is directed to a network operating system that provides more effective ways of leveraging the connectivity of computer networks. In one embodiment, an XML virtual machine is implemented that accepts high-level application code written in an XML programming language as input. Functionality is provided to interpret or translate the application code written in an XML programming language into code that is suitable for execution across computer platforms. Moreover, the XML virtual machine supports the Model View Controller (MVC) design paradigm that facilitates true data abstraction from applications to a common data model. Multi-instance applications, with each instance potentially supporting multiple views, may be created and executed.
-
Citations
18 Claims
-
1. A computer-readable medium having computer executable instructions stored thereon, that, in response to execution by a processor of a computing device, cause the computing device to perform actions to apply a data manipulation primitive on an XML document, the actions comprising:
-
identifying an operation in an application that provides logic to modify data in the XML document using a data manipulation primitive; evaluating an expression in the application into an XBind referencing a set of data in the XML document affected by the data manipulation primitive, wherein the XBind has a URL and a base path, and wherein the set of data is less than the entire XML document; and calling a document object to implement the data manipulation primitive as specified in the operation, wherein the document object is a runtime representation of the XML document, wherein the data manipulation primitive is implemented by the document object at runtime as the application is executing, and wherein implementing the data manipulation primitive as specified in the operation includes; causing a transaction to be generated, wherein the transaction includes an XML fragment comprising information representing implementation of a relative change to the XML document and information representing reversal of the relative change to the XML document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 18)
-
-
8. A computer-implemented method for inserting data from a source document in a source format into a destination document in a destination format, the method comprising:
-
identifying, by a computer, an operation in an application that provides logic for performing a data transform; obtaining, by the computer, data in the source format from the source document, wherein the logic of the operation identifies the source document, and wherein the data in the source format from the source document is less than the entire source document; applying, by the computer, the transform defined in the operation on the data in the source format, wherein the transform is applied at runtime while the application is executing; creating, by the computer, an XBind that includes the transformed data, an identification of the destination document, and an indication of a location in the destination document to be affected by the operation; and creating, by the computer, a transaction that represents a relative change to the destination document and that includes information for reverting the relative change to the destination document, the transaction including the XBind. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer-readable medium having computer-executable instructions stored thereon that, in response to execution by a processor of a computing device, cause the computing device to provide components for applying a data manipulation primitive to an XML document, the components comprising:
-
an application component that defines a change operation for modifying a subset of data in the XML document using a data manipulation primitive, the subset of data in the XML document being less than the entire XML document; a document object providing a runtime representation of the XML document having methods for performing a plurality of data manipulation primitives on the XML document; a change handler configured to; parse the change operation defined in the application component; from logic in the change operation, generate an XBind that references the subset of data in the XML document affected by the change operation; and call a method of the document object to implement the data manipulation primitive, wherein the method call provides the document object with the XBind that references the subset of data in the XML document affected by the change operation; and a transaction manager configured to create a transaction that represents a relative change to the XML document as defined in the change operation, wherein the transaction includes information for reverting the relative change to the XML document. - View Dependent Claims (15, 16, 17)
-
Specification