Wiki articles in category Tutorials

Showing 1-20 of 43 items.

How to learn Yii?!

Created 12 years ago by yJeroen, updated 4 years ago by CeBe.

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: 118 641 times
Version: all
Category: Tutorials

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

Created 10 years ago by Charles R. Portwood II, updated 9 years ago by Vivek.

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: 303 761 times
Version: 2.0
Category: Tutorials

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

Created 10 years ago by Kartik V, updated 5 years ago by softark.

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

13 3
64 followers
Viewed: 248 308 times
Version: 2.0
Category: Tutorials

Automatically get the SVN Revision Number of your Project

Created 9 years ago by jcagentzero, updated 9 years ago by jcagentzero.

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: 12 760 times
Version: all
Category: Tutorials

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

Created 9 years ago by realtebo, updated 8 years ago by realtebo.

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 27 839 times
Version: 2.0
Category: Tutorials

What to do when composer fails to update your vendor packages?

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 4
36 followers
Viewed: 49 486 times
Version: 2.0
Category: Tutorials

Handling tabular data loading and validation in Yii 2

Created 9 years ago by Kartik V, updated 8 years ago by Said Bakr.

The only differences in Yii 2 is that its much simpler due to available functions in the Model class for loading and validating models.

3 2
51 followers
Viewed: 58 914 times
Version: 2.0
Category: Tutorials

How to store array/widget configuration to the database with config validation rules

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

2 3
41 followers
Viewed: 23 491 times
Version: 2.0
Category: Tutorials

Using your own forked version of extensions with composer

Created 9 years ago by Kartik V, updated 8 years ago by Kartik V.

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:

3 2
40 followers
Viewed: 23 428 times
Version: 2.0
Category: Tutorials

Managing your nested dropdown dependency with DepDrop widget

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

2 3
42 followers
Viewed: 87 341 times
Version: 2.0
Category: Tutorials

Filter & Sort by Summary Data in GridView Yii 2.0

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

5 2
48 followers
Viewed: 71 602 times
Version: 2.0
Category: Tutorials

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

1 0
43 followers
Viewed: 82 805 times
Version: 2.0
Category: Tutorials

Relational data fields display and edit with the yii2-detail-view extension

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.

If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can [read the extension documentation](http://demos....

4 0
41 followers
Viewed: 63 497 times
Version: 2.0
Category: Tutorials

Manage Email Template content from database

Created 9 years ago by Ankit Modi, updated 9 years ago by Ankit Modi.

Hi Friends,

0 1
1 follower
Viewed: 23 604 times
Version: all
Category: Tutorials

Building a REST API in Yii2.0

Created 9 years ago by sirin k, updated 6 years ago by Maurizio Domba Cerin.

This is wiki page is useful if you are trying to build a customized REST API in Yii2.0

4 0
16 followers
Viewed: 148 835 times
Version: 2.0
Category: Tutorials

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

Created 9 years ago by Anas AbuDayah, updated 8 years ago by Cozumel.

Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

5 0
14 followers
Viewed: 98 476 times
Version: 2.0
Category: Tutorials

Simple Way to Upload and Save File

Created 9 years ago by Misbahul D Munir, updated 9 years ago by Misbahul D Munir.

This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

0 0
4 followers
Viewed: 38 687 times
Version: 2.0
Category: Tutorials

RBAC Super Simple with Admin and User

Created 9 years ago by evercode, updated 9 years ago by evercode.

One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for devel...

9 1
15 followers
Viewed: 101 036 times
Version: 2.0
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 9 years ago by softark, updated 5 years ago by softark.

This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

13 0
14 followers
Viewed: 104 244 times
Version: 2.0
Category: Tutorials

Running applications with Docker

Created 9 years ago by schmunk, updated 9 years ago by schmunk.

When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

4 0
8 followers
Viewed: 50 163 times
Version: 2.0
Category: Tutorials