Wiki

Displaying 501-510 of 691 result(s).

Sub-domains with different databases in Yii!

Created 3 years ago by jwerdHow-tos4 comments – viewed 12,003 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Creating a parameterized LIKE query

Created 3 years ago by Steve FriedlFAQs6 comments – viewed 49,923 times – ( +22 ) – version 1.1
It's common to see users wishing to make substring DB queries, using the % metacharacter used to match anything; in this FAQ we'll search the tbl_comments table from the blog tutorial hoping to find the text in $match in the content column

Single table inheritance

Created 3 years ago by samdarkHow-tos6 comments – viewed 22,913 times – ( +39 ) – version 1.1
Relational databases do not support inheritance so if we need to represent it, we have to somehow store meta info while keeping performance by minimizing JOINs. One way to solve this problem is using single table inheritance. All fields for the whole class tree are stored in a single table. Class name is stored in the type field of the same table.

Local time zones and locales

Created 3 years ago by Russell EnglandHow-tos9 comments – viewed 49,699 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

[PT-BR] Proteção Contra Logout CSRF

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,080 times – ( +2 / -1 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

Implementing a Registration Process using the yii-user-management module

Created 3 years ago by thyseusTutorials6 comments – viewed 49,308 times – ( +7 ) – version 1.1
Hi Folks,

Using Pear Mail Mail_Mime and Mail_Queue

Created 3 years ago by LorenHow-tos2 comments – viewed 8,409 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

A simple class to use a different db for a module

Created 3 years ago by tydeas_drTips2 comments – viewed 12,598 times – ( +9 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?

config Use MS SQL SERVER 2005 2008.

Created 3 years ago by vcxz_1982Tutorials1 comment – viewed 34,479 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

Implementing a User Level Access System

Created 3 years ago by Antonio RamirezTutorials12 comments – viewed 42,238 times – ( +28 / -1 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.