CakePHP now fully MVC

0

Yeah 🙂 I was waiting for this day for quite a long time. And pretty happy that my proposal from last year is finally in the live code. Cake2.1 is now fully, really and completely MVC – and officially 200%…

Introducing the EmailLib

0

This is a good example of how useful it can be to even extend some basic core classes to enhance them and fit them to your needs. In this case we extend the CakeEmail Utility Lib class and add some…

E_STRICT compliance in Cake

0

In PHP5.4 E_STRICT will be automatically be part of E_ALL. So it might be a good idea to get your code E_STRICT ready. I have to say: I never bothered myself. Always used E_ALL & ~E_STRICT (the second part will…

PHP

PHP5.4 is out

0

In case you haven’t heard yet (pretty much impossible, isn’t it): PHP5.4 has been released. In a previous post I already pointed out the possibilities for traits – although I am not quite sure yet how it could benefit current…

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…