An environment in Force.com lets you develop and test your cloud computing application immediately without any delay and without touching even a single server. So an environment lets you deploy or create applications with different features depending on their configuration.
Few significant characteristics of an environment:
Domain Name:
Table of Content - SalesForce Integration and Environment in Cloud Computing |
➤ Custom Domain names let you run your own website on a platform ➤ SandBox |
We perform all these through point & click mechanism
Do you want to get certified and build your career in Salesforce Marketing Cloud? Then enroll in "Salesforce Marketing Cloud Online Training" this course will help you to achieve excellence in this domain. |
↓→ It Governs the limits and based on this, execution works from the starting till the ending
We must write and select the test method
↓→ Must practice best only (we have to work on all these test methods).
G .L worst work -> Ajax -> test the code -> G.L will work love
↑
VF
To achieve this,
The ↓→ Special method is used to run at user mode
{
}
By default apex & VF will execute in system mode only, if we want to execute apex & VF in user mode then perform the operation again back to the system mode
→ System. runs AS (user) ↑ ↑→ S object
User clerk = [select an ID from the user where, first name = ‘OSEARIT’ limit 1]
System. runs As [clerk] {
Public test method static void main (){
System. run As (clerk) {
}
An Apex annotation adapts the manner in which a method is used.
Annotations are used to give additional information to the compilers at the run time. Annotations are illustrated with an initial @symbol followed by a certain appropriate keyword. @isTest annotation defines a method that contains the code used for the application.
Eg:
Global class annot {
@is test
Public static void test me (){
System. Debug (‘hello, hi’);
}
Test method {
Test. Start test () ]
| → Write inside the test method only
Test. Stop test () ]
}
In this, we can double the governor limits
Integration between several related apps helps the organization to achieve efficiency, consistency, and quality in real-time.
↓→ Different app’s
Package:-
Collection of resources to serve these applications
Managed: We can add new features even after the release
Un-Named: Develops and provides
Salesforce creates copies of your organization in separate environments. It uses them for development and testing. Different types of sales force.com sandbox support different activities. SandBox is completely isolated from the Salesforce production organization. Its types are:
There are two kinds of sales force.com environments
SandBox:
The Sandbox is an environment stored by sales force.com for testing and the development purpose and is mostly used by developers and testers
Related Article: Salesforce Interview Questions & Answers |
Production: Production is an environment where the actual users work with the actual data and are maintained by administrators
Developer SandBox: This is the most basic sandbox provided by SFDC. This comes as free and can be created by a single developer. Multi-users can log in and share this single developer Sandbox.
It can store 10 MB of data and can be refreshed every day (features of the winter 11 release), this sandbox can be created from the PRD environment
Configuration Only SandBox: This is a paid sandbox and costs around 10% of the production environment, this is mostly used when the system needs to be tested with a good check of the data
This sandbox can be created directly from the production environment and can be refreshed every day. This sandbox has a data limit of up to 500MB.
Related Article: Learn Salesforce Tutorial |
Full SandBox: This is also a paid sandbox and costs around 15% to 20% of the PRD environment. The full copy sandbox of SFDC is an exact replica of the production environment and even stores the actual business data.
This sandbox can be created from the SFDC Prd environment and can be refreshed after every 28 days. The full copy sandbox has the same data limit as the PRD environment has.
Sandbox → PRD
↓→ This process is called deployment
Deployment is a connection between two salesforce environments to move, changes from one environment to the other environment.
Force.com (development environment)
IDE
Eclipse
→ Eclipse IDE provides an environment, where we write the code, test, and deploy the code
Annotations:-
Annotations are used as additional information to the compilers at the run time
Are used to test the performance of a single test
Eg:
Global class all {
@ is test
Public static void test me () {
System.debug (‘hello, hai Ashok’);
}
Related Articles:
An Overview of SalesForce Security
An Introduction to Visualforce – SalesForce
Access Specifiers in SalesForce Cloud Computing - Salesforce
Mindmajix offers different Salesforce certification training according to your desire with hands-on experience on Salesforce concepts
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
Salesforce Training | Dec 21 to Jan 05 | View Details |
Salesforce Training | Dec 24 to Jan 08 | View Details |
Salesforce Training | Dec 28 to Jan 12 | View Details |
Salesforce Training | Dec 31 to Jan 15 | View Details |
Arogyalokesh is a Technical Content Writer and manages content creation on various IT platforms at Mindmajix. He is dedicated to creating useful and engaging content on Salesforce, Blockchain, Docker, SQL Server, Tangle, Jira, and few other technologies. Get in touch with him on LinkedIn and Twitter.