Wiki

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

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

Created 7 years ago by YetiTutorials1 comment – viewed 39,422 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.

Setting application parameters dynamically in the back-end

Created 5 years ago by PablovpTutorials6 comments – viewed 39,407 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.

Events explained

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

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

Created 3 years ago by softarkTutorials11 comments – viewed 39,078 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.

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

Created 8 years ago by OriginalCopyTutorials3 comments – viewed 38,543 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,429 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 37,784 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.

Simple access control

Created 5 years ago by szfjozsefTutorials4 comments – viewed 37,752 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.

Custom Login Error Messages

Created 4 years ago by whoopassTutorials1 comment – viewed 37,545 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 Ajax popup

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