On Wednesday, Feb 12, 2003, at 07:42 US/Pacific, <"Hagan>,Ryan" wrote: > I have to disagree that this is a "better" reference. Good points are > definitely made here, but it is very obviously ColdFusion-centric. The > purpose of these articles seems to be to convince one to buy > ColdFusion, not > compare ColdFusion with PHP, which was the original question.
Well, it's very difficult to get a true, unbiased comparison of any two languages. First off, the reviewer has to be very familiar with both languages and has to have used them for similar projects. Anyone who is an avid supporter of any particular language is going to want to show that language is 'better' than the competition. > Paul, Consider the fact that you just asked the ColdFusion listserve to > compare CF and PHP. That's not really fair, as there is going to, > generally, be a lot more support for CF than PHP here. Exactly! And if you go to a PHP listserv and ask them, they'll tell you CF is rubbish and PHP rocks. I use PHP for my personal site (no one seems to provide a full-access CFMX / Linux / mySQL set up for $10/month that matches the PHP / Linux / mySQL set up Hurricane Electric provides - my current ISP). I don't like PHP much, from a syntax point of view - for most of the same reasons that I don't like Perl. As a language designer, I have some very strong preferences for syntax. I don't much like CF's tag syntax either but at least it's simple (and fairly consistent) - but cfscript is more to my taste. PHP has a lot of powerful low-level stuff which is missing from CF - but CF has a lot of powerful high-level stuff that requires much more work in PHP. CF has components, PHP has classes. CF has a wealth of third-party tags, UDFs and - hopefully soon - CFCs. PHP has a wealth of third-party libraries and modules. You can use Fusebox with both (yes, I will get around to writing up my experiences converting my site to Fusebox!). You can now use Flash Remoting with both. For most of what I would want to do on my own site, I would *prefer* the ease and power of CFMX but I can certainly live with PHP. As with most things, pick the best tool for the job based on information to hand. Of course, if you only have a hammer, everything looks like a nail... Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

