Search

Quirky Apex

Developer related topics for the Salesforce.com platform

Month

September 2016

Make unit testing even easier with a new pilot from Salesforce, a new mocking API.

https://releasenotes.docs.salesforce.com/en-us/winter17/release-notes/rn_apex_stub_api.htm?edition=&impact=

This is going to be really interesting how it affects existing projects such as FFLIB Apex Commons and ApexMocks which offer similar functionality.

FFLIB – Service layer

This is the next in the series covering FFLIB and the enterprise design patterns. Previously I covered the unit of work pattern (UOW).

As mentioned in my introduction to FFLIB, the service layer is where we will place all of our business logic in our application. Think of the service layer of where you orchestrate all of your business logic.

It aims to solve one of the more common issues in larger applications, whereby logic becomes scattered or even worse, duplicated. By keeping our business logic defined in central place we encourage reuse and reduce logic from being scattered, increasing maintainability.

Continue reading “FFLIB – Service layer”

Create a website or blog at WordPress.com

Up ↑