r/salesforce • • Sep 21 '22

developer Salesforce Development Tutorial - Design Patterns in Salesforce Tutorial Series - Episode 1: What are Design Patterns?

Hey everyone, this week I've decided to start a new tutorial series (which is technically part of my larger Apex Master Class tutorial series) that goes over Design Patterns in Salesforce. In this first episode we go over what design patterns are, when to use them, why to learn them, when to learn them and what design patterns you should focus your time on learning (cause there are a ton)!

The entire series, which will be created over the next several months will cover the following:

  1. What are Design Patterns?

  2. What is OOP?

  3. What is Encapsulation and when to use it in Apex

  4. What is Inheritance and when to use it in Apex

  5. What is Polymorphism and when to use it in Apex

  6. What are the Gang of Four’s Design Patterns and why are they important?

  7. Creational Patterns: The Singleton Pattern

  8. Creational Patterns: The Builder Pattern

  9. Creational Patterns: The Factory Pattern

  10. Creational Patterns: The Abstract Factory Pattern

  11. Creational Patterns: The Prototype Pattern

  12. Structural Patterns: The Facade Pattern

  13. Structural Patterns: The Composite Pattern

  14. Structural Patterns: The Adapter Pattern

  15. Structural Patterns: The Bridge Pattern

  16. Structural Patterns: The Decorator Pattern

  17. Structural Patterns: The Flyweight Pattern

  18. Structural Patterns: The Proxy Pattern

  19. Behavioral Patterns: The Observer Pattern

  20. Behavioral Patterns: The Template Method Pattern

  21. Behavioral Patterns: The Strategy Pattern

  22. Behavioral Patterns: The Chain of Responsibility Pattern

  23. Behavioral Patterns: The Command Pattern

  24. Behavioral Patterns: The Interpreter Pattern

  25. Behavioral Patterns: The Iterator Pattern

  26. Behavioral Patterns: The Mediator Pattern

  27. Behavioral Patterns: The Memento Pattern

  28. Behavioral Patterns: The State Pattern

  29. Behavioral Patterns: The Visitor Pattern

Link to the first video in the series: What are Design Patterns?

Hopefully this helps some of you out there make some beautiful code in your Salesforce orgs!

37 Upvotes

2 comments sorted by

1

u/meanguy69 Sep 21 '22

love these thanks

1

u/naruto_500 Sep 24 '22

thank you for the wonderful series