Also available in these languages:
English日本語polskiРусский简体中文

Summary

We have completed the milestone 1. Let's summarize what we have done so far:

  1. We identified the requirements to be fulfilled;
  2. We installed the Yii framework;
  3. We created a skeleton application;
  4. We designed and created the blog database;
  5. We modified the application configuration by adding the database connection;
  6. We generated the code that implements the basic CRUD operations for both posts and comments;
  7. We modified the authentication method to check against the tbl_user table.

For a new project, most of the time will be spent in step 1 and 4 for this first milestone.

Although the code generated by the yiic tool implements fully functional CRUD operations for a database table, it often needs to be modified in practical applications. For this reason, in the next two milestone, our job is to customize the generated CRUD code about posts and comments so that it reaches our initial requirements.

In general, we first modify the model class file by adding appropriate validation rules and declaring relational objects. We then modify the controller action and view code for each individual CRUD operation.

$Id: prototype.summary.txt 1677 2010-01-07 20:29:26Z qiang.xue $
If you find any typos or errors in the tutorial, please create a Yii ticket to report it. If it is a translation error, please create a Yiidoc ticket, instead. Thank you.

Your Comment:

You may enter comment using Markdown syntax.

Please login with your forum account.
Note: you must have at least ONE forum post with your account.