|
Fusebox Migration: From ColdFusion to PHP
November 18, 2001
When I was first learning PHP, I was coming from a background in Perl and ColdFusion. I had cut my teeth on Perl, so PHP syntax was familiar, and I had learned how to better organize my code using Fusebox for ColdFusion. It was a natural extention of those two facts that I should approach my education in PHP as a blending of those two histories.
The result was a database of ColdFusion Fusebox code snippets married up to their PHP syntax equivalents. I even built a little administrative interface where I could add new "translations" as I figured them out. This was a great learning experience, both in building the tool and in using it. But there was still a lot of Fusebox to figure out in the mix.
However, with the advent of Fusebox 3.0, the differences between the ColdFusion and PHP versions are almost purely syntactical. I am tempted to tell you to simply look at the code from each side and figure it out for yourself, because it is really not that complicated! But perhaps that would be because I have been so steeped in it for the past few months that the lines are overblurred...
Instead, I have reorganized the original "Migration" article I wrote here on bombusbee.com. We start with the basics, move on to some more complicated tricks, and then finish with some PHP-specific enhancements to the Fusebox 3.0 framework.
And away we go!
|