Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Yii Developer's Tutorial Part 3-3 (7 of 9 in series)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,553
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 15, 2011

In this Tutorial we walk you through creating your first yii application. This is part 7 of 8 videos related to this topic. This video focuses on Gii, which is a tool in yii for generating Models, Views, Controllers and CRUDs. We also touch on the main.php file and its significance to the yii framework and finally, we begin talking about how to get data from a mysql database onto the screen.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • how to modify this generated script because i have some different actions in every case from my database. thank you.

  • @fragfoo To remove index.php from the URLs you need to do two things:

    1) in main.php where you see 'urlFormat'=>'path' (in the 'urlManager' section), add another parameter: 'showScriptName' => false, this will remove index.php from the links

    2) In the webroot folder of your app, add a .htaccess rule (for Apache, IIS will need different settings) with a rewrite rule of:  RewriteRule . index.php This will help your web server still call index.php

  • Here is how to remove index.php from the URL: search for "Using search engine and user friendly URLs" on the wiki documentation of the yii framework homepage

  • @scotnery True, how do you do it?

  • and how do we actually do it (no index.php)

  • at 9:54, it leaves out index.php removal and skips ahead.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more