php vs cfm

gar598

Golden Member
Mar 25, 2001
1,915
1
0
Alright, so I'm arguing why php is better than cfm: Here is my reasoning thus far:
(1) multiplatform (2) free (3) easy easy easy (4) open source with incredible documentation (5) widely used

and here are some of the pro-cfm responses I have been receiving:

"I?m not going to bash PHP because I think it has its place in the web development world but I?m puzzled by your statements.

1. CF is multiplatform, it?ll run on Windows, Unix, and Linux and on IIS or Apache.

2. CF isn?t free, however, you get what you pay for and the cost is quickly recouped when you consider the third party add-ons that are necessary to purchase for PHP but are included for free in CF. Development time is almost always shorter for CF. Look up some code on caching PHP queries and then on caching CF queries and you?ll quickly see what I?m talking about, there are numerous other examples such as sending email.

3. CF isn?t easy?

4. Open source, please, are you going to crack open the source code to fix problems when they arise? No thanks, I?d rather call the support line and talk to the people that actually developed the product.

5. CF is widely used."

and one more:

"(1) multiplatform.... If all of your servers are windows based, why do you care about other platforms, but anyway, CF runs on Linux, Windows, and Unix.....

(2) free... this is a good reason for a student or small company to use it. But anyway, I don't dislike Open Source I am a JAVA developer myself.

(3) easy easy easy... matter of opinion. I'm not a CF developer but I do think its easy to pickup (most scripting languages are). Also, while you and I might not mind editing config files by text editor, not having GUI administration etc... others see it as difficult.

(4) open source with incredible documentation.... I think Cf is well documented as well, also to some big business, OpenSource means the opposit of what you and I think. Many see it as buggy and not well supported. If I have a problem with PHP I know how to find a fix in the forums etc., if I can't figure it out on my own. To many however this is unacceptable, they never want problems, and if they do encounter them they want prompt support...

(5) widely used... CF is widely used as well but I would think PHP has greater base, it's free. But just because everybody else is doing it doesn't mean it's what we should do too.

Again I am primarily a JAVA developer, I for one like JSP but I wouldn't go telling Slashdot why they should use it instead of PHP or perl."

Help me out here :)
 

Adul

Elite Member
Oct 9, 1999
32,999
44
91
danny.tangtam.com
well if you askj jason he would argue for CFM :p. Cold fusion has it strengths and weakeness. What items is he talking about purchasing?
 

gar598

Golden Member
Mar 25, 2001
1,915
1
0
this would probably be for web applications for some 15-21k users....
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
I'm a CF guy - there's nothing that beats it in terms of ease to pickup. Syntax isn't even an issue - it's all tag based. Even the built-in functions. If you can learn HTML, you can learn CF.

PHP has it beat in every other category. CF would be much more widely used if it didn't cost so damn much for the server. Anyway, there's simply no way PHP is easier though.
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
Sorry, but I read it wrongly. I thought you were supporting cfm for being mp and php not so.....doesn't help with the layout of your post :p
 

gar598

Golden Member
Mar 25, 2001
1,915
1
0
Originally posted by: Snapster
Sorry, but I read it wrongly. I thought you were supporting cfm for being mp and php not so.....doesn't help with the layout of your post :p

I'm not an artist, what can I say.... :)
 

nd

Golden Member
Oct 9, 1999
1,690
0
0
A relevant link: http://php.weblogs.com/php_vs_cold_fusion

Nobody's mentioned performance?

Of course the best way to measure performance is to test it for YOUR specific application, as no benchmark can conclusively say which is faster for all situations. There was a benchmark that Zdnet/eWeek did that yielded the following results:

* PHP pumped out about 47 pages/second
* Microsoft ASP pumped out about 43 pages/second
* Allaire ColdFusion pumped out about 29 pages/second
* Sun Java JSP pumped out about 13 pages/second
 

GagHalfrunt

Lifer
Apr 19, 2001
25,284
1,997
126
Originally posted by: rh71
I'm a CF guy - there's nothing that beats it in terms of ease to pickup. Syntax isn't even an issue - it's all tag based. Even the built-in functions. If you can learn HTML, you can learn CF.

PHP has it beat in every other category. CF would be much more widely used if it didn't cost so damn much for the server. Anyway, there's simply no way PHP is easier though.


Agreed, CF is halfway between HTML and a real scripting language. It's way easier to pick up than PHP is. PHP is easy when compared to Perl, but it's still programming.

