Apex Design Patterns Anshul Verma
Publisher: Packt Publishing, Limited
This article describes how to implement a Strategy design pattern in Apex. I am trying to create a singleton class for one of my apex classes and i am running into challenges. Apex allows you to build just about any custom solution on the Force.com platform. You need a class that has only one instance, and you need to provide a global point of access to the instance. You are building an application in Apex. In my book Advanced Apex Programming, I spend quite a bit of time discussing trigger design patterns. This article describes how to implement the Composite design pattern in Apex. This article describes how to implement a Singleton design pattern in Apex. The Developer sessions have also been packed and one in particular had a full house on Tuesday – Apex Design Patterns and Best Practices. Question about how static member/method inheritance works in apex: For reference, this question is related, but doesn't apex design-patterns inheritance . When writing a Selector class consider the following design aspects.