Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 141-150 of 254 result(s).

How to generate Web feed for an application

Created 7 years ago by qiangTutorials6 comments – viewed 24,406 times – ( +4 ) – version 1.1
Web feed is a data format used for providing users with frequently updated content. In this article, we describe how to use Zend_Feed, an excellent component from Zend Framework to generate Web feed for an Yii application. This article can also serve as a general guide on how to use other components in Zend Framework.

How to add a named scope to ActiveRecords with a behavior

Created 7 years ago by MikeTutorials2 comments – viewed 21,619 times – ( +4 ) – version 1.1
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 16,214 times – ( +4 ) – version all

How to use default layout for error pages instead of errorXXX views

Created 7 years ago by idle signTutorials1 comment – viewed 26,346 times – ( +4 ) – version 1.1
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 18,222 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

Deploy yii on pagoda box

Created 4 years ago by francis jaTutorials0 comments – viewed 8,166 times – ( +4 ) – version 1.1
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
tags: pagodabox, pagoda

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created about a year ago by softarkTutorials0 comments – viewed 10,276 times – ( +4 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

XSS safe model content

Created 6 years ago by phirasTutorials2 comments – viewed 9,463 times – ( +4 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

How to create/update a model with its related items using Listbox or CheckboxList

Created about a year ago by softarkTutorials1 comment – viewed 10,451 times – ( +4 ) – version 2.0
Assume we have many categories and many posts.

List with multiple checkbox

Created 6 years ago by matkazTutorials3 comments – viewed 31,594 times – ( +4 ) – version 1.1
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted