Since I develop with both CF and php, I guess I'll add my .02... Also respectfully to you Dave, this is NOT a terrible comparison. With the exception of the part about user defined functions, the comparison seems pretty valid to me, even though it is quite old.
In addition, php has made great strides in the last couple of years: There are at least 3 very good IDE's for php (Zend Studio, Nusphere PhpEd and Activestate Komodo), as well as some decent simple code editors (php coder/Maguma Studio, etc. Zend has done some other great things for php, like code encryption, acceleration, caching, etc. Granted these products are not free, but their new 'Small Business Program' lets you get all of that stuff with the IDE for a $295 lifetime payment. This is an absolute bargain. Now I still love the CF language, and it's what I prefer to code in, for its ability to let me get projects done quickly. But over the years of using CF I've developed my own 'methodology', that implements the Application Framework, as well as some other ways of doing things that are sort of like Fusebox (only simpler). I've personally found that I can use this same framework in php as well, and the only thing that changes is the syntax of the language. Many things in php (switch/case for example) are almost identical in both languages (using the CF version with cfscript tags of course). And don't think that php isn't 'rich'. More than once I've sat down to write a function in php and realized part way through that there was already a built in function to accomplish the task. To me, it all boils down to what Sean said .... both languages have their strengths and weaknesses. Use the right tool for the task at hand. I'm not even going to comment on ASP (ugh), but php is a fine tool in its own right and even though it does take longer to develop with than CF (for me), it still allows me to do some cool stuff for clients, which makes them (and me) happy. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4