Introduction I Flashcards
Révisions
What is the MVC model in Salesforce?
The MVC model in Salesforce stands for Model-View-Controller, where the Model is the database, the View displays data to the user, and the Controller controls the flow of data and applies business logic.
What are the two ways to interact with Salesforce or any application?
There are two ways to interact with Salesforce: The Graphical User Interface (GUI) designed for human interaction, and the Application Programming Interface (API) designed for communication between applications.
What is the primary function of a Salesforce API?
The primary function of a Salesforce API is to allow two applications to communicate, enabling data viewing, copying, and storage across applications.
Explain the difference between GUI and API in Salesforce.
GUI in Salesforce is designed for human interaction, displaying data in a user-friendly way, while API allows interaction between applications, facilitating automated data exchange.
Describe the Salesforce architecture in terms of front-end and back-end languages.
In Salesforce, the front-end languages include HTML and CSS, while the back-end language is primarily Apex.
What is the significance of Apex in Salesforce?
Apex is a back-end language in Salesforce used for creating complex business logic on the server side.
What are Salesforce Triggers and their purpose?
Salesforce Triggers are event-based and execute before or after specific database events like insert, update, delete, etc., to implement custom business logic.
What is a Roll-Up Summary field in Salesforce?
A Roll-Up Summary field in Salesforce displays a sum, minimum, maximum, or count of a field in related records, helping to aggregate data from child records in a Master-Detail relationship.
Differentiate between Lookup and Master-Detail relationships in Salesforce.
Lookup relationships in Salesforce link two loosely coupled entities and are optional, whereas Master-Detail relationships link strongly coupled entities and are mandatory, with cascade delete and roll-up summary features.
What are the main components of Lightning components in Salesforce?
Lightning components in Salesforce include a View, a Client Side Controller using JavaScript for dynamic user experience, and a Controller part (Apex) for backend interactions.