Wiki

Sorted by commentsX
Displaying 431-440 of 692 result(s).

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 2 years ago by ibo_sHow-tos2 comments – viewed 34,191 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Windows Web Development With AMPPS, NetBeans and XDebug

Created 2 years ago by macinvilleTutorials1 comment – viewed 19,193 times – ( +4 ) – version 1.1
This article will discuss how to setup your web development environment with the following specifications:

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created about a year ago by aarondfrancisTutorials1 comment – viewed 3,588 times – ( +7 )
Hello everybody.
tags: heroku, assets

TDD with PHPUnit_Story and Yii

Created 2 years ago by sidewinderTutorials1 comment – viewed 13,829 times – ( +7 ) – version 1.1
Unfortunately Sebastian Bergmann decided to remove PHPUnit_Story from future PHPUnit versions. Thanks to elvan for pointing me to the relevant comment. As an alternative Behat has been suggested but it seems too bloated for me TBH. There is also PHPSpec but it's non flexible enough for me and tightly bound with English language (What's the purpose of using DSL if customers can't speak English). Since both frameworks are quite young I think I'll just stick to PHPUnit and see what's going on on the BDD frameworks arena. Even PHPUnit_Story parts of this entry are going to be deprecated soon, rest is still valid! When doing TDD, please write tests with design and behaviour of application in mind instead of testing single functions.

First Yii App: CTabView

Created 5 years ago by meanpenguinTutorials1 comment – viewed 17,181 times – ( -2 ) – version 1.1
Once you are completed with the "Creating First Yii Application", the following can be done.

How to add more information to Yii::app()->user

Created 5 years ago by qiangTutorials1 comment – viewed 117,224 times – ( +26 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.

Q: My yiic tool cannot run model and crud commands. Why?

Created 5 years ago by qiangTutorials1 comment – viewed 7,040 times – version 1.1
Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

Advanced CTabView using CClipWidget

Created 5 years ago by krillzipTutorials1 comment – viewed 10,209 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Autocomplete in console command

Created 2 years ago by StammTutorials1 comment – viewed 7,021 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

Customizing the CMenu Widget

Created about a year ago by mistrybTips1 comment – viewed 25,906 times – ( +2 / -1 )
The CMenu class provides some useful features for generating menus in your web application.