11 articles tagged 'cakephp'


A while ago I was involved in a project that wanted to convert a legacy CakePHP (v1.3) app into a Rails app. One of the problems we had to solve was...

Read more

The second part of an experimental CakePHP asset stragtegy loosely based on the Rails asset pipeline. Part 1 can be found here.

An apology

What can...

Read more

A little while ago I wrote about using environment variables to store various sensitive information in your application without revealing it in source...

Read more

Sometimes you need to use a non-standard password hashing algorithm with the CakePHP Auth component. In the 2.3.x branch, you need to write a custom...

Read more

This is the first part in my Asset Strategy series. Read the second part here..

Introduction

I’ve always hated how the css/ and js/ directories of...

Read more

CakePHP Behaviours

 Apr 29, 2013

CakePHP behaviours are great. They’re kind of like Ruby’s mixins with a splash of the observer thrown in.

They are specifically for the model, and...

Read more

One of the things to be careful of in CakePHP development is the minor differences between these 2 methods and what they actually do.

The key thing...

Read more

I write most, if not all, of my client side code in Coffeescript now. While thats fine in Rails, which has a great asset management system, in other...

Read more

It should be common knowledge that you never put sensitive information into source control, but recently its been shown that many developers leave paswords...

Read more

Normally all the validation rules are stored in the model class in the validate var

<?php
public $validate = array();

However, sometimes you need to...

Read more

Sometimes an action or link needs to take the user back to where they came from each time rather than to an explicit location. When this happens CakePHP...

Read more