Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain request life cycle in yii2 framework.

Answer Posted / Kumari Anamika

The request lifecycle in Yii 2 consists of the following stages:n- Init: When a request comes in, the Web Application begins initializing by loading configuration files and starting various components.n- Routing: The router determines which controller and action should handle the request based on the URL.n- Action: The controller's action method is called to execute the requested operation.n- Rendering: If required, the action method may call 'render' or 'renderPartial' methods to generate an output.n- Finalization: Once the action is executed and rendered, the Web Application finalizes by sending the response back to the client.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version of yii?

4