That's about the only advantage for CF. PHP is free, fass, efficient, widely used, well supported, documented beyond belief and has a huge array of pre-written scripts that are easily adapted to almost any situation.
 

JackDawkins

Senior member
Aug 15, 2003
254
0
0
I like php a lot but I've never used cold fusion. PHP is free and does everything I want, it's speedy and multiplatform, so the chances of me going to cold fusion are about zero. What I have seen of cold fusion though, I like, and if it's tag based, then it's probably very easy to learn.

If I could find a reseller server running cold fusion at the same cost as what I get for my reseller server running php, I wouldn't mind giving it a try. I'd have to look at documentation and code resources available for cold fusion though; there's lots of stuff out there for php, which makes life very easy.
 

nd

Golden Member
Oct 9, 1999
1,690
0
0
Originally posted by: rh71
I'm a CF guy - there's nothing that beats it in terms of ease to pickup. Syntax isn't even an issue - it's all tag based. Even the built-in functions. If you can learn HTML, you can learn CF.

PHP has it beat in every other category. CF would be much more widely used if it didn't cost so damn much for the server. Anyway, there's simply no way PHP is easier though.
Admittedly it seems like CF is easier to pickup for simple things, but wouldn't PHP be easier for the more sophisticated applications though? Since it's a real scripting language...
 

GagHalfrunt

Lifer
Apr 19, 2001
25,284
1,997
126
Originally posted by: nd
Originally posted by: rh71
I'm a CF guy - there's nothing that beats it in terms of ease to pickup. Syntax isn't even an issue - it's all tag based. Even the built-in functions. If you can learn HTML, you can learn CF.

PHP has it beat in every other category. CF would be much more widely used if it didn't cost so damn much for the server. Anyway, there's simply no way PHP is easier though.
Admittedly it seems like CF is easier to pickup for simple things, but wouldn't PHP be easier for the more sophisticated applications though? Since it's a real scripting language...

I've always thought so. CF is very easy to pick up, especially for newcomers. Just like HTML though, the simplicity comes with some serious limitations. You wind up spending a lot of time working around things it doesn't do well.

 

iotone

Senior member
Dec 1, 2000
946
0
0
i've been programming in CF for about 6 months now... previous to that, i had been programming in php for another company... IMHO, i find php much more powerful and geared towards those who like to those of us who like to program in an OOP kind of paradigm (i've always seen web programming as more functional than OOP)... CF, to me, is very much functional based (altho CF does have some OOP functionality now)... which do i like better?? i think it depends on what you're programming... CF definitely has the functions to make what i'm doing now much much much easier than if i had to do it in php... altho, i still like php for its scalability and power.... so, like most things, i think you just have to pick the appropriate language for your cause...
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
Originally posted by: JackDawkins
If I could find a reseller server running cold fusion at the same cost as what I get for my reseller server running php, I wouldn't mind giving it a try. I'd have to look at documentation and code resources available for cold fusion though; there's lots of stuff out there for php, which makes life very easy.
readyhosting.com - best value for CF (and they support PHP4 also) anywhere. Don't depend on them to run your business... more for playing around. Great value for $99/yr (CF 4.5). If you want CFMX, that'll be a bit more though. rh71.com runs on them.
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
Originally posted by: GagHalfrunt
<blockquote>Quote
Originally posted by: nd
<blockquote>Quote
Originally posted by: rh71
I'm a CF guy - there's nothing that beats it in terms of ease to pickup. Syntax isn't even an issue - it's all tag based. Even the built-in functions. If you can learn HTML, you can learn CF.

PHP has it beat in every other category. CF would be much more widely used if it didn't cost so damn much for the server. Anyway, there's simply no way PHP is easier though.
Admittedly it seems like CF is easier to pickup for simple things, but wouldn't PHP be easier for the more sophisticated applications though? Since it's a real scripting language...

I've always thought so. CF is very easy to pick up, especially for newcomers. Just like HTML though, the simplicity comes with some serious limitations. You wind up spending a lot of time working around things it doesn't do well.
<CFSCRIPT> not good enough ? I wonder if CFMX has made any strides in performance improvement. I know CFCs also play a big part so it's not as restrictive any longer.

The links such as http://php.weblogs.com/php_vs_cold_fusion provided arguments for CF before Macromedia took over or even developed CFMX.