Forum v1.8

The Cupcake Forum is a CakePHP plugin based on the popular bulletin board system. Bundled with all basic features, simply drop into your application.

Blog entries for October 2009

If you are a CakePHP developer, I am almost certain you have run into this problem on multiple occasions. What problem are you referring to you ask? Well, the problem that you have when your Model is not being found and Cake automatically substitutes it with AppModel. Here's how to fix those problems. Continue reading...
By now most of you have heard that the awesome Nate Abele (which I had the privilege of talking to and partying with at Zendcon) is leaving the CakePHP team. A lot of developers were taken back by this and are unsure if they should continue to develop with CakePHP. Now, I find this ludicrous on many levels. Sure Nate was the lead developer, but that doesn't mean he was the only one. We still have the mighty Mark Story and the returning Larry Masters. Continue reading...
The Controller and HTTP response are now working correctly, so it is time to display the response message to the client. We will achieve this by utilizing jQuery to output our JSON. The plan is to show a success message if the JSON passed or display a list of errors if it has failed. Continue reading...
Now that you have setup the Javascript and view to properly fire off an AJAX call, it's time to process the call within the Controller. We will build and write all the required logic to properly handle an AJAX call and return the response. Continue reading...
One of topics I always see pop up in the CakePHP Google Groups is how to correctly do AJAX calls in CakePHP. I will be splitting this up into 3 different entries, the first will be pertaining to the view/Javascript (front-end) and how to fire off the AJAX call, the second will deal with the Controller action and how to process the request, and the final entry will be dealing with the response (in JSON format). Continue reading...