http://www.macromedia.com/devnet/mx/col ... _cfmx.html
..and couldn't help but post this question here...
Is this guy's ColdFusion propaganda really worth buying into?
Moderator: General Moderators
We use CF 4.5 and CF MX at work.Pyrite wrote:As someone who is neither expert in either CF or PHP, but uses both, or used to use CF anyways. Here is what I have to say:
Not sure for other versions, but the version I have is CF 4.0 and it doesn't let me have my own user defined functions, multi-dimensional arrays or loops within loops. This all might be different in later CF versions, but PHP has had that stuff always.
On top of that, CF is really made for getting data from a db onto the web quickly like he said, but quickly really means code writting and not page execution.
PHP is really made for web applications.
That's all from my experience.
Cheers.
I agree. Most articles like these demonstrate a persons lack of knowledge in one area, and their advanced knowledge in another. However, this article isn't all that bad. They aren't bashing PHP. Indeed, Macromedia is more than willing to support PHP.twigletmac wrote:It's a pity that generally the people writing these types of articles are intermediate/expert in one language and no more than a beginner in another.
Article didn't convince me I'd ever want to convert, tag based coding seems kinda icky. IMHO CF is a language for designers more than a language for programmers.
Mac
Yea I figured they would have all that by now. But we only own 4.0 and that means we have to pay more money to buy those critical features, or we can use php for free.microthick wrote: We use CF 4.5 and CF MX at work.
You can create functions by making your own CF tags (even ones in Java).
You can make a 2D array going <cfset myArray = ArrayNew(2)> or a 3D array going <cfset myArray = ArrayNew(3)>.
You can nest loops in two ways:
<cfloop ... loop attributes>
<cfloop ... more loop attributes>
</cfloop>
</cfloop>
or
<cfoutput query="yourquery">
<cfloop>
</cfloop>
</cfquery>
At my work place, I'm the young'un and while I can program in C++, Java and a few other languages, my co-workers can't or just have forgot. So, they stick to an easy scripting language like ColdFusion.
It does what we need to do (we program document management systems, cms, bug tracking software, intranet portals, etc. for our company's intranet).