Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 111-120 of 172 result(s).

Understanding Autoloading, Helper Classes and Helper Functions

Updated about a year ago by GOshaTutorials4 comments – viewed 36,951 times – ( +23 )
Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

Understanding "Assets"

Updated about a year ago by GOshaTutorials11 comments – viewed 64,156 times – ( +52 )
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

TDD with PHPUnit_Story and Yii

Updated about a year ago by sidewinderTutorials1 comment – viewed 9,269 times – ( +7 )
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.

Autocomplete in console command

Updated about a year ago by StammTutorials1 comment – viewed 5,314 times – ( +3 )
Missed of autocomplete in bash console commands yii make me sad.

Implementing a User Level Access System

Updated about a year ago by Darwin WenTutorials9 comments – viewed 26,408 times – ( +27 )
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Functional Testing in Yii using Goutte and PHPUnit

Updated about a year ago by puteraTutorials2 comments – viewed 10,914 times – ( +5 )
Functional Testing in Yii using Goutte and PHPUnit

How to hide index.php on nginx

Updated about a year ago by Darwin WenTutorials3 comments – viewed 20,738 times – ( +4 )
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Updated about a year ago by thyseusTutorials8 comments – viewed 28,722 times – ( +15 )
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!
tags: menu

Windows Web Development With AMPPS, NetBeans and XDebug

Updated about a year ago by macinvilleTutorials1 comment – viewed 12,258 times – ( +4 )
This article will discuss how to setup your web development environment with the following specifications:

free PHP IDE CodeLobster supports Yii framework

Updated about a year ago by clodTutorials0 comments – viewed 9,193 times – ( +5 )
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.