SOLID Design Principles in Salesforce - The Single Responsibility Principle
In this second episode of the SOLID Design Principles Tutorial Series we go over what the Single Responsibility Principle is and how we can actually leverage it in both Apex and JavaScript. The SOLID Design Principles Tutorial Series Order (Subject to Change): Episode 1 - What are the SOLID Design Principles? Episode 2 - The Single Responsibility Principle Episode 3 - The Open/Closed Principle Episode 4 - The Liskov Substitution Principle Episode 5 - The Interface Segregation Principle Episode 6 - The Dependency Inversion Principle Tutorial on Interfaces: https://youtu.be/d3xOEg1Rs88 Tutorial on the Factory Pattern: https://youtu.be/TAegJdt_z7c Tutorial on the Service Layer: https://youtu.be/5tM_MHV1ypY Tutorial on Illuminated Cloud 2 and IntelliJ: https://youtu.be/GYAQbs0Z-pc GitHub Code Examples: https://github.com/Coding-With-The-Force/Salesforce-SOLID-Design-Principles-Tutorial-Series Schedule Salesforce consulting time with me here: https://calendly.com/codingwiththeforce/60minuteconsult Please consider donating to help continue to improve the content produced for Coding With The Force: https://www.paypal.com/donate?business=RNHEF8ZWKKLDG¤cy_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 0:23 - What we'll cover in this video 0:52 - Free Certs and Channel Memberships! 2:00 - What is the Single Responsibility Principle? 10:21 - Why the Single Responsibility is so useful 11:47 - Single Responsibility Example in Apex 34:26 - Single Responsibility Example in JavaScript 56:34 - 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
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.