Author Archive

Cakephp controller without a model

To force cakephp controller not to use a model set the $uses variable to an empty array like the snippet below:


Class MyController extends AppController {

var $uses = array();

}

Cakephp model without a table

If you ever wonder how to use cake model without a database table, check the snippet below:


Class MyModel extends AppModel {

$useTable = false;

}

Referrer redirection in Cakephp

One of the ways to redirect back to referrer page inside the controller is to use Controller::referer() method :

$this->redirect(Controller::referer());

Connecting Kontact Journal with Wordpress

I was wondering if it is possible to connect these two great applications and here you go I am writing in Journal and the post is saved in wordpress blog very sweet and very easy to setup

Roger’s Blog

Yes finally Roger’s Blog is online :)

Get Adobe Flash playerPlugin by wpburn.com wordpress themes