Book Read
Advanced Apex Programming
The book that explains why Apex is like that. Worth it for the chapter on execution context alone.
Buy on Amazon (opens in a new tab)
On this page
The rare platform book that ages well, because it teaches the model rather than the menus. The chapters on execution context and static variables explain about half of the “why did that fire twice” questions I have ever been asked, and the design-pattern chapters are the source most trigger frameworks are quietly paraphrasing.
Read it when: you can write a trigger that works and want to understand why it works. Too early and the middle chapters slide past; at the right moment they reorganise how you think about the platform.
The one caveat: examples predate some newer syntax, so copy the ideas rather than the code. The ideas have not dated a day.