CakePHP Tips – Winter 2012

4

Some more tips I gathered the last couple of weeks and want to share with the (Cake/PHP)world 🙂 Jquery and CakePHP FormHelper::radio() Usually you would use var value = $('input[name=fieldName]:checked').val(); But since CakePHP uses name="data[ModelName][field_name]" generating the form fields you…

CakePHP and PHPUnit

3

Earlier I wrote about some PHPUnit tips around Cake2. At that time the old SimpleTest testing framework had just been replaced by PHPUnit. So everything around this new framework was fairly new – especially to be. I manually installed/downloaded the…

Geocoding with CakePHP

28

Geocoding is a very powerful tool if you want to work with lat/lng, distances or just want to display a small map for your addresses. I use it in combination with my GoogleMaps Helper to display a dynamic or a…

More interesting links

0

This week I have only a few links to offer 🙂 PHP5.5? What-PHP-5-5-might-look-like.html Periodic Table A pretty geeky site shows the number of elements used on a website as a periodic table: periodic-table. Move over the elements with your mouse…