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: • Salesforce Developer Tutorial: How an...
Tutorial on the Factory Pattern: • Salesforce SoC and Apex Common Tutori...
Tutorial on the Service Layer: • Salesforce SoC and Apex Common Tutori...
Tutorial on Illuminated Cloud 2 and IntelliJ: • Salesforce Apex Master Class (Ep. 6) ...
GitHub Code Examples: https://github.com/Coding-With-The-Fo...
Please consider donating to help continue to improve the content produced for Coding With The Force: https://www.paypal.com/donate?busines...
Get Coding With The Force Merch Here: https://my-store-d20559.creator-sprin...
Follow all of our social media here:
Patreon: / codingwiththeforce
Github: https://github.com/Coding-With-The-Force
Facebook: / codingwiththeforce
Twitter: / coding_force
Instagram: / 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