Wiki

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

How to add a named scope to ActiveRecords with a behavior

Created 7 years ago by MikeTutorials2 comments – viewed 20,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 12,082 times – ( +4 ) – version all

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

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

Deploy yii on pagoda box

Created 4 years ago by francis jaTutorials0 comments – viewed 7,910 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 6 months ago by softarkTutorials0 comments – viewed 6,486 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 8,991 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.

List with multiple checkbox

Created 5 years ago by matkazTutorials3 comments – viewed 30,376 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

config Use MS SQL SERVER 2005 2008.

Created 5 years ago by vcxz_1982Tutorials2 comments – viewed 50,562 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 6 years ago by thyseusTutorials5 comments – viewed 70,510 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Ajax form submiting in Yii

Created 3 years ago by sirin kTutorials8 comments – viewed 121,623 times – ( +13 / -5 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.