All Projects → apex-enterprise-patterns → Fflib Apex Common

apex-enterprise-patterns / Fflib Apex Common

Licence: bsd-3-clause
Common Apex Library supporting Apex Enterprise Patterns and much more!

Labels

Projects that are alternatives of or similar to Fflib Apex Common

apex
ANSI POSIX Environment neXt for Harvey OS
Stars: ✭ 25 (-95.34%)
Mutual labels:  apex
Lightningflowcomponents
A collection of unofficial Lightning Components that can be used to enhance Salesforce Lightning Flow and Lightning Pages.
Stars: ✭ 252 (-52.99%)
Mutual labels:  apex
Attic Apex Core
Mirror of Apache Apex core
Stars: ✭ 346 (-35.45%)
Mutual labels:  apex
NebulaFramework
A development framework for Salesforce's Apex language & the Force.com platform
Stars: ✭ 28 (-94.78%)
Mutual labels:  apex
distributed reinforcement learning
implementation of distributed reinforcement learning with distributed tensorflow
Stars: ✭ 48 (-91.04%)
Mutual labels:  apex
Apex Go
Golang runtime for Apex/Lambda.
Stars: ✭ 289 (-46.08%)
Mutual labels:  apex
apex-fp
Functional programming for Salesforce Apex
Stars: ✭ 231 (-56.9%)
Mutual labels:  apex
Apex Mdapi
Apex Wrapper for the Salesforce Metadata API
Stars: ✭ 493 (-8.02%)
Mutual labels:  apex
Fflib Apex Mocks
An Apex mocking framework for true unit testing in Salesforce, with Stub API support
Stars: ✭ 253 (-52.8%)
Mutual labels:  apex
Pmd
An extensible multilanguage static code analyzer.
Stars: ✭ 3,667 (+584.14%)
Mutual labels:  apex
Script.apex
Evaluate Javascript expressions in Apex
Stars: ✭ 18 (-96.64%)
Mutual labels:  apex
json2apex
Generate strongly typed apex code from a json structure.
Stars: ✭ 121 (-77.43%)
Mutual labels:  apex
Ebikes Lwc
Sample application for Lightning Web Components and Communities on Salesforce Platform. Part of the sample gallery. Retail use case. Get inspired and learn best practices.
Stars: ✭ 299 (-44.22%)
Mutual labels:  apex
docker-apex-stack
Utility scripts for creating an Oracle Application Express stack as a Docker container.
Stars: ✭ 67 (-87.5%)
Mutual labels:  apex
Npsp
The current version of the Salesforce.org Nonprofit Success Pack
Stars: ✭ 487 (-9.14%)
Mutual labels:  apex
apexmock
force.com Mock data and fixtures for Apex Unit Tests
Stars: ✭ 24 (-95.52%)
Mutual labels:  apex
Cavaface.pytorch
🍻 🚀 🌆 face recognition project(pytorch)
Stars: ✭ 271 (-49.44%)
Mutual labels:  apex
Sfdc Trigger Framework
A minimal trigger framework for your Salesforce Apex Triggers
Stars: ✭ 527 (-1.68%)
Mutual labels:  apex
Declarative Lookup Rollup Summaries
Declarative Rollup Summaries for Lookups
Stars: ✭ 493 (-8.02%)
Mutual labels:  apex
Apex Recipes
A library of concise, meaningful examples of Apex code for common use cases following best practices.
Stars: ✭ 307 (-42.72%)
Mutual labels:  apex

FFLib Apex Common

Push Source and Run Apex Tests

Dependencies: Must deploy ApexMocks before deploying this library

Deploy to Salesforce

Updates

  • April 2020, IMPORTANT CHANGE, the directory format of this project repo was converted to Salesforce DX Source Format. While the GIT commit history was maintained, it is not visible on GitHub. If you need to see the history, either clone the repo and execute git log --follow from the command line or refer to this tag of the codebase prior to conversion.
  • September 2014, IMPORTANT CHANGE, changes applied to support Dreamforce 2014 advanced presentation, library now provides Application factories for major layers and support for ApexMocks. More details to follow! As a result ApexMocks must be deployed to the org before deploying this library. The sample application here has also been updated to demonstrate the new features!
  • July 2014, IMPORTANT CHANGE, prior 23rd July 2014, both the fflib_SObjectDomain.onValidate() and fflib_SObjectDomain.onValidate(Map<Id, SObject> existingRecords) methods where called during an on after update trigger event. From this point on the onValidate() method will only be called during on after insert. If you still require the orignal behaviour add the line Configuration.enableOldOnUpdateValidateBehaviour(); into your constructor.
  • June 2014, New classes providing utilities to support security and dynamic queries, in addition to improvements to existing Apex Enterprise Pattern base classes. Read more here.
  • June 2014, Experimental branch supporting automated FLS checking, see README for more details.

This Library

Is derived from the Dreamforce 2012 presentation on Apex Enterprise Patterns and progresses the patterns further with a more general ongoing home for them. It also adds some form of namespace qualification from the previous version. So that classes are grouped together more easily in the IDE's and packages. Below you can find comprehensive articles and videos on the use of these patterns. There is also a working sample application illustrating the patterns here.

Alt text

Application Enterprise Patterns on Force.com

Design patterns are an invaluable tool for developers and architects looking to build enterprise solutions. Here are presented some tried and tested enterprise application engineering patterns that have been used in other platforms and languages. We will discuss and illustrate how patterns such as Data Mapper, Service Layer, Unit of Work and of course Model View Controller can be applied to Force.com. Applying these patterns can help manage governed resources (such as DML) better, encourage better separation-of-concerns in your logic and enforce Force.com coding best practices.

Dreamforce Session and Slides

  • View slides for the Dreamforce 2013 session here
  • Video recording of the Dreamforce 2013 session here.
  • Video recording of the Advanced Apex Enterprise Dreamforce 2014 session here.
  • View slides for the Dreamforce 2015 session here

Documentation

Other Related Blogs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].