Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 161-170 of 255 result(s).

Simple way to implement Dynamic Tabular Inputs

Created 2 years ago by ezekielnoobTutorials5 comments – viewed 19,765 times – ( +4 / -1 ) – version all

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 3 years ago by Rajith RTutorials0 comments – viewed 19,465 times – ( +8 / -1 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

Force a User to Change Their Password (ChangePasswordFilter)

Created 6 years ago by waterloomattTutorials2 comments – viewed 19,365 times – ( +16 / -3 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

Logout CSRF Protection

Created 6 years ago by Rodrigo CoelhoTutorials1 comment – viewed 19,251 times – ( +10 / -1 ) – version 1.1
CSRF is the acronymn for Cross-site request forgery. It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

Simple Jui Autocomplete in yii2

Created about a year ago by ajithTutorials4 comments – viewed 18,947 times – ( -2 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Created 11 months ago by Amjad KhanTutorials3 comments – viewed 18,488 times – ( +5 / -1 ) – version 2.0
Following is the table structure

[Updated] How to create & call custom global function in whole application?

Created 3 years ago by Rohit SutharTutorials8 comments – viewed 18,428 times – ( +5 / -3 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

TDD with PHPUnit_Story and Yii

Created 6 years ago by sidewinderTutorials1 comment – viewed 18,072 times – ( +7 / -1 ) – 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.

Upload CSV File

Created 4 years ago by bhavesh vaghelaTutorials2 comments – viewed 17,979 times – ( +8 / -1 ) – version 1.1
View file

Simple Mail Queue

Created 4 years ago by waterloomattTutorials3 comments – viewed 17,846 times – ( +10 / -3 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.