... Agile Web Application Development with Yii 1. 1 and PHP5 Copyright © 2 010 Packt Publishing All rights reserved. No part of this book ... your web server • From your command line, change to your WebRoot folder and execute the following: % cd WebRoot % YiiRoot/framework/yiic webapp demo Create a Web application under '/Webroot/demo'? ... 11 7 Altering th...
Ngày tải lên: 03/01/2013, 08:56
... 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: ... Status and Type drop-down data, and place the logic inside a model class. In this case, the Project AR class makes the most sense, as valid users are associated with a project,...
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", ... now have a total of three comments in our test database. Two of them associated with project #1 and one associated with project #3. Now we can alter ou...
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 ... easily and dramatically change the overall look and feel of a web application during runtime. Yii allows for an extremely easy application of themes to provide great e...
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 ... internationalization (i18n) and localization (L10n) in Yii. Internationalization refers to the process of designing software applications in such a manner that it can be adapte...
Ngày tải lên: 09/08/2014, 12:22