Salesforce ArchitectureSalesforce is one of the leading CRM platforms to provide various customized services to its customers, partners, and employees. It also provides the platform to build custom apps, pages, components, etc., and it performs all these tasks so efficiently, mainly because of its architecture that it follows. Salesforce Architecture is the multilayer architecture; it contains a series of layers situated on the top of each other. The below diagram shows the architectural view of the salesforce: Explanation of Salesforce Architecture
Terminologies used in Salesforce Architecture
Core Architecture of SalesforceThe architecture of the salesforce can be understood as a series of layers. Each layer of the architecture has different features and functionality. Each layer is described below: 1. Multi-Tenant LayerSalesforce architecture is so popular because of its multitenancy. The multitenant architecture means one common application for multiple groups or clients. In such architecture, multiple clients use the same server, but their oaks are isolated from each other. It means the data of one client is secure and isolated from other groups or clients. Because of multitenancy, any developer can develop an application, upload it on the cloud, and easily share it with multiple clients or groups. Multiple users share the same server and applications, hence it is very cost-effective. In salesforce, because of this multitenant architecture, all customers' data is saved in a single database. As we can see in the above diagram, the common application is shared among the three clients. The multitenant architecture is much efficient than single-tenant architecture. Some differences between both the architectures are given below:
2. MetadataThe Salesforce platform follows the meta-data development model. The metadata means data about the data. Salesforce stores the metadata in the shared database along with the data. It means it stores the data as well as what data does. As we can see in the below diagram, the tenant-specific data ensures that the common data is only shared with one tenant, not with another tenant or group. This ensures the security of the data even in the shared database. The security issues get resolved with the multitenant architecture because all data is stored on different levels in the form of metadata, i.e., data above data. We can understand it will an example, such as if there are three clients A, B, and C who contain the shared database in the salesforce platform. These groups can access their metadata from the shared data. Therefore, each client will have separate metadata. This separate metadata makes ensure each client shares his data only, not others. This increases the security of the shared database with the developer's productivity. API ServicesThe salesforce metadata-driven model allows the developers to create their applications easily with the help of various tools. But sometimes developers need some more functionalities for their apps to make some modifications. To make such modifications, salesforce provides a powerful source of the APIs. These APIs helps the developers to customize the Salesforce mobile application. These APIs allows the various bits of programming to interface with each other and trade data. Without knowing many details, we can connect our apps with other apps. The API provides a simple but powerful, and open way to programmatically access the data and any app running on the salesforce platform. These APIs helps the developers to access apps from any location, using any programming language that supports Web services, like Java, PHP, C#, or .NET. |