Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 71-80 of 182 result(s).

Getting the Most out of APC for Yii

Created about a year ago by Da:SourcererHow-tos7 comments – viewed 12,223 times – ( +15 )
The Advanced PHP Cache is a PHP extension which primarily serves as an opcode cache for PHP. The basic idea is to save PHP from re-evaluating the PHP code to intermediate bytecode on each request. Installing and enabling APC already yields a significant performance benefit. However, APC is not a black box that will magically change all for the better. More over it is important to understand that APC needs memory to operate.
tags: caching, apc

AssetManager: clearing browser's cache on site update

Created about a year ago by dhampikHow-tos2 comments – viewed 12,183 times – ( +14 )
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

Elementary introduction to using jQuery ajax and the yii framework

Created 8 months ago by dhimesHow-tos4 comments – viewed 12,126 times – ( +5 )
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

Run an Yii Application inside an Wordpress page

Created 2 years ago by Paul ApostolHow-tos3 comments – viewed 11,968 times – ( +12 )
Install a Wordpress site (mine is in "http://localhost/test/wordpress")

Integrating Wordpress and Yii: yet another approach

Created about a year ago by goncinHow-tos8 comments – viewed 11,684 times – ( +8 / -2 )
It seems many people is trying to make Wordpress and Yii work together. I got stuck with the same problem, but now I think I have achieved doing it, after a lot of hard thinking and many work hours spent.

Yii registry, how to use it, does it exist at all?

Created about a year ago by dckurushinHow-tos2 comments – viewed 11,370 times – ( +6 )
From time to time people ask about registry...

How to use Smarty renderer in Yii

Created 2 years ago by dongbetaHow-tos2 comments – viewed 11,241 times – ( +3 )
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

Run Yiic directly from your app without a shell

Created about a year ago by jacmoeHow-tos5 comments – viewed 11,138 times – ( +15 )
Sometimes it would be nice if we could run yiic from an action, for example a migrate database button in our admin panel. Or because you are on a host which doesn't have shell access. Or maybe you are not allowed run popen or exec.

Secure password hashing with bCrypt

Created about a year ago by waitforitHow-tos3 comments – viewed 11,082 times – ( +6 )
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

Storing your images in your table's blob field and displaying that stored images.

Created about a year ago by sirin kHow-tos5 comments – viewed 10,837 times – ( +8 / -1 )
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image