PHP vs COLDFUSION
a brief, biased comparison
I had the privilege of doing a short presentation at our local CFUG meeting last night, the topic being "Coldfusion Vs PHP", so thought I'd share the slides and some brief commentary on some of them. We didn't record the meeting, so what you're about to see is an abbreviated version.
Subscription Options
You are not logged in, so your subscription status for this entry is unknown. You can login or register here.
Re: PHP vs COLDFUSION
hey Doug. Thanks for posting your preso. I wanted to point out one thing: you listed the ternary operator as one advantage of PHP. As of version 9, ColdFusion also has the ternary operator (Railo has it as well, but I don't know about Open BlueDragon).
Posted by Tony Garcia on July 13, 2010 at 1:38 PM
Re: PHP vs COLDFUSION
More about the ternary operator in ColdFusion:
http://www.bennadel.com/blog/1643-Learning-ColdFusion-9-The-Ternary-Operator.htm
http://www.bennadel.com/blog/1643-Learning-ColdFusion-9-The-Ternary-Operator.htm
Posted by Tony Garcia on July 13, 2010 at 1:45 PM
Re: PHP vs COLDFUSION
Thanks for the info on CF9. Unfortunately for those of us who aren't able to use the latest version of CF, it's a non plus. I'm stuck in 8 land over here.
Posted by dougboude on July 13, 2010 at 2:33 PM
Re: PHP vs COLDFUSION
This presentation was really well done. I didn't attend the CFUG, obviously, but I did listen through each slide to see if I could learn a few new things about either side. I'm not required to do any PHP stuff at my job, but I've been learning PHP basics over the last few weeks merely for informational purposes. I saw some code snippets in here that I hadn't come across yet, namely mysql_fetch_assoc instead of mysql_fetch_row, inline output syntax, file reading, ternary operators, HEREDOC notation, and how to write classes. Thanks for sharing.
Posted by Jose Galdamez on July 13, 2010 at 6:00 PM
Re: PHP vs COLDFUSION
Hey Doug, even though it was "short", would you be interested in presenting this on the Online CFMeetup (for those not familiar, more at http://www.coldfusionmeetup.com)? It's been a little while since we had you on, and this is a topic that I'm sure many would enjoy (and then it would be recorded for you, of course.) Even if it's just 30 minutes, that's ok (or if you want to build it out to 45-60, that's find, too.) Let me know if interested.
Posted by charlie arehart on July 13, 2010 at 11:37 PM
Re: PHP vs COLDFUSION
Nice presso. You can use the new operator in CF9 to create objects:
so instead of:
foo = CreateObject("component", "package.bar.foo").init();
you can simply do:
foo = new package.bar.foo();
so instead of:
foo = CreateObject("component", "package.bar.foo").init();
you can simply do:
foo = new package.bar.foo();
Posted by John Whish on July 14, 2010 at 5:47 AM
Re: PHP vs COLDFUSION
Yes, I'd be interested in seeing this on the Online CFMeetup.
Posted by Lola LB on July 14, 2010 at 5:51 AM
Re: PHP vs COLDFUSION
Hey Charlie, definitely interested in a cfmeetup opp. :) I'll get with you offline.
Posted by dougboude on July 14, 2010 at 8:45 AM
Re: PHP vs COLDFUSION
Yeah, I hear you that not everyone might not be at the latest version of CF. But it just might be a good idea to mention in your presso that the latest and greatest CF has "caught up" to PHP in terms of the ternary and new() operators.
Posted by Tony Garcia on July 17, 2010 at 11:24 AM
Re: PHP vs COLDFUSION
I love Coldfusion. I think, it is the more simple and powerful language to develop web application, but in some cases, expecially when you have to develop a "dynamic" site - let me pass this term... - for a small client, it can't be the better solutions in terms of cost if compared with PHP (my example: http://www.taschendirekt.de ). This is a first post that evidences some basic differences between two programming languages such as variables and queries for all programmers that, for necessity, have to migrate from Coldfusion to PHP.
Posted by Reader on November 21, 2010 at 9:19 PM
Re: PHP vs COLDFUSION
Coldfusion is so awesome only 1% of the programming community uses.
Posted by WhatTheHeck on January 23, 2012 at 7:03 PM
Re: PHP vs COLDFUSION
The elite are always in the minority, bonehead.
Posted by dougboude on January 24, 2012 at 9:47 AM
