Wiki

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

Yii CDBHttpSession数据库存储session性能优化实战

Created 3 years ago by Darwin WenTips0 comments – viewed 7,359 times – ( +1 / -1 ) – version 1.1
上一篇 关于 Yii CHttpSession性能优化篇之源码流程分析 有详细分析CHttpSession执行流程,在了解CHttpSession的详细执行流程之后,我们就可以非常轻松的扩展Yii Session,来优化和符合自己的业务流程。

BaseModuleAR class with MultiActiveRecord

Created 3 years ago by dinhtrungTips0 comments – viewed 7,114 times – ( +2 ) – version 1.1
MultiActiveRecord is an extension that add support for multiple database connection for your application.

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

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

Reading the doc

Created 4 years ago by zaccariaTips0 comments – viewed 6,956 times – ( +21 ) – version 1.1
Almost all the information you need whilst working with yii is written in the Class Reference.
tags: doc

Syntax check

Created 4 years ago by Russell EnglandTips2 comments – viewed 6,833 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

FORM with GET method causes repeated stacking of URL Parameters

Created about a year ago by Kartik VTips2 comments – viewed 6,763 times – ( +39 / -4 ) – version all
You are using an ActiveForm in yii (both v1.x or 2), with a GET method like below:

Fixing extensions without modifying their code

Created 2 years ago by schmunkTips3 comments – viewed 6,687 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 6,580 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 6,502 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.

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 11 months ago by Kartik VTips2 comments – viewed 6,495 times – ( +44 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.