Some new crazy (Cake)PHP tricks

7

Crazy – because these tips are not used that often probably. But for some rare occasions they might come in handy. Inserting some rows into an array $array = array( ‘one’, ‘two’, ‘three’ ); $newValue = ‘one-point-five’; //with 0 as…

Dynamic database switching

0

Some might remember my old post about development vs. productive setup. It was mainly about how to switch dynamically based on the current environment. This can be useful if you want to have a single DB config file which will…

Spellchecking with (Cake)PHP

0

I wrote some cake1.3 libs years ago which would request google’s spellchecker API. This is great for small and unregular lookups. But as soon as you need to use it more excessive an internal server solution is not only much…

Interesting Links

0

A short post about some really interesting sites I found in the www and want to share: Live Benchmark phpbench.com You can see live benchmarks about some basic PHP stuff. You can also copy and paste the code to try…

What REALLY speeds up your cakephp app

21

There are already many (partly outdated) blog entries (e.g. 8-ways-to-speed-up-cakephp-apps) and stackoverflow questions/answers (e.g. speeding-up-cakephp) regarding this question. But from years of experience I want to outline the more important ones pretty quick. I will not talk about the little…

New year, new cake version – 2.1

0

The new version 2.1 is almost fully backwards compatible. The migration guide from 2.0 to 2.1 can be found at book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html New stuff for the upgrade shell I used this chance to enhance my version of the upgrade shell and…