Tuesday, November 12, 2013

Yii-GETTING STARTED WITH Yii BLOG DEMO 2 (Zend Studio)



This tutorial continues from http://php-steps.blogspot.com/2013/11/yii-getting-started-with-yii-blog-demo.html. Read it to get your system ready for next steps.
1) PREPARATION
1.1) Run Zend Studio 10 and open index.php of the Blog Root.
2) CWebApplication.php
Open file Framework/Web/CWebApplication.php. Notice that:
CWebApplication is derived (extends) from CApplication.
Default Application Controller is site (SiteController.php)
Default Application Layout is main (main.php)
3) Open the  file Blog/protected/controller/SiteController.php
Line no.5 calls the column1 layout
4) Open the  file Blog/protected/views/layout/main.php
Line 29 to 37 prepares the menu.
Line 40 to 42 prepares the breadcrumbs.
Line 44 prepares the content display.

1 comment:

  1. This is really an awesome article. Thank you for sharing this.It is worth reading for everyone.
    Yii Framework Development Company – Nintriva

    ReplyDelete

Labels