On Tue, Nov 20, 2001 at 03:20:20PM +0800, Riaz Sulaimi wrote:
> Hi All,
> 
>     What are the advantages of CF over PHP?


>From the server side:

Upshot to CF is that it's got a web-based configuration tool where as PHP
just gives you a flat text file to modify.  I'm of the camp that prefers the
flat text file but many would think the web interface is a blessing.

Performance wise every benchmark I've seen puts PHP ahead of CF in terms of
speed but those were all using CF 4.5.  I've never heard of a PHP server
crashing either, but it's fairly common to see posts on cf-server or cf-linux
where somebody has a hung server due to some obscure bug which may or may
not be patched.

On the programming side:

The PHP script language, in my opinion beats CFML hands down, but there is one
nice thing about CF and that is that it doesn't really allow you to write any
DB specific code, unless it's right down into the SQL.  PHP has no built
in database abstraction layer but 3rd party modules do exist.

PHP has functions, and classes, CFML doesn't have any of these.  This alone
speeds up my development time incredibly.  Sure, you can program without
either of them, which I've done plenty of in CFML but it's just not good
practice and the language (CFML) often makes you do bad things because that's
the only way to do them.

Well, thos are the big issues for me.

Justin Buist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to