Salesforce SoC and Apex Common Tutorial Series: Ep 4 - The fflib Application Class

preview_player
Показать описание
In this fourth episode of this tutorial series covering Separation of Concerns and the Apex Commons Library, we're gonna take a deep dive into the fflib_Application class in the Apex Common Library. What it is, how it works and why you should use it!

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

Follow all of our social media here:

Salesforce development books I recommend:

Good Non-SF Specific Development Books:

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

Table of Contents:

0:00 - Intro
2:23 - What is the fflib_Application class?
3:36 - The factory inner classes
4:30 - Setting up an application factory class
27:21 - How to use your application factory class
36:10 - The benefits of interfaces
40:02 - Downsides of building without an application factory class
41:35 - 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
Рекомендации по теме
Комментарии
Автор

Your videos are extremely helpful. Thank you for doing this. Just know you have made at least one person's life better.

jpateusa
Автор

one word: You're amazing. Thanks for the video series :) Cheers

anujitdas
Автор

Thanks so much for sharing. That is awesome session.

stevenduong
Автор

what is basic use of fflib where can i use this

shahjad_shekhar
Автор

Hi. I just follow up fflib-apex-common. When inplementing, there are so many service classes, which makes Application class so long and complex, so is there any solution to handle with the problem ?
Thank you for sharing <3

khanglynguyen
Автор

So I have to build a new lightning app, or thats what i want to begin with.I need to create three webforms(Sites and Visualforce Pages).1st webform will allow customers to fill their data, personal details and travel details like destination they are travelling to, based on which we are making a callout to third party and showing some mandatory details on the webform.Customers are mandated to upload some mandatory attachments(without password locked) on the form.Once the webform is submitted, it creates a Case in the org with all the details filled by customers and all the attachments as Files.Now inside the Org, Once the case is created, i need to create some LWC components, which will also make some callouts and show some data on the component.Once the Case is closed, We need to callout to other integration to update the data as well.This is the rough sketch i want to paint.Can you share your expertise on how i can apply separation of Concern here and divide the code into layers.

sitynin
Автор

Excellent video... I'd "like" it multiple times if I could

anthonybarrow