万本电子书0元读

万本电子书0元读

顶部广告

Salesforce Platform Developer I Certification Guide电子书

售       价:¥

4人正在读 | 0人评论 9.8

作       者:Jan Vandevelde

出  版  社:Packt Publishing

出版时间:2019-05-24

字       数:53.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build and deploy scalable applications on the Salesforce Lightning Platform using the latest features of Spring '19 Key Features * An end-to end-guide with practice tests to help you achieve the Salesforce Platform Developer certification * Design data models, user interfaces, and business logic for your custom applications * Understand the complete development life cycle from designing to testing Book Description Salesforce Lightning Platform, used to build enterprise apps, is being increasingly adopted by admins, business analysts, consultants, architects, and especially developers. With this Salesforce certification, you'll be able to enhance your development skills and become a valuable member of your organization. This certification guide is designed to be completely aligned with the official exam study guide for the latest Salesforce Certified Platform Developer I release and includes updates from Spring '19. Starting with Salesforce fundamentals and performing data modeling and management, you’ll progress to automating logic and processes and working on user interfaces with Salesforce components. Finally, you'll learn how to work with testing frameworks, perform debugging, and deploy metadata, and get to grips with useful tips and tricks. Each chapter concludes with sample questions that are commonly found in the exam, and the book wraps up with mock tests to help you prepare for the DEV501 certification exam. By the end of the book, you’ll be ready to take the exam and earn your Salesforce Certified Platform Developer I certification. What you will learn * Solve sample questions and mock tests and work with exam patterns * Gain an understanding of declarative Salesforce tools such as Process Builder, flows, and many more * Code in Salesforce using the Developer Console and IDEs * Grasp the basics of object-oriented programming * Write Apex classes, Visualforce pages, and Apex test classes with easy-to-follow steps * Explore the different deployment tools that you can use to push metadata to different environments * Build custom declarative apps and programs on Force.com platforms Who this book is for The Salesforce Platform Developer I Certification Guide is for you if you want to learn how to develop and deploy business logic and user interfaces using the capabilities of the Lightning Platform. No prior knowledge of Apex programming is required.
目录展开

About Packt

Why subscribe?

Packt.com

Contributors

About the authors

About the reviewers

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Code in Action

Conventions used

Get in touch

Reviews

Section 1: Fundamentals, Data Modeling, and Management

Salesforce Fundamentals

Considerations when developing in a multi-tenant environment

What is multi-tenancy?

The MVC paradigm

The core CRM objects

Leads

Accounts

Contacts

Opportunities

Extending an application's capabilities using AppExchange

Common use cases for declarative customization

Objects and fields

Formula fields

Rollup summary fields

Validation rules

WFR

Approval processes

The Process Builder

Lightning flow

Summary

Quiz

Understanding Data Modeling and Management

Data modeling

Creating an app

Creating custom objects and custom fields

Creating records

Relationship types

Creating relationships

Schema design and modification impact on Apex development

Visualizing and creating entity relationships

Creating objects and fields with Schema Builder

Modifying page layouts through the App Builder

Adding and moving fields on the layout

Adding and removing Related Lists to and from the page layout

Updating records

Importing and exporting data into development environments

Importing data

Exporting data

Importing data through the Data Import Wizard

Exporting data through Data Export

Importing data through Data Loader

Exporting data through Data Loader

Summary

Quiz

Section 2: Logic, Process Automation, and the User Interface

Declarative Automation

Formula fields

Roll-up summary fields

Declarative process automation features – workflow and processes

Workflow rules

Process Builder

Declarative process automation features – approvals and flows

Approval processes

Creating the approval process

Activating the approval process

Visual Workflow

Testing the workflow

When to use declarative process automation features versus Apex

Which automation tool do you use?

A record needs approval

When a record has certain values or meets certain criteria

You need to capture input and then do something with that information

Summary

Quiz

Apex Basics

What is a class and an instance?

Understanding the features of Apex

How to develop Apex

When should you use Apex?

The Developer Console

Exercise 1 – opening the Developer Console and looking around for possibilities

Exercise 2 – creating a new class in the Developer Console

Executing the code

Understanding code and its execution

Apex variables, constants, and expressions

Apex data types

Constants

Expressions

Operators

Access modifiers

Private

Protected

Public

Global

Exercise – building a new class and defining a private access modifier

Apex control flow statements

Conditional statements

Switch

Loops

The do-while loop

The while loop

The for loop

Iterations

