Beginner Tips

CakePHP doesn't always have the best "beginner settings" preconfigured. It is often just optimized for speed by default. IMO that is not too clever, as beginners easily trip over that, whereas advanced users could easily "deactivate" it.
So at the beginning it should just work, and optimization should come later.

To sum a few things up, this should help getting you started:

Enable Quote Identifiers

Set it to true in your app.php config so any field names that could be reserverd SQL keywords are properly quoted:

'quoteIdentifiers' => true

Use Linux or Vagrant/Docker

Don't try to work on Windows. There could be too many small pitfalls. Best to use a Vagrant Box or just a docker image to run your CakePHP app inside a Linux environment.

This way you have less bugs/side-effects that you will have a hard time with to decide whether they are framework related or not.

As a positive addition: Such an environment is then also case sensitive and therefore closer to production env.


Send your feedback or bugreport!