Wiki

Articles in category "tips", sorted by viewsX
Displaying 91-100 of 137 result(s).

New Relic Error Alert with Yii

Created about a year ago by simon604Tips2 comments – viewed 5,941 times – ( +5 )
Introduction

关于Yii CHttpSession性能优化篇之源码流程分析

Created 3 years ago by Darwin WenTips0 comments – viewed 5,910 times – ( +1 / -1 ) – version 1.1
当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

Fixing extensions without modifying their code

Created about a year ago by schmunkTips3 comments – viewed 5,878 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

[pt-br] O guia de estudos do Yii para iniciantes

Created 2 years ago by Rodrigo CoelhoTips0 comments – viewed 5,857 times – ( +1 ) – version 1.1
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.

Solution for session lose of Facebook iframe application in Internet Explorer .

Created 2 years ago by sirin kTips0 comments – viewed 5,853 times – ( +2 ) – version 1.1
Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

using jqbargraph to create beautiful graphs

Created about a year ago by MAHESH.E.UTips1 comment – viewed 5,711 times – ( +5 ) – version 1.1
If you are about to create a graph, the best option i would suggest is the jqbargraph.

Multi Data Provider

Created about a year ago by Sharon LavieTips0 comments – viewed 5,633 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

CjuiDatepicker

Created about a year ago by hiral darjiTips1 comment – viewed 5,595 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

Setting static modules' properties in config

Created 2 years ago by Alexander PalamarchukTips0 comments – viewed 5,462 times – ( +2 / -2 ) – version 1.1
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Access log output from unit tests

Created 2 years ago by MikeTips2 comments – viewed 5,257 times – ( +4 ) – version 1.1
Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.