Wiki

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

How to generate Web feed for an application

Created 8 years ago by qiangTutorials6 comments – viewed 24,807 times – ( +4 / -1 ) – 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 8 years ago by MikeTutorials2 comments – viewed 22,163 times – ( +4 / -1 ) – 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 2 years ago by ezekielnoobTutorials5 comments – viewed 17,636 times – ( +4 / -1 ) – version all

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

Created 7 years ago by idle signTutorials1 comment – viewed 27,033 times – ( +4 / -1 ) – 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 20,137 times – ( +4 / -1 ) – 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 5 years ago by francis jaTutorials0 comments – viewed 8,305 times – ( +4 / -1 ) – 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

XSS safe model content

Created 7 years ago by phirasTutorials2 comments – viewed 9,644 times – ( +4 / -1 ) – 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 11,895 times – ( +4 / -1 ) – version 2.0
Assume we have many categories and many posts.

List with multiple checkbox

Created 6 years ago by matkazTutorials3 comments – viewed 32,115 times – ( +4 / -1 ) – 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

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

Created 6 months ago by Amjad KhanTutorials2 comments – viewed 9,564 times – ( +4 / -1 ) – version 2.0
Following is the table structure