Wiki articles

Showing 1-20 of 149 items.
Created 8 years ago by qiang, updated 8 months ago by CeBe.

Adding Yii Search to Your Browser Search Box

The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.

25 0
6 followers
Viewed: 48 607 times
Version: all
Category: Tips
Created 7 years ago by yJeroen, updated 8 months ago by CeBe.

How to learn Yii?!

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 93 625 times
Version: all
Category: Tutorials
Created 5 years ago by le_top, updated 3 years ago by le_top.

Profiling using XDebug

A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

3 0
3 followers
Viewed: 13 842 times
Version: all
Category: How-tos
Created 5 years ago by Charles R. Portwood II, updated 4 years ago by Vivek.

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.

7 6
21 followers
Viewed: 210 010 times
Version: 2.0
Category: Tutorials
Created 5 years ago by Luis Lobo Borobia, updated a year ago by Luis Lobo Borobia.

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

2 0
2 followers
Viewed: 8 059 times
Version: all
Category: Tips
Created 5 years ago by Boaz, updated 4 years ago by Boaz.

Integrating ZF2 into Yii - use case demonstrated

I needed to use a class from ZF2 in my Yii project. I've read probably all there is about this subject and still I needed lots of trial & errors to get it working, probably due to my lack of experience working with namepsaces and ZF2 in general. Also, the resources on the web are all partial, at best. Most simply refer to ZF1 where things are technically different. When I got it all working I de...

4 0
7 followers
Viewed: 9 603 times
Version: 2.0
Category: How-tos
Created 5 years ago by Ankit Modi, updated 4 years ago by Ankit Modi.

Display Status image on CGridView column

How to display status image on admin gridview.

0 0
4 followers
Viewed: 15 844 times
Version: all
Category: Tutorials
Created 5 years ago by nineinchnick, updated 8 months ago by CeBe.

Clean JavaScript code in your views

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
23 followers
Viewed: 33 661 times
Version: all
Category: Tutorials
Created 5 years ago by Interboy, updated 4 years ago by Kostas Apazidis (KonApaz).

Multiple files uploader with CMultiFileUpload

Today I will show you how to handle multiple file upload step by step.

4 0
8 followers
Viewed: 271 487 times
Version: all
Category: How-tos
Created 5 years ago by Kostas Apazidis (KonApaz), updated 4 years ago by Kostas Apazidis (KonApaz).

Remove Byte Order Mark (BOM) from files recursively

Ok, this wiki is not only for yii projects.

3 1
7 followers
Viewed: 22 504 times
Version: all
Category: How-tos
Created 5 years ago by aarondfrancis, updated 4 years ago by YiiJeka.

Automatic Parameter Binding to POST vars in Yii2

I wrote about this on my blog, but wanted to post it here too.

0 0
4 followers
Viewed: 17 081 times
Version: 2.0
Category: How-tos
Created 5 years ago by nineinchnick, updated 4 years ago by CeBe.

Tunneling using SSH in a limited enviroment

This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

1 0
4 followers
Viewed: 9 845 times
Version: all
Category: Others
10 0
15 followers
Viewed: 32 330 times
Version: all
Category: Others
Created 4 years ago by Kartik V, updated 5 months ago by Kabinenkoffer.

Filter & Sort by calculated/related fields in GridView Yii 2.0

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

11 2
63 followers
Viewed: 185 943 times
Version: 2.0
Category: Tutorials
Created 4 years ago by edoardo849, updated 4 years ago by skworden.

Upload files in Yii2 with MongoDb and GridFs

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).

6 0
5 followers
Viewed: 21 946 times
Version: 2.0
Category: How-tos
Created 4 years ago by Kartik V, updated 7 months ago by CeBe.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

An example of customizing the Yii GridView is mentioned here. You can easily override Bootstrap or other styling defaults by changing the GridView default options.

4 2
39 followers
Viewed: 39 542 times
Version: 2.0
Category: How-tos
Created 4 years ago by edoardo849, updated 4 years ago by CeBe.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

suppose to have in Mongo a collection "user" like:

3 0
6 followers
Viewed: 17 320 times
Version: 2.0
Category: How-tos
Created 4 years ago by edoardo849, updated 4 years ago by CeBe.

Auto-update denormalized attributes with MongoDb and Yii2

You have different collections in MongoDb with de-normalized attributes. As you may know, due to its not-join nature, MongoDb tends to encourage repetition of the same value in different collections (de-normalization). In this MongoDb is opposed to a more SQL-like approach where you usually reference only the ID of the value with a foreign key.

1 0
3 followers
Viewed: 11 231 times
Version: 2.0
Category: Tips
Created 4 years ago by jcagentzero, updated 4 years ago by jcagentzero.

Automatically get the SVN Revision Number of your Project

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 7 015 times
Version: all
Category: Tutorials
Created 4 years ago by hemc, updated 4 years ago by hemc.

How to implement cron in Yii 2

In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.

3 0
13 followers
Viewed: 68 401 times
Version: 2.0
Category: How-tos
Tags: console, cron, yii2