Archives

Apex Rest API Architecture – Best Practices

What’s a Service/API A service/API is a function that is well-defined, self-contained, and does not depend on the context or state of other services. 1. Abstract vs Concrete When developing software we often use abstraction and polymorphism to get most of our applications. We want to reuse as much of the code as possible. Should […]

Rate this:

Read More

Salesforce Object Level and Field Level Security Architecture

The Salesforce Security review require that both: Object Level (OLS) Field Level (FLS) Security is applied for the following areas: Query of data – Selectors Triggers – Domains DML – Unit of Work To check both (OLS) and FLS we can use fflib_SecurityUtils it has all the to methods to check if a user can access […]

Rate this:

Read More