
- Forum
- Programming Talk
- Coldfusion
- PHP vs Coldfusion?
PHP vs Coldfusion?
This is a discussion on PHP vs Coldfusion? within the Coldfusion forums, part of the Programming Talk category; Which would you choose if you where creating a social network?Why would you choose it?Yeah, I know PHP and Coldfusion ...
-
01-31-2008, 05:42 PM #1xtxmedia Guest
PHP vs Coldfusion?
Which would you choose if you where creating a social network?Why would you choose it?Yeah, I know PHP and Coldfusion I am a senior php and cf developer I just really cant tell the difference in the two, except CF cost.
-
02-05-2008, 08:07 AM #2strantheman Guest
The only reason to use CF is because it is a lot faster if you've never programmed in one of these languages before. All of the commands are just a lot simpler to use. That doesn't mean they are any less powerful; they are just as powerful as anything in PHP, its just much more proprietary. CF now has a lot of its commands available in CFSCRIPT form, so much of the old way of doing CF is going by the wayside where everything was tag based.Still, most of CF is tag based. A query to a database would look like this:select * from tblImageswhereas in PHP it'd be a database connect command followed by some mysql function calls:$datasource = mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database");@mysql_select_db("$DBName") or die("Unable to select database $DBName");$sqlquery ="select * from tblImages";$XXX_result=mysql_query($sqlquery);$XXX_num_results=mysql_num_rows($XXX_result);Much more convoluted, but not necessarily any different than the CF method.
-
Its best to use PHP.
Reasons
Easy Learning if u know C++
OO Programing
Lot of Support
Lot of Code
Good Future
Easy integration with other database
Easily available
Easy configuration
Easy to Install
Easy to write
And
Widespread
-
it seems good to me and I hope you will keep up the good work in future as well
-
I am a little bit more familiar with PHP than I am CF. However, after reading this I definitely see an advantage of learning and understanding it for use of future coding projects.
-
Sponsored Ads

Reply With Quote





