Book Image

Salesforce Anti-Patterns

By : Lars Malmqvist
Book Image

Salesforce Anti-Patterns

By: Lars Malmqvist

Overview of this book

Salesforce Anti-Patterns teaches you to spot errors in Salesforce patterns that may seem like a good idea at first but end up costing you dearly. This book will enable Salesforce developers and architects to understand how ingenious Salesforce architectures can be created by studying anti-patterns and solutions to problems that can later lead to serious implementation issues. While there are several books on the market that start with the question, “How do I create great Salesforce architecture?” and proceed to a solution from there, this book instead starts by asking, “What tends to go wrong with Salesforce architectures?” and proceeds to a solution from there. In this book, you’ll find out how to identify and mitigate anti-patterns in the technical domains of system architecture, data architecture, and security architecture, along with anti-patterns in the functional domain of solution architecture as well as for integration architecture. You’ll also learn about common anti-patterns affecting your Salesforce development process and governance and, finally, how to spot common problems in how architects communicate their solutions. By the end of this Salesforce book, you’ll have gained the confidence to architect and communicate solutions on the Salesforce platform while dodging common mistakes.
Table of Contents (15 chapters)
1
Part 1: Technical Anti-Patterns
6
Part 2: Solution Anti-Patterns
9
Part 3: Process and Communication Anti-Patterns

Picking the wrong thing

In this section, we will look at two anti-patterns related to picking the wrong solution based on considerations that are not technically relevant. We start by looking at what goes wrong when you ignore the wider ecosystem.

Ignoring the ecosystem

Willfully ignoring third-party options in favor of in-house solutions can become an anti-pattern.

Example

SafeCo is a major insurance company that provides a variety of policies to the mass consumer market. It has a large customer service organization for which it is in the last stages of rolling out Salesforce Service Cloud to achieve a 360-degree view of customer inquiries.

Royce is a manager within SafeCo’s IT department and has been tangentially related to the Service Cloud project. However, now he has been tasked with leading a team that has been asked to find good answers to a number of new generic requirements that have come up during the project but were left out of the initial scope, as...