While enjoying the wonderful CakePHP live show (don’t despair, I will be on soon, adding some of my latin flavor to spice up phishy’s boring comments… just kidding
, PhpNut made…
Even if Model::set seems to have a defined functionality, it wouldn’t be insane that you get stuck with a common developer mistake: forget what you should expect of a method. Consider the following code running on a controller (where…
One of CakePHP 1.2 coolest features are known as HABTM with models, which are particularly useful when you have a hasAndBelongsToMany binding between two models that may contain extra information (i.e: table fields) attached to the binding. They are…
I love CakePHP’s Configure class, available both in CakePHP 1.1 and 1.2 branches. It is extremely useful to store application settings that you may need application-wide. What I normally do is add this line to app/config/bootstrap.php:
Configure::load('config');
And…
I’ve just finished reading dho’s goodbye message to the CakePHP team. While I may or may not agree with Daniel’s feelings of being left behind, the thing that should always matter are actual facts, not feelings.…
Who said programming can’t be fun? Who said it should take you away all your free time? One of the things programmers look for (or should, for that matter) is how to speed up the development process. Why? Because
…
Tom OReilly produced a handy solution on the bakery (Keeping bindModel and unbindModel out of your Controllers) to allow to overcome performance issues when querying a model that has a lot of associations with other models.…
Just the other day I was in the process of saving an HABTM (Have And Belongs To Many) field with CakePHP, specifically for saving the relations between a model Project and another model Category. I first had to do…
Today an interesting discussion went on CakePHP Google Group regarding the native support for web services Cake offers. After that a couple of articles got written on different blogs (they are still awaiting authorization to be
…
I just got published a couple of articles regarding CakePHP on the bakery. Check them out:
Adding friendly URLs to The Cake Blog Tutorial: On this tutorial we’ll learn how to modify The
…