1) Constructor methods on the associated controller / extension classes are called, instantiating the controller objects. 2) If the page contains any custom components, they are created and the constructor methods on any associated custom controllers or controller extensions are executed. If attributes are set on the custom component using expressions, the expressions are evaluated after the constructors are evaluated. 3) The page then executes any assignTo attributes on any custom components on the page. After the assignTo methods are executed, expressions are evaluated, the action attribute on the <apex:page> component is evaluated, and all other method calls, such as getting or setting a property value, are made. 4) If the page contains an <apex:form> component, all of the information necessary to maintain the state of the database between page requests is saved as an encrypted view state. The view state is updated whenever the page is updated. 5) The resulting HTML is sent to the browser. If there are any client-side technologies on the page, such as JavaScript, the browser executes them
In Short Constructor of controller /extension - > constructor of custom components -> AssignTo any Custom Components -> Action method->Getter or Setter -> Form method -> HTML
Kindly refer this below link:
https://www.salesforce.com/docs/developer/pages/Content/pages_controller_lifecycle.htm
Regards
Mohit Bansal
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help.
2) If the page contains any custom components, they are created and the constructor methods on any associated custom controllers or controller extensions are executed. If attributes are set on the custom component using expressions, the expressions are evaluated after the constructors are evaluated.
3) The page then executes any assignTo attributes on any custom components on the page. After the assignTo methods are executed, expressions are evaluated, the action attribute on the <apex:page> component is evaluated, and all other method calls, such as getting or setting a property value, are made.
4) If the page contains an <apex:form> component, all of the information necessary to maintain the state of the database between page requests is saved as an encrypted view state. The view state is updated whenever the page is updated.
5) The resulting HTML is sent to the browser. If there are any client-side technologies on the page, such as JavaScript, the browser executes them
In Short
Constructor of controller /extension - > constructor of custom components -> AssignTo any Custom Components -> Action method->Getter or Setter -> Form method -> HTML
See more detail in below blog:-
http://amitsalesforce.blogspot.in/2015/04/visualforce-page-life-cycle-in.html
Please let us know if this will help you