Visualforce order of execution I: GET requests

Following with a previous post about triggers and order of execution, I want to review in this new post how the order of execution on a Visualforce page is. This time we need to distinguish between two different cases: Visualforce pages that perform a get request and those which perform a post request.

In this post I will explain how GET requests work. I will elaborate a second part of the post, talking about POST requests.

Continue reading

Triggers and order of execution

In this post I want to review the order in which things happen when I save a record in Salesforce.  This is important to understand if you are an app builder who works automating processes as well as if you are a developer that writes trigger code. Both worlds will converge in the end and affect each other, so you have to bear in mind how Salesforce executes things internally to ensure a correct behaviour of your solution.

Continue reading