Very useful CakePHP Code Snippets

1

A small collection of useful Cake Snippets for all projects made with Cake. First of all: Keep it DRY If you have several projects I recommend extending vendor classes. require_once(VENDORS.’my_model.php’); class AppModel extends MyModel {} Same for AppController, AppHelper, bootstrap…

Storing and managing accounts

0

I get questions like "What is the svn address again" or "What was my password" all the time. You could write them all down somewhere on paper. But copy-and-pasting them is so much easier and faster. So we end up…