Wiki

Sorted by viewsX
Displaying 391-400 of 785 result(s).

Performance - A Guide For Best Practice

Created 7 years ago by Y!!Tutorials3 comments – viewed 19,072 times – ( +8 / -5 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

HOW TO: Use token based authentication

Created 3 years ago by le_topHow-tos2 comments – viewed 19,045 times – ( +5 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Created 4 years ago by skwordenHow-tos4 comments – viewed 19,023 times – ( +4 / -1 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

Update a part of content using AJAX when select a GridView row

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 18,931 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

Yiinitializr: The Library

Created 3 years ago by Antonio RamirezOthers9 comments – viewed 18,458 times – ( +15 ) – version 1.1
Introduction

ACL and RBAC

Created 4 years ago by zeroByteHow-tos0 comments – viewed 18,370 times – version 1.1
This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obscure the fact that the underlying system is still ACL-based. In fact, the Business-Rules are just another layer in the permission-check plan.

Force a User to Change Their Password (ChangePasswordFilter)

Created 5 years ago by waterloomattTutorials2 comments – viewed 18,354 times – ( +16 / -2 ) – 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.

Twitter Bootstrap style Breadcrumbs

Created 4 years ago by junaidatariHow-tos0 comments – viewed 18,342 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 18,217 times – ( +4 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

Logout CSRF Protection

Created 5 years ago by Rodrigo CoelhoTutorials1 comment – viewed 18,197 times – ( +10 ) – 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.