O'Reilly logo

Visualforce Developer's Guide by W.A.Chamil Madusanka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Order of execution of a Visualforce page

A Visualforce page has a life cycle or life-time. This time is defined as the period between the creation of the page and its destruction during the user session. The life cycle is defined by the type of Visuaforce page request and the content of the page. There are two types of Visualforce page requests, which are as follows:

  • Get request
  • Postback request

Order of execution for a Visualforce page's get requests

When we request a new page by entering a URL or by clicking on a button or a link, a get request is created. The following diagram illustrates how a Visualforce page interacts with a custom controller or a controller extension during a get request:

Order of Execution for Visualforce page's get requests ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required