Wiki

Sorted by viewsX
Displaying 401-410 of 786 result(s).

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

Created about a year ago by Amjad KhanTutorials3 comments – viewed 19,979 times – ( +5 / -1 ) – version 2.0
Following is the table structure

Performance - A Guide For Best Practice

Created 7 years ago by Y!!Tutorials3 comments – viewed 19,975 times – ( +8 / -6 ) – 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

Yiinitializr: The Library

Created 4 years ago by Antonio RamirezOthers9 comments – viewed 19,730 times – ( +15 / -1 ) – version 1.1
Introduction

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

Created 3 years ago by Rajith RTutorials0 comments – viewed 19,686 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

Simple Jui Autocomplete in yii2

Created 2 years ago by ajithTutorials4 comments – viewed 19,634 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.

ACL and RBAC

Created 5 years ago by zeroByteHow-tos0 comments – viewed 19,617 times – ( -1 ) – 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.

How to create a simple logout link in the view?

Created 3 years ago by mi.sarahHow-tos0 comments – viewed 19,593 times – ( +1 / -4 ) – version 1.1
Here you learn to create and set a simple ahref-link to logout the current user.
tags: Logout, Link, user, URL, views

Show raw SQL query

Created 10 months ago by dariooFAQs0 comments – viewed 19,537 times – ( +2 / -1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

Upload files in Yii2 with MongoDb and GridFs

Created 3 years ago by edoardo849How-tos3 comments – viewed 19,497 times – ( +8 / -1 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

A simple class to use a different db for a module

Created 6 years ago by tydeas_drTips3 comments – viewed 19,489 times – ( +10 / -1 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?