Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 11-20 of 250 result(s).

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

Updated 7 months ago by softarkTutorials11 comments – viewed 34,428 times – ( +17 ) – 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.

Drills : Search by a HAS_MANY relation in Yii 2.0

Updated 7 months ago by softarkTutorials4 comments – viewed 33,668 times – ( +19 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

How to use imagine ( crop, thumb, effects for images ) on Yii2

Updated 7 months ago by CozumelTutorials1 comment – viewed 30,198 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

A simple widget - jump2link

Updated 8 months ago by Scott_HuangTutorials0 comments – viewed 5,522 times – version 2.0
Jump 2 Link

Simple Jui Autocomplete in yii2

Updated 9 months ago by ajithTutorials3 comments – viewed 9,129 times – ( -1 ) – 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.

Yii for beginners 2

Updated about a year ago by rackyczTutorials2 comments – viewed 51,422 times – ( +32 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Using your own forked version of extensions with composer

Updated about a year ago by Kartik VTutorials3 comments – viewed 7,504 times – ( +39 / -4 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below:

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Updated about a year ago by Scott_HuangTutorials1 comment – viewed 8,099 times – ( +2 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article. http://www.yiiframework.com/extension/yii2-export2excel/

How to upload a file using a model

Updated about a year ago by samdarkTutorials6 comments – viewed 415,966 times – ( +86 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Updated about a year ago by realteboTutorials0 comments – viewed 10,649 times – ( +2 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP รจ avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.