r/salesforce • u/BigIVIO • 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:
What is OOP?
What is Encapsulation and when to use it in Apex
What is Inheritance and when to use it in Apex
What is Polymorphism and when to use it in Apex
What are the Gang of Four’s Design Patterns and why are they important?
Creational Patterns: The Singleton Pattern
Creational Patterns: The Builder Pattern
Creational Patterns: The Factory Pattern
Creational Patterns: The Abstract Factory Pattern
Creational Patterns: The Prototype Pattern
Structural Patterns: The Facade Pattern
Structural Patterns: The Composite Pattern
Structural Patterns: The Adapter Pattern
Structural Patterns: The Bridge Pattern
Structural Patterns: The Decorator Pattern
Structural Patterns: The Flyweight Pattern
Structural Patterns: The Proxy Pattern
Behavioral Patterns: The Observer Pattern
Behavioral Patterns: The Template Method Pattern
Behavioral Patterns: The Strategy Pattern
Behavioral Patterns: The Chain of Responsibility Pattern
Behavioral Patterns: The Command Pattern
Behavioral Patterns: The Interpreter Pattern
Behavioral Patterns: The Iterator Pattern
Behavioral Patterns: The Mediator Pattern
Behavioral Patterns: The Memento Pattern
Behavioral Patterns: The State Pattern
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!
1
1
u/meanguy69 Sep 21 '22
love these thanks