
Yii
蒋小洋
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Theming your Zii Widgets
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.Normally a site or web application is转载 2011-06-28 09:55:00 · 509 阅读 · 0 评论 -
Using relations in views
Relations are easier if you setup a foreign key in your database first. To do this you need to use MySQL (not SQLite) with the InnoDB engine (not MyISAM), and the field in question needs an index and转载 2011-06-27 22:14:00 · 329 阅读 · 0 评论 -
关系型 Active Record
我们已经了解了怎样使用 Active Record (AR) 从单个数据表中获取数据。 在本节中,我们讲解怎样使用 AR 连接多个相关数据表并取回关联(join)后的数据集。为了使用关系型 AR,我们建议在需要关联的表中定义主键-外键约束。这些约束可以帮助保证相关数据的一致性和完整性。为简单起见,我们使用如下所示的实体-关系(ER)图中的数据结构演示此节中的例子。ER Diag转载 2011-06-29 22:36:00 · 410 阅读 · 0 评论 -
Paths in Yii
{basePath}1echo Yii::app()->basePath;path/to/protected{like} /YiiBlog/protected{theme baseUrl}转载 2011-08-05 23:14:00 · 385 阅读 · 0 评论