Things to Consider when application hosting on AppFog
I faced many issues when hosted our company website on AppFog.
I faced many issues when hosted our company website on AppFog.
Hey everyone,
Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.
What I want to achieve:
Modern browsers support SVG, older browsers do not. This replacement for CHtml::image() allows you to handle to propose SVG in an efficient way with PNG as a fallback.
If you are about to create a graph, the best option i would suggest is the jqbargraph.
Yii has a neat "trick" that will assign default values to new CActiveRecords. When performing a search() though, this is pretty annoying as they automatically apply as filter values.
in model add the following code:
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:
'onSelect'=>'js:function(selected) {
$("#HostelRoomStatusMaster_room_status_master_end_date").datepicker("option","minDate",selected);
}',
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:
This topic is related with langhandler extension
Almost all the information you need whilst working with yii is written in the Class Reference.
I'm developing a web project for a company using Yii framework. We are using a git vcs in our development process. We like to use Yii extensions. But only if they are good.
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article [Redefine PHP class methods or class](http://stackoverflow.com/questions/137006/ph...
上一篇 关于 Yii CHttpSession性能优化篇之源码流程分析 有详细分析CHttpSession执行流程,在了解CHttpSession的详细执行流程之后,我们就可以非常轻松的扩展Yii Session,来优化和符合自己的业务流程。
There are cases that you want to make an ajax request to another server and get the results.
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.
yii-1.1.8.r3324 framework directory is 10.4 mb size.
yii rights some tips..