Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 91-100 of 254 result(s).

Events explained

Created 5 years ago by pligorTutorials10 comments – viewed 39,961 times – ( +22 / -4 ) – version 1.1
Let's see what exactly are the events in Yii!

Setting application parameters dynamically in the back-end

Created 5 years ago by PablovpTutorials6 comments – viewed 39,919 times – ( +13 / -2 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 4 years ago by softarkTutorials11 comments – viewed 39,754 times – ( +17 / -1 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 7 years ago by YetiTutorials1 comment – viewed 39,579 times – ( +2 / -2 ) – version 1.1
Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL and mainly deals with the W7 quirks.

How to access a component of a module from within the module itself

Created 8 years ago by OriginalCopyTutorials4 comments – viewed 39,411 times – ( +5 / -2 ) – version 1.1
The Yii documentation states:
tags: module

Manage application configuration in different modes

Created 8 years ago by qiangTutorials5 comments – viewed 38,672 times – ( +17 / -1 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

Handling tabular data loading and validation in Yii 2

Created 3 years ago by Kartik VTutorials7 comments – viewed 38,646 times – ( +44 / -7 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Custom Login Error Messages

Created 4 years ago by whoopassTutorials1 comment – viewed 37,989 times – ( +11 / -1 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

Simple access control

Created 5 years ago by szfjozsefTutorials4 comments – viewed 37,978 times – ( +4 / -9 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

Simple Ajax popup

Created 3 years ago by Rajith RTutorials1 comment – viewed 37,887 times – ( +11 / -14 ) – version 1.1
Simple Ajax popup view with Ajax link