A ColdFusion Page Controller
A hate to admit it, but ever since I stopped using Fusebox a few years ago, I have been without a controller. I had my view separated from my model, but no controller to be seen. In fact, I even questioned the need for a controller on most of my projects (while seeing how it could help on larger projects). I was all ready to write a "Do I need a Controller" blog entry.
And then...
It has actually been a year since I originally wrote this post so it is definitely time for a follow-up post. I will try to get that done soon.
In the meantime, I will say this:
I love page controllers! I still use them basically as I described in this entry. As I glance at the description now, I see that I should have explained it better which I will try to do soon.
The only thing that I have changed is that I use onMissingMethod on CF8 to create a sort-of dual inheritance for labor saving. I will try to cover that soon as well.
I have posted a simple example on onMissingmethod here.
http://cf-examples.net/index.cfm/2008/8/25/onMissi...