Generally, markup languages enable users to define, among other things, the structure, visual appearance, and meaning of data. One common markup language for describing data is Extensible Markup Language (“XML”). XML is a general purpose specification that enables users to identify, exchange, and process various kinds of data. For example, XML may be used to create documents that can be utilized by a variety of application programs. Elements of an XML file may include a namespace and a schema. In XML, a namespace is commonly used to identify each class of XML document. Each XML document can use a namespace to enable processes to easily identify the type of XML associated with the document. The unique namespaces may also assist to differentiate markup elements that come from different sources and happen to have the same name.
XML schema provides a way to describe and validate data in an XML environment. A schema may describe what elements and attributes are used to describe content in an XML document, where each element is allowed, and which elements can appear within other elements. The use of schema ensures that an XML file is structured in a consistent manner. XML schema may be created by a user and is generally supported by an associated markup language, such as XML. By using an XML editor that supports schema, a user can manipulate the XML file and generate XML documents that adhere to the schema the user has created.
While XML provides these and other elements for describing data in a variety of ways, XML still has a number of significant drawbacks. For example, XML lacks functionality for defining how a system should handle data once it is received. In particular, XML cannot instruct a system to store, process, and present the data to users in a certain way. Instead, XML generally relies on each system to handle data according to the system's own configuration. Potential conflicts can occur when a group of computers collaboratively perform a complex computing process, for example. In particular, one computer may handle data in a way that is incompatible with other computers in the group. To compound the problem further, XML also lacks functionality for presenting data used by each system in a way that enables users to recognize and reconcile these potential conflicts. Moreover, XML is a generic markup language which can be used to give structure to information, but which does not innately assign any processing rules for that data.
It is with respect to these considerations and others that the disclosure made herein is presented.
Technologies are described herein for enabling a portable, platform-independent data application description. In particular, through the utilization of the technologies and concepts presented herein, a novel platform-independent data application description language, which is referred to herein as the Application Extensible Markup Language (“AXL”) is introduced and described. AXL is capable of defining not only data, but also how the data should be handled by a computer as well as business logic at various levels. AXL enables a user to define these concepts at a high level of abstraction, thereby enabling portions of an AXL application to be reusable without concern for technological dependencies.
In one exemplary implementation, AXL is XML based and is therefore a subset of the overall functionality provided by XML. In an AXL file, the structured information that is a part of the document may define a holistic system for tracking structured data. As opposed to being a generic means for adding structure to arbitrary information, as XML is, AXL uses XML's structural semantics to define specific attributes that in conglomeration can represent an overall data tracking system and other suitable data applications.
According to one aspect presented herein, a data structure is provided for generating a platform-independent data application, such as an AXL application. The data structure may be stored on a computer-readable storage medium and may be implemented on a computer through a suitable application program. The data structure may include a platform-independent definition of a data schema for defining data types. The data structure may further include a platform-independent definition of a user interface for accessing instances of typed data stored within the system, and a platform-independent definition of business logic for enforcing validation rules and actions associated with the data types.
According to further aspects presented herein, the platform-independent data application including the definition of the data schema, the definition of the user interface, and the definition of business logic is generated. In particular, the platform independent data application may be stored in an AXL file on the computer-readable storage medium. For example, the AXL file may be identified by an extension associated with AXL applications (e.g., “.axl”). Once the AXL file containing the data structure is created, a data tracking application or other suitable data application defined by the AXL file may be implemented by any suitable application program.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended that this Summary be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.
The following detailed description is directed to technologies for enabling a portable, platform-independent data application description language. Through the utilization of the technologies and concepts presented herein, a novel platform-independent data application description language, which is referred to herein as AXL, is introduced and described. While the subject matter described herein is presented in the general context of program modules that execute in conjunction with the execution of an operating system and application programs on a computer system, those skilled in the art will recognize that other implementations may be performed in combination with other types of program modules. Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the subject matter described herein may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like.
In the following detailed description, references are made to the accompanying drawings that form a part hereof, and which are shown by way of illustration specific embodiments or examples. Referring now to the drawings, in which like numerals represent like elements through the several figures, aspects of a computing system and methodology for creating and implement AXL applications will be described.
The server-side AXL application 102A operates on a server computer 104, and the client-side AXL application 102B operates on a client computer 106. The server-side AXL application 102 may be created using a server-side AXL editor 112A. For example, the server-side AXL editor 112A may be a web application that is accessible through the network 110 by a web browser 114 operating on the client computer 106. The client-side AXL application 102B may be created using a client-side AXL editor 112B. The client-side AXL editor 112B may be an application program operating on the client computer 106. The server-side AXL editor 112A and the client-side AXL editor 112B are collectively referred to as AXL editors 112 or AXL editor 112. The AXL editors 112 provide a user-interface for creating the AXL applications 102 in accordance with the AXL data application description language.
At the server computer 104, the AXL application 102A may be implemented through a server-side application program 116A. At the client computer 106, the AXL application 102B may be implemented through a client-side application program 116B. The server-side application program 116A and the client-side application program 116B are collectively referred to as the application programs 116 or application program 116. Examples of the application programs 116 may include productivity applications, such as a word processing application, a spreadsheet application, a presentation application, and a database application. Other suitable application programs may be similarly utilized to implement the AXL applications 102. In one example, the AXL applications 102 include a contact tracking application for tracking contacts by various attributes, such as name, email address, physical address, and phone number. The contact tracking application may be utilized by a database application to create a contacts template that a user can populate with data from the data storage device 108.
An illustrative and non-limiting example of a contact tracking application written in AXL is shown below with respect to APPENDIX A. There may be numerous other ways for defining a contact tracking application as contemplated by those skilled in the art. The AXL code shown in APPENDIX A is based primarily on XML. However, it should be appreciated that AXL may be built upon any existing schema language. It should further be appreciated that the contact tracking application and other tracking applications described herein are merely illustrative examples. In particular, AXL may be used to define tracking applications as well as other suitable data applications as contemplated by those skilled in the art.
Referring now to
According to embodiments, AXL provides constructs for defining, among other things, application information, data schema, forms and reports, business logic, and user interfaces. AXL provides a variety of tools that a developer can use to define data applications in a platform-independent format and at a high level of abstraction. Conceptually, AXL enables a developer to define a data application by its end result rather than how the data application achieves the end result. It should be appreciated that an AXL application may define one or more of these constructs and may integrate into or interoperate with other application types that provide additional functionality.
Unlike conventional schema languages, such as XML, AXL provides a complete and functional methodology for enabling data tracking as well as other data application functionality. In particular, AXL provides a diverse set of constructs that can work collaboratively in order to track a single instance of data in a simple yet complete cross-platform format. An example of a tracking application is the contact tracking application as previously described. AXL defines not only the form of the data that is tracked, but also how the data should be handled by multiple computers. For example, each computer in a collaborative group of computers can be configured through an AXL application to follow the same set of rules for storing the data, processing the data, and presenting the data to users. By ensuring that each computer handles the same data in the same way, any potential conflicts caused by differing and incompatible approaches for handling the data are essentially eliminated.
Referring again to
Referring now to
The application information construct 302 may include logic for defining any suitable descriptive information regarding the AXL application. For example, application information may include a title, a description, a date of modification, a version identifier, a name of an author, and the like. Application information is generally high-level information that is primarily provided for documenting AXL code and to aid in the organization and interpretation of the code by users. A non-limiting, exemplary implementation of the application information construct 302 is shown below.
The data schema construct 304 defines a structure for data in terms of various data types. As used herein, a data type refers to any suitable construct for representing a portion of a larger collection of data. In its simplest form, a data type may be a data field (i.e., a column in a database). However, it should be appreciated that a data type, as used herein, may contain richer content than conventional data fields.
In an illustrative example, a telephone may include a ringer, a receiver and headset. The telephone may also include a number of different keys. Further, the telephone may have knowledge of the particular system in which it operates. For example, a landline telephone and a mobile telephone will operate differently based on different underlying systems of communications. While a conventional field-based approach may not be optimal for describing multiple telephone systems of increased complexity, a data type, as described herein, is capable of effectively representing the various elements of different telephone systems in order to create a telephone tracking system and other suitable data applications. In particular, a single instance of a data type may include not only a single data field, but also a collection data fields. Whereas a single data field is typically limited to a simple value (e.g., text, number, etc.), a data type that includes a collection of data fields may be used to define complex systems in as detailed a manner as contemplated by the designer.
The data schema construct may include logic for defining tables and relationships, validation rules, user interface hints and feedback, predefined actions, and the like. The data schema construct may further provide logic ensuring that data in a given AXL application remains intact and consistent. In particular, AXL describes and enforces business logic, as described in the business logic construct 308, at the data level. For example, validation rules and actions are described in terms of data types, as opposed to user interface controls that render those types. This approach ensures data integrity across multiple user interfaces, including later-created user interfaces, as well as across multiple entry points, such as web services. The user interface hints are also described at the data level. For example, default conditional formatting can be described in terms of data types. The user interface construct 306, which is described in greater detail below, may choose whether or not to follow the user interface hints. A non-limiting, exemplary implementation of the data schema construct 304 is shown below.
The user interface construct 306 defines user interfaces, such as forms and reports, enabling users to navigate between viewing and editing data. In particular, the user interface construct 306 may include logic specifying how the data is presented, the kind of data that is presented, and whether data can be edited and by whom. As used herein, a form refers to a user interface for displaying the data on a computer monitor or other display, while a report refers to a printed output (i.e., a printed document) of the data printed via a suitable printing device. In one embodiment, the forms and reports may be defined based upon existing queries, such as a standard query language (“SQL”) query or an XML Path Language (“XPATH”) query. These queries may be utilized to retrieve data, which can then be presented to a user via a form or a report.
Further, AXL describes and enforces business logic, as defined in the business logic construct 308, at the form level. In one example, when a user interacts with one form to request additional information, business logic at the form level may link that form to another form that contains the requested information. In another example, when data in one data type is edited through a form, business logic at the form level may dictate that data in related data types within the form should be changed or deleted accordingly. A non-limiting, exemplary implementation of the user interface construct 306 is shown below.
In order to further illustrate the various constructs, as described above, within the AXL data application description language, another non-limiting example will be described. In particular, a donation tracking system will be described that tracks monetary donations provided by donors. For example, the donation tracking system may be implemented through a database application that is operated by charitable organization.
The donation tracking system may be defined to include data types for active donors, inactive donors, donations, donation date, and tasks. In this case, active donors refer to donors who have recently donated (i.e., last donated after a given threshold), while inactive donors refer to donors who have not recently donated (i.e., last donated before a given threshold). The donations type may specify an amount of a donation, and the donation date type may specify the date of a donation. The tasks type may specify tasks to be fulfilled by the entity receiving the donations.
Business logic at the data level may dictate that an entry into the donation type triggers an association to the donor type for specifying the donor who made the donation and the donation date type for specifying the date of the donation. In this way, the donation management system can respond to requests based on the data, such as “show me all donations and the date of each donation for the donor named Bob.” In another illustrative example, business logic at the data level may also dictate that a donation above a given amount triggers a task in the task type indicating that the donation receiver should send a thank you note to the donor.
At the form level, business logic refers to rules and associations for data presented in a form to a user. For example, business logic at the form level may dictate that if a user clicks on the name of a donor, another form may be presented displaying all of the donations associated with that donor. In this case, the business logic at the form level is used to create associations between forms. Business logic at the form level may also dictate that users of a certain class can only view or edit certain data. For example, security measures may restrict low-level employees from editing critical financial data that is limited to high-level employees.
Referring now to
Referring now to
Turning now to
Referring to
At operation 604, the AXL editor 112 receives a definition of a data schema in accordance with the AXL data application description language. The data schema may define, among other things, data types, properties of the data types, relationships between data types, and queries for retrieving data. The routine 600 proceeds to operation 606 where the AXL editor 112 receives a definition of a user interface, such as a forms and reports. The user interface may be defined to display data in a certain way or to display only a limited subset of data. The user interface may also be defined to restrict access to data and to enable users edit the data. The routine 600 proceeds to operation 608.
At operation 608, the AXL editor 112 receives a definition of business logic in accordance with the AXL data application description language. The business logic may be utilized to enforce rules for the way data is handled at the data level as well as the form level. By enforcing these rules, the business logic also maintains data integrity across the data handled by the AXL application. The routine 600 proceeds to operation 610 where the AXL editor 112 generates an AXL application using, among other things, definitions for the application information, the data schema, the user interface, and the business logic. The AXL application may be stored in a portable file that can be shared between users and across computer networks. The AXL application may also be provided with a dedicated file extension (e.g., “.axl”), which enables users and computers to easily identify AXL-based files.
Referring now to
By way of example, and not limitation, computer-readable media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data. For example, computer-readable media includes, but is not limited to, RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVD”), HD-DVD, BLU-RAY, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer 700.
According to various embodiments, the computer 700 may operate in a networked environment using logical connections to remote computers through a network 718. An example of the network 718 is the network 110. The computer 700 may connect to the network 718 through a network interface unit 710 connected to the bus 706. It should be appreciated that the network interface unit 710 may also be utilized to connect to other types of networks and remote computer systems. The computer 700 may also include an input/output controller 708 for receiving and processing input from a number of input devices (not shown), including a keyboard, a mouse, a microphone, and a game controller. Similarly, the input/output controller 708 may provide output to a display or other type of output device (not shown).
Based on the foregoing, it should be appreciated that technologies for generating platform-independent data applications such as AXL applications, are presented herein. Although the subject matter presented herein has been described in language specific to computer structural features, methodological acts, and computer readable media, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features, acts, or media described herein. Rather, the specific features, acts and mediums are disclosed as example forms of implementing the claims.
The subject matter described above is provided by way of illustration only and should not be construed as limiting. Various modifications and changes may be made to the subject matter described herein without following the example embodiments and applications illustrated and described, and without departing from the true spirit and scope of the present invention, which is set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
6052527 | Delcourt | Apr 2000 | A |
6775825 | Grumann | Aug 2004 | B1 |
6964034 | Snow | Nov 2005 | B1 |
7603368 | Super et al. | Oct 2009 | B2 |
7774745 | Fildebrandt et al. | Aug 2010 | B2 |
20030060896 | Hulai | Mar 2003 | A9 |
20050050555 | Exley | Mar 2005 | A1 |
20050071805 | Lauterbach et al. | Mar 2005 | A1 |
20050268277 | Reeder et al. | Dec 2005 | A1 |
20060041582 | Hekmatpour | Feb 2006 | A1 |
20060236307 | Debruin | Oct 2006 | A1 |
20070033212 | Fifield | Feb 2007 | A1 |
20070078925 | Neil | Apr 2007 | A1 |
20070168932 | Seeger | Jul 2007 | A1 |
20080127169 | Malasky et al. | May 2008 | A1 |
20090157725 | Zheng | Jun 2009 | A1 |
20090164497 | Steinmaier et al. | Jun 2009 | A1 |
20090199173 | Ramannavar et al. | Aug 2009 | A1 |
20100223325 | Wendker et al. | Sep 2010 | A1 |
Entry |
---|
AS and Connector Configuration Reference, downloaded Feb. 11, 2008. |
Application Definition File Reference, downloaded Feb. 11, 2008. |
Number | Date | Country | |
---|---|---|---|
20090327328 A1 | Dec 2009 | US |