Wiki articles in category Tutorials tagged with "db"

Showing 1-3 of 3 items.

Active Record snapshotting (Model data base history)

Created 9 years ago by Bizley, updated 9 years ago by Bizley.

One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

1 0
5 followers
Viewed: 16 583 times
Version: 1.1
Category: Tutorials

How to store array/widget configuration to the database with config validation rules

Created 10 years ago by Kartik V, updated 10 years ago by Kartik V.

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

2 3
41 followers
Viewed: 23 787 times
Version: 2.0
Category: Tutorials

Configuring CWebLogRoute for DB profiling

Created 12 years ago by Igor Ivanovic, updated 12 years ago by Igor Ivanovic.

require_once($yii); Yii::createWebApplication($config)->run();

2 0
6 followers
Viewed: 34 515 times
Version: 1.1
Category: Tutorials