Force-Framework

Mark Brennand

Home

Force Framework APIs

A suite of APIs to aid in Salesforce APEX development.

ArrayV1

Provides immutable array functionality similar to that offered by Javascript's forEach, map, filter, etc. methods. See README.

AssertionV1

The Apex Assert class throws an uncatchable exception. A re-implementation of Assert private to theV1s throws an exception which may be caught.

AsynchronousV1

Provides a simplified way to run Apex jobs. Re-try on failure and concurrency is supported. See README.

DependencyV1

Spring like dependency injection into Apex code. Uses TypesV1 to allow the injected class to be constructed from a TypesV1.Factory implementation. See README.

MockerV1

A more logical approach to mocking, where the expected arguments are defined first and then the methods that expect those arguments. See README.

OptionalV1

Using null to indicate a variable is undefined is dangerous. The OptionalV1 class can be used to better represent an unassigned variable. See README.

QueryV1

Allows building and execution of SOQL queries. See README.

TriggerV1

A pub/sub model for Apex triggers. See README.

TypesV1

Allows loading and construction of APEX classes. Supports construction of class from a proxy class which implements the TypesV1.Factory interface. See README.