Forum

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

Entries for Tutorials

While working on this app, I thought I would give the not so used method, setAction() a spin. If you are unfamiliar with setAction(), its a method that will internally forward one action to another. This is incredibly useful as it allows you to switch actions without having to do another HTTP request, nor having to reload all the controller and related objects; could be a huge saver on overhead. Continue reading...
I have been working on the new 1.8 version of the forum for almost 2 months, simply because version 1.7 was completely broken. It used PHP 5.3 constants which didn't work on 99% of the users machines. This problem has now been corrected in the new 1.8 version, but that's not all that changed. All topics, forums and forum categories now use the sluggable behavior for pretty URLs. Furthermore, the Installer has been rewritten completely for faster and easier usage. The main purpose of this post is to direct you in the 1.8 upgrade process as there are many things you need to do. Continue reading...
This post will primarily be about the process I had to go through to get cron jobs and shells working on Dreamhost. The main problem I kept running into was that the shells would simply not work at all through a cron job; yet they worked when I manually did it through SSH. The weird thing was the source of the console/cake file was being printed in my logs, instead of executed. Continue reading...
For the past week I have been working on a DataSource for the WeGame API. Everything was working fine until I added some logic to cache the results. From there I ran into a few problems, here is how I resolved it. Continue reading...
Getters and Setters are the backbone of many PHP classes (or any programming language class), as they allow you to alter and retrieve class properties during runtime. Many well thought and powerful scripts and frameworks make use of Getters and Setters, but is there a thing as too much? Or are there better and easier alternatives? Continue reading...