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');…A small collection of useful Cake Snippets for all projects made…

All new CakePHP Tips and Tricks

1

This is supposed to be a list of useful tricks gathered over many months. First Templates, then Bake, then Adjustments The usual workflow for a new project should be Create…This is supposed to be a list of useful tricks gathered…

PHP

About PHP basics and pitfalls

2

AND, && and & Usually you use && in favor of AND. At least, I prefer! Cake code conventions state the same. But they do exactly the same: They "intelligently"…AND, && and & Usually you use && in favor of…

CakePHP Beginner Tips

4

Based on CakePHP1.x. Valid for 2.x (see updates below). Apache Server For Windows use WAMPServer2 and select "Apache" => "Apache Modules" => "rewrite_module". Thats all there is. Cake should now…Based on CakePHP1.x. Valid for 2.x (see updates below). Apache Server…

Useful Windows 7 Tricks

0

We all agree that Windows 7 is the most sophisticated version so far. WinXP is totally outdated, ME and Vista were crap. But despite the more stable workstation and some…We all agree that Windows 7 is the most sophisticated version…

Useful hidden functions

0

There are some handy cake functions you might not have used or even heard of, yet. Debugging Most beginners use print_r() to debug variables. Without <pre> tags its really hard…There are some handy cake functions you might not have used…