Category Archives: Yii
Yii Migrations
March 7, 2013
Yii Migrate Commands
php public_html/protected/yiic.php migrate create twitter_accounts_table
php public_html/protected/yiic.php migrate
php public_html/protected/yiic.php migrate up
php public_html/protected/yiic.php migrate down
Migrations are in protected -> migrations
Creative Times – Digital Toolbox #2
November 16, 2011
This week I was asked to write a “Digital Toolbox” feature for Creative Times. I mention that I prefer Yii to Ruby on Rails. This is true but it’s a close thing. RoR’s syntax is beautiful but it’s just a bugger setup across different systems.
You can read the article here.
Turning on APC per site
September 28, 2011
The Alternative PHP Cache (APC) is commonly used with Yii applications, as it can speed up script running time by a factor of two. Compiled code is kept in shared memory for quick and easy access instead of being compiled each time a script is ran.
The only problem this can bring, is that if you a developing a site and APC is on, you won’t see any changes in your PHP code until APC is flushed.
read more …