Review 9 3 - Herson100/ProjectOne GitHub Wiki

VisualForce

What are the controller types?

  • Standard
  • Custom
  • Standard Set Controller

What is a controller extension?

  • An apex class that extends the functionality of a controller

What is data binding?

  • Modifying data in the controller/server and having those changes be reflected in the visualforce page and vice versa

What is expression syntax?

  • {!Expression}, used to denote where visualforce ends and apex code is being used.

What is included in the view state?

  • Elements, components, non-transient data, and any values stored in the visualforce page

What does the transient keyword do?

  • It forces that data to be reset or recalculated upon a view state change

What is SLDS?

  • Salesforce lightning design system, it's a suite of prebuilt CSS classes that can be used to style pages in a way that fits in with salesforce.

Write a SOSL query to retrieve Leads and Opportunities that contain the text 'Shipyard' somewhere.

  • [FIND 'Shipyard' IN All FIELDS RETURNING Lead(name), Opportunity(name)];