This blogpost is not about how you can adjust your find statements to make them case sensitive on CakePHP. Instead if you want your find to be case sensitive just make sure your database takes care of this by using the utf8-bin collation.
That’s right, only changing the collation makes sure your SELECT queries become case sensitive!
Having trouble using Vendor code in your CakePHP 2.x application because of namespaces? Hope that this little snippet will help you solving that problem.
New Relic is an application monitoring solution for PHP (and other languages) which gives you more information about the performance of your application. It works well with all major frameworks (including CakePHP). Little problem for me is that CakePHP has it’s own error handling – which catches any error before it can be fetched by the New Relic PHP agent.
Because our server and availability monitoring is already done by New Relic, I decided to build a custom error handler in CakePHP which uses the PHP API of the New Relic PHP Agent. So all monitoring can be done through New Relic.
You can find the plugin with the error handler here: https://github.com/turnred/newrelic-cakephp (Work In Progress)
While working on the migration of a Cake1.x project to Cake2, I faced a problem with the JsonView plugin of Pagebakers. Instead of being catched by the JsonView View, it just printed out the plain old html error of a missing view. Lees verder
Today I’m migrating one of our webapplications from Cakephp 1.3 to Cakephp 2.0.5.