... Agile Web Application Development with Yii 1. 1 and PHP5 Copyright © 2 010 Packt Publishing All rights reserved. No part of this book ... functionality 3 01 Table of Contents [ iv ] Adding a lter 11 3 Specifying the ltered actions 11 4 Adding some lter logic 11 5 Adding the project ID 11 7 Altering the project details page 11 7 Removing ... your web server • Fro...
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 ... Agile Web Application Development with Yii 1. 1 and PHP5 Fast-track your web application development by harnessing the power of the Yii...
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
... 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/ ) and Selenium Remote Control ... 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 t...
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
... components in our application. A user cannot do anything useful with the TrackStar application without rst either creating or choosing an existing project within which to add tasks and other issues. ... 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...
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: ... impact on our development environment. So please make sure that you have updated your test database with the new tables, tbl_issue and tbl_user, which we created earlier. Chap...
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
... succeeds and the login() method on the user application component is called. As mentioned, by default the web application is congured to use the Yii Framework class, CWebuser as the user application ... again: >>phpunit unit/IssueTest.php Time: 1 second, Memory: 12 .25Mb OK (4 tests, 12 assertions) We have both tests passing and back in the 'green'. Ch...
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", ... unit/CommentTest.php PHPUnit 3.4 .12 by Sebastian Bergmann. . Time: 0 seconds OK (1 test, 6 assertions) Armed with the knowledge of the benets of Lazy L...
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
... entire PHP application development life-cycle experience. They provide products and services to help with conguration and installation, development, deployment and with production application ... 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: #d11e1e;...
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 [ 275 ] font: bold 12 px Arial; color: #d11e1e; display: block; padding: 2px 0 2px 8px; line-height: 15 px; text-decoration: none; } .portlet-content ... li a { font: bold 12 px Arial; color: #0 066 A4; display: block; padding: 2px 0 2px 8px; line-height: 15 px; text-decoration: none; } .operations li a:visited { color: #d1...
Ngày tải lên: 09/08/2014, 12:22