... eld 11 8 Returning back to the owner and requester dropdowns 11 9 Generating the data to populate the drop-down menu 12 2 Adding User and ProjectUserAssignment xtures 12 4 Making one last change 12 7 Finishing ... Agile Web Application Development with Yii 1. 1 and PHP5 Copyright © 2 010 Packt Publishing All rights reserved. No part of this book ... of the CRUD...
Ngày tải lên: 03/01/2013, 08:56
... owner and requester elds 11 2 Enforcing a project context 11 2 Implementing a lter 11 3 Download from Wow! eBook <www.wowebook.com> Agile Web Application Development with Yii 1. 1 and PHP5 Copyright ... Comments 21 5 Iteration planning 21 5 Creating the model 21 6 Creating the Comment CRUD 21 8 Altering the scaffolding to meet requirements 21 8 Adding a...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 2 docx
... ship quality products. Chapter 2 [ 23 ] %cd /Webroot/demo Then execute yiic with the following shell command: %YiiRoot/framework/yiic shell Yii Interactive Tool v1 .1 Please type 'help' ... process, we need to understand how to test within a Yii application. Testing in Yii As of version 1. 1, Yii is tightly integrated with the PHPUnit (http://www.phpunit. de/ )...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 3 potx
... 'create_time' => &apos ;2 010 - 01- 01 00:00:00', Iteration 2: Project CRUD [ 82 ] While we are making these changes, let's go ahead and make the Description eld required ... unit/DbTest.php PHPUnit 3.3 .17 by Sebastian Bergmann. Time: 0 seconds OK (1 test, 1 assertion) Our test now passes Iteration 2: Project CRUD [ 62 ] • Create the Yii view les a...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 4 docx
... defined. /YiiRoot/framework/base/CComponent.php :13 1 /YiiRoot /yii- read-only/framework/db/ar/CActiveRecord.php :10 7 /Webroot/tasctrak/protected/tests/unit/IssueTest.php:6 FAILURES! Tests: 1, Assertions: ... ('test1@notanaddress.com','Test_User_One', MD5('test1')), ('test2@notanaddress.com','Test_User_Two', MD5('test2')) ; Chapt...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 5 docx
... again: >>phpunit unit/IssueTest.php Time: 1 second, Memory: 12 .25 Mb OK (4 tests, 12 assertions) We have both tests passing and back in the 'green'. Chapter 6 [ 14 1 ] 'name'=>'owner_id', ... class: >>phpunit unit/IssueTest.php PHPUnit 3.4 . 12 by Sebastian Bergmann. EE Time: 2 seconds, Memory: 12 .25 Mb There were 2 errors: 1)...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 6 potx
... command. Navigate to the root of your application and execute the shell command (Remember YiiRoot stands for where you have installed the Yii Framework): % YiiRoot/framework/yiic shell Yii ... TrackStar Web application. The yiic tool is a console application in Yii that executes tasks in the form of commands. We have used the webapp command to create a new applications, and...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 7 ppt
... project_id=:projectId AND user_id=:userId"; $command = Yii: :app()->db->createCommand($sql); $command->bindValue(":projectId", $this->id, PDO::PARAM_INT); $command->bindValue(":userId", ... users assigned to project 1, we'll assign user 1 to project 2 $this->projects('project2')->associateUserToProject($this- >users(...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 8 potx
... padding: 20 px 20 px 20 px 0; } #footer { padding: 10 px; margin: 10 px 20 px; font-size: 0.8em; text-align: center; border-top: 1px solid #C9E0ED; } #logo { padding: 10 px 20 px; font-size: 20 0%; ... background-color:transparent; font-size : 12 px; font-weight:bold; text-decoration:none; padding:5px 8px; } #mainmenu ul li a:hover, #mainmenu ul li a.active { color: #d11...
Ngày tải lên: 09/08/2014, 12:22
Agile Web Application Development with Yii 1.1 and PHP5 phần 9 potx
... DATETIME, `update_user_id` INTEGER ) Chapter 11 [ 27 5 ] font: bold 12 px Arial; color: #d11e1e; display: block; padding: 2px 0 2px 8px; line-height: 15 px; text-decoration: none; } .portlet-content ... applications for a specic geographic location or language by adding locale-dependent formatting and translating text. Yii provides support for these in the following ways:...
Ngày tải lên: 09/08/2014, 12:22