Iteration of a set or list

Iteration collections

Working with data in Salesforce

Selecting data with SOQL and SOSL

SOQL syntax

SELECT fieldList [subquery] [...]

FROM objectType[...]

[WHERE conditionExpression]

[GROUP BY {fieldGroupByList|ROLLUP (fieldSubtotalGroupByList)|CUBE (fieldSubtotalGroupByList)}

[ORDER BY fieldOrderByList {ASC|DESC} [NULLS {FIRST|LAST}] ]

[LIMIT numberOfRowsToReturn]

[OFFSET numberOfRowsToSkip]

Selecting records with dynamic parameters

Variable assignment

SOQL aggregate, optional clauses, and return

SOQL relationships

SOSL

FIND {SearchQuery}

[ IN SearchGroup ]

[ RETURNING FieldSpec [[ toLabel(fields)] [convertCurrency(Amount)] [FORMAT()]] ]

[ LIMIT n ]

DML statements

Different types of DML statements

Which type of DML should I use?

Methods of DML

Inserting records

Transaction control

Updating records

Upserting records

Exercise

Deleting and undeleting records

Merging records

Summary

Quiz

Apex - Beyond the Basics

Apex classes and interfaces

Interfaces

Virtual and abstract classes

Abstract classes

Inheritance from abstract classes

Virtual classes

Annotations

Object schema

getGlobalDescribe()

Object description

Field description

Apex triggers

Trigger syntax

Trigger variables

Trigger.isExecuting

Trigger.isInsert

Trigger.isUpdate

Trigger.isDelete

Trigger.isUndelete

Trigger.isBefore

Trigger.isAfter

Trigger.new

Trigger.newMap

Trigger.old

Trigger.oldMap

Trigger.size

Governor limits

Per-transaction limits

Per-transaction managed package limits

Lightning Platform limits

Static Apex Limits

Size-specific limits

Miscellaneous Apex limits

An Apex trigger pattern for efficient data processing

Best practices

Trigger design patterns

Web service calls in triggers

@future

Queueable interface

The order of execution

Exception handling

Custom exceptions

Exception class

Security in Apex

DML security

Field-level security

SOQL injection

Use bind variables

Escape SingleQuotes

Replacing characters

Whitelisting

Record security – with and without sharing

Web service callouts

The endpoint

The HTTP request

Exercise

Summary

Quiz

The Salesforce User Interface

Introduction

Displaying Salesforce data using Visualforce

Where is this used?

Visualforce language

Creating Visualforce pages

Standard controllers

Exercise

Standard list controllers

Controller extensions

Working of a controller extension

Custom controller

Controller methods

Action methods

Getter actions

Setter methods

Validation rules and custom controllers

Web content in Visualforce

Static resources

Incorporating Visualforce pages into Force.com

Force.com sites

Configuration of a site

Lightning Component framework

My Domain

Benefits of the Lightning Component framework

Resources in a Lightning component

Component attributes

Expressions

Value providers

The component

The renderer

The Helper

The client-side controller

Server-side controller

Summary

Quiz

Section 3: Testing, Debugging, and Exercise

Testing in Salesforce

Testing deployment requirements and the testing framework

The importance of testing

The four principles of a good testing approach

Creating test data from scratch

Performing your test scenario

Be assert-ive!

Breaking things

Be bulkyfied!

Other stuff

Writing Apex unit tests

Setting up test data

@TestSetup

Mixed Data Manipulation Language (DML) operations

Creating a unit test

The test data

The test scenario

What’s the result of the test?

Executing test classes

Testing web service callouts

Callout types

WSDL2Apex

HttpCalloutMock

Invoking Apex to execute anonymously versus unit tests

Test functions

The impact on code during declarative changes

Summary

Quiz

Debugging and Deployment Tools

Monitoring and accessing debug logs

What is a debug log?

Working with the Developer Console, Workbench, and Force.com IDE platforms

Developer Console

Workbench

The Force.com IDE

Salesforce environments

Deploying metadata to another org

Deploying metadata with change sets

Deploying metadata through unmanaged packages

Deploying metadata through an IDE

Remember the following about deployments

Summary

Quiz

Mock Tests

Mock exam

Appendix

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Code solutions

Code solution – DML update statement with Database.update statement

Code solution for upserting records

Code solution – API connection to the Person object

Visualforce page – AddNewMovie

The MovieExtension test class – setting up test data

Executing unit tests – example of a bad scenario

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部