Salesforce PD1 Flashcards
the settings, options, etc. for using that data
What is metadata?
allow different pieces of software to connect to each other and exchange information.
- think about it like all the ports in your computer that allows different devices to connect and transfer data
- When you add a custom object or field, the platform automatically creates a (answer) name that serves as an access point between your org and the database.
What are APIs?
Visualforce uses the traditional model–view–controller (MVC) paradigm, and includes sophisticated built-in controllers to handle standard actions and data access, providing simple and tight integration with the Force.com database using these.
What are standard controllers?
How does Salesforce implements MVC?
Model: Standard and Custom Objects - View: Visualforce Pages -Controller: ApexCode
-The MVC design pattern makes it easy to separate the view and its styling from the underlying database and logic.
two sets of code that represent the Controller in MVC architecture:
- Standard Controller system methods that are referenced by Visual force. 2. Custom Apex and JavaScript code which allows you to create your own controllers and use them to manipulate data.
Difference between contacts and accounts
accounts are companies that you’re doing business with, and contacts are the people who work for them.
-If you’re doing business with a single person, like a solo contractor or an individual consumer, you use a Person Account.
What is the maximum amount of people a Salesforce Account Team can contain?
five people.
deals in progress. In Salesforce you can create these for existing accounts or by converting a qualified lead.
What are Opportunities?
people and companies that you’ve identified as potential customers. You can then convert them to opportunities and contacts.
What are Leads?
community of partners that use the flexibility of the Salesforce platform to build amazing apps that anyone can use(some are paid)
What is AppExchange?
What is Apex?
compiled, stored, and run entirely on the Force.com platform
- Salesforce saves the instructions(compiled code) as metadata.
- Apex is a strongly-typed language, that is, you must declare the data type of a variable when you first refer to it. Apex data types include basic types such as Integer, Date, and Boolean, as well as more advanced types such as lists, maps, objects and sObjects.
What is the Apex syntax when declaring variables?
datatypevariable_name [ = value];
Example: Integer Count = 0;
a series of statements that are grouped together with curly braces { } and can be used in any place where a single statement would be allowed.
What is a block.
Name the types of collections Apex has.
Lists (arrays) -Maps -Sets
a collection of elements, such as Integers, Strings, objects, or other collections.
What is a List?
Created by: List list_name
a collection of unique, unordered elements. It can contain primitive data types, such as String, Integer, Date, and so on. It can also contain more complex data types, such as sObjects.
What is a Set?
Created by: Set My_string = new Set…
a collection of key-value pairs. Keys can be any primitive data type. Values can include primitive data types, as well as objects and other collections.
What is a Map?
Lightning components
use a tag-based markup language that enables you to build components to customize Lightning Experience, Salesforce1, or build your own standalone apps. Components use an event-driven architecture that’s powered by JavaScript on the client side and Apex on the server side.
-You can also use out-of-the-box components to speed up development.
consists of a tag-based markup language that gives developers a more powerful way of building applications and customizing the Salesforce user interface.
Visualforce
Things you can do with Visualforce:
- Build wizards and other multistep processes.
- Create your own custom flow control through an application.
- Define navigation patterns and data-specific rules for optimal, efficient application interaction.