System, method and computer program product for versioning and deprecation of components of an application
Assigneesalesforce.com, inc.
InventorsCraig Weissman, Andrew Smith
Life of this patent
Estimating the term…
Abstract
In accordance with embodiments, there are provided mechanisms and methods for versioning components of an application. These mechanisms and methods for versioning components of an application can ensure that an updated application maintains backwards compatibility, such that the application developer may maintain a single application while supporting multiple prior versions of the application.
Claims15
A computer program product embodied on a non-transitory computer readable medium, comprising:
- computer code for storing a first application having at least one feature, wherein multiple versions of the feature exist in the first application and wherein the versions are each accessed in the first application by a different set of one or more components;
- computer code for receiving a request from a second application to access the feature of the first application;
- computer code for, in response to the request from the second application, identifying one of the versions of the feature in the first application by:
- selecting at least one of a plurality of predetermined rules for use in determining at least one of the sets of components in the first application allowed to be accessed by the second application, wherein the predetermined rules are specific to, and selected based on, at least one of:
- a type of code of the second application requesting the access to the feature of the first application, a type of the feature of the first application requested to be accessed by the second application, and an accessibility of the first application to one or more users, and
- determining at least one of the sets of components in the first application allowed to be accessed by the second application by applying the selected predetermined rules to a version associated with the second application;
- computer code for providing, to the second application, access to the determined at least one of the sets of components in the first application.
A method, comprising:
- storing a first application having at least one feature, wherein multiple versions of the feature exist in the first application and wherein the versions are each accessed in the first application by a different set of one or more components;
- receiving a request from a second application to access the feature of the first application;
- in response to the request from the second application, identifying one of the versions of the feature in the first application by:
- selecting at least one of a plurality of predetermined rules for use in determining at least one of the sets of components in the first application allowed to be accessed by the second application, wherein the predetermined rules are specific to, and selected based on, at least one of:
- a type of code of the second application requesting the access to the feature of the first application, a type of the feature of the first application requested to be accessed by the second application, and an accessibility of the first application to one or more users, and
- determining at least one of the sets of components in the first application allowed to be accessed by the second application by applying the selected predetermined rules to a version associated with the second application;
- providing, to the second application, access to the determined at least one of the sets of components in the first application.
An apparatus, comprising:
- a processor for:
- storing a first application having at least one feature, wherein multiple versions of the feature exist in the first application and wherein the versions are each accessed in the first application by a different set of one or more components;
- receiving a request from a second application to access the feature of the first application;
- in response to the request from the second application, identifying one of the versions of the feature in the first application by:
- selecting at least one of a plurality of predetermined rules for use in determining at least one of the sets of components in the first application allowed to be accessed by the second application, wherein the predetermined rules are specific to, and selected based on, at least one of:
- a type of code of the second application requesting the access to the feature of the first application, a type of the feature of the first application requested to be accessed by the second application, and an accessibility of the first application to one or more users, and
- determining at least one of the sets of components in the first application allowed to be accessed by the second application by applying the selected predetermined rules to a version associated with the second application;
- providing, to the second application, access to the determined at least one of the sets of components in the first application.
A method for transmitting code for use in a multi-tenant database system on a transmission medium, the method comprising:
- transmitting code for storing a first application having at least one feature, wherein multiple versions of the feature exist in the first application and wherein the versions are each accessed in the first application by a different set of one or more components;
- transmitting code for receiving a request from a second application to access the feature of the first application;
- transmitting code for, in response to the request from the second application, identifying one of the versions of the feature in the first application by;
- selecting at least one of a plurality of predetermined rules for use in determining at least one of the sets of components in the first application allowed to be accessed by the second application, wherein the predetermined rules are specific to, and selected based on, at least one of:
- a type of code of the second application requesting the access to the feature of the first application, a type of the feature of the first application requested to be accessed by the second application, and an accessibility of the first application to one or more users, and
- determining at least one of the sets of components in the first application allowed to be accessed by the second application by applying the selected predetermined rules to a version associated with the second application;
- transmitting code for providing, to the second application, access to the determined at least one of the sets of components in the first application.
Dependencies are inferred from the claim text.