You need to sign in to do that
Don't have an account?

Trigger Design Pattern
Hello everyone,
While developing the trigger the logic can be added in the trigger or can be included in the Handler classes and those handlers can be used in the trigger, will there be any disadvantages of using trigger handlers?
While developing the trigger the logic can be added in the trigger or can be included in the Handler classes and those handlers can be used in the trigger, will there be any disadvantages of using trigger handlers?
I guess 1 disadvantage would be increased complexity, not having the logic self contained within the trigger itself.
As far as I know there is no disadvantage and can you use the method you prefer