yii workflow A user makes a request with the URL http://www.example.com/index.php?r=post/show&id=1 The bootstrap script creates an application instance and runs it. The application obtains the detailed user request information from an application component named request. The application determines the requested controller and action with the help of an application component named urlManager. The application creates an instance of the requested controller to further handle theuser request. The action reads a Post model whose ID is 1 from the database. The action renders a view named show with the Post model. The view reads and displays the attributes of the Post model. The view executes some widgets The view rendering result is embedded in a layout Widget Widget is an instance of the CWidget 1. <?php $this->beginWidget('path.to.WidgetClass'); ?> ...body content that may be captured by the widget... <?php $this->endW...
OOP,PHP,Web Development,MYSQL,Yii,Bootstrap...Blog.