Wiki

Sorted by commentsX
Displaying 31-40 of 470 result(s).

How to use PHPExcel external library with Yii

Created 2 years ago by Antonio RamirezHow-tos12 comments – viewed 34,568 times – ( +22 / -1 )
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?
tags: yii, libraries

How to avoid multiple Ajax Request

Created 2 years ago by nickcvHow-tos12 comments – viewed 19,412 times – ( +14 )
CHtml::ajaxLink(), CHtml::ajaxSubmitButton() and similar methods are great, but if they are located inside a portion of the page that is already loaded via ajax something bad will happen, something you may even not notice if you are not using tools like firebugs: the sent ajax requests will multiply themselves.

Using filters with CGridView and CArrayDataProvider

Created about a year ago by marcovtwoutHow-tos12 comments – viewed 24,545 times – ( +10 )
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Yii Security-extended guide

Created about a year ago by bingjie2680Tips11 comments – viewed 9,845 times – ( +6 / -6 )
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

How to write secure Yii applications

Created about a year ago by François GannazHow-tos11 comments – viewed 69,578 times – ( +78 )
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

Simple RBAC

Created about a year ago by hasanaviTutorials11 comments – viewed 32,387 times – ( +32 / -1 )
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Real-time display of server push data using Server-Sent Events (SSE)

Created about a year ago by bennounaHow-tos11 comments – viewed 14,281 times – ( +11 )
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

Working with CGridView in Admin Panel

Created 10 months ago by vibhaJadwaniTutorials11 comments – viewed 29,377 times – ( +29 / -1 )
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

CGridView, CListView and CActiveDataProvider

Created 8 months ago by softarkTutorials11 comments – viewed 32,466 times – ( +28 )
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Understanding "Assets"

Created 2 years ago by Steve FriedlTutorials11 comments – viewed 64,205 times – ( +52 )
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.