Wiki

Articles in category "tutorials"X
Displaying 81-90 of 253 result(s).

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 3 years ago by softarkTutorials11 comments – viewed 36,243 times – ( +17 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Log Activity in DataBase

Created 3 years ago by mahdi1986Tutorials6 comments – viewed 17,727 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created 3 years ago by aarondfrancisTutorials1 comment – viewed 6,042 times – ( +7 )
Hello everybody.
tags: heroku, assets

YII SaaS Multi Tenant application with single database

Created 3 years ago by Rajith RTutorials5 comments – viewed 15,329 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

Simple Mail Queue

Created 3 years ago by waterloomattTutorials3 comments – viewed 15,773 times – ( +10 / -2 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

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

Created 3 years ago by Charles R. Portwood IITutorials7 comments – viewed 183,943 times – ( +10 / -10 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

Implementing a WebDAV server using SabreDAV

Created 3 years ago by nineinchnickTutorials6 comments – viewed 22,575 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

Send mail using YiiMail extension

Created 3 years ago by RKATutorials9 comments – viewed 65,810 times – ( +8 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

A simple way to get Yii client-side form validation run when submitting by ajax

Created 3 years ago by nlacTutorials5 comments – viewed 46,161 times – ( +8 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Custom Login Error Messages

Created 3 years ago by whoopassTutorials1 comment – viewed 35,779 times – ( +11 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.