Salesforce SoC and Apex Common Tutorial Series: Ep 5 -  The Unit of Work Pattern

Salesforce SoC and Apex Common Tutorial Series: Ep 5 - The Unit of Work Pattern

Coding With The Force

3 года назад

2,867 Просмотров

In this fifth episode of this tutorial series covering Separation of Concerns and the Apex Commons Library, I'm going to explain what the unit of work pattern is, why you would use it and how it fits into the apex common library and SoC.

Separation of Concerns Tutorial Series Order (Subject to Change):
Episode 1 - The Basics of Separation of Concerns
Episode 2 - Introduction to the Apex Common Library
Episode 3 - The Factory Pattern
Episode 4 - The fflib_Application Class
Episode 5 - The Unit of Work Pattern
Episode 6 - The fflib_SObjectUnitOfWork Class
Episode 7 - The Service Layer
Episode 8 - Implementing the Service Layer with the Apex Common Library
Episode 9 - The Template Method Pattern
Episode 10 - The Domain Layer
Episode 11 - Implementing the Domain Layer with the Apex Common Library
Episode 12 - The Builder Pattern
Episode 13 - The Selector Layer
Episode 14 - Implementing the Selector Layer with the Apex Common Library
Episode 15 - The Difference Between Unit Tests and Integration Tests
Episode 16 - Unit Testing and Separation of Concerns
Episode 17 - Implementing Unit Testing with Apex Mocks

GitHub Wiki Page: https://github.com/Coding-With-The-Force/Salesforce-Separation-Of-Concerns-And-The-Apex-Common-Library/wiki/05)-The-Unit-of-Work-Pattern

Blog Post: https://codingwiththeforce.com/soc-and-the-apex-common-library-tutorial-series-part-5:-the-unit-of-work-pattern/

Please consider donating to help continue to improve the content produced for Coding With The Force: https://www.paypal.com/donate?business=RNHEF8ZWKKLDG&currency_code=USD

Get Coding With The Force Merch Here: https://my-store-d20559.creator-spring.com/


Follow all of our social media here:

Patreon: https://www.patreon.com/CodingWithTheForce
Github: https://github.com/Coding-With-The-Force
Facebook: https://www.facebook.com/codingwiththeforce/
Twitter: https://twitter.com/Coding_Force
Instagram: https://www.instagram.com/codingwiththeforce/

Salesforce development books I recommend:

Advanced Apex Programming: https://amzn.to/3lXi8to
Salesforce Lightning Platform Enterprise Architecture: https://amzn.to/2R0D4BQ
Mastering Salesforce DevOps: https://amzn.to/3lTtTRN
Apex Design Patterns Book: https://amzn.to/3DwqljP


Good Non-SF Specific Development Books:

Clean Code: https://amzn.to/35PuMDU
Clean Architecture: https://amzn.to/35FYo6A
Design Patterns: Elements of Reusable Object-Oriented Software Book: https://amzn.to/3LhvHBd

-------------------------------------------------------------------------------------------------------------------------

Table of Contents:

0:00 - Intro
1:17 - Why use the Unit of Work Pattern?
5:27 - Unit of Work Pattern Examples
16:56 - Outro

DISCLAIMER: The views and ideas expressed on this YouTube channel and blog are based on past development experiences and may not always work for your particular scenarios. The advice in these videos may also become outdated as technology advances. They should be used as examples for educational purposes only. Using any shown solutions in your own org is not advisable since they are example scenarios.

#salesforce #salesforcedeveloper #salesforceadmin

Тэги:

#Apex_Common_Library #Apex #Salesforce #Separation_of_Concerns #SoC #Developer #Salesforce_Developer #Clean_Code #Apex_Common #Andy_Fawcett #Financial_Force #Object_Oriented #Training #Tutorial
Ссылки и html тэги не поддерживаются


Комментарии: