Exforsys

Online Training

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 ...


Go Back   Exforsys > Programming Talk > Coldfusion

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-31-2008, 05:42 PM
Junior Member
 
Join Date: Jan 2008
Posts: 1
xtxmedia is on a distinguished road
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.
__________________
Powered by Yahoo! Answers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-05-2008, 08:07 AM
Junior Member
 
Join Date: Feb 2008
Posts: 1
strantheman is on a distinguished road
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.
__________________
Powered by Yahoo! Answers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« ColdFusion? | - »

Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
SQL Server 2005 Driver for PHP techguru PHP 0 10-09-2007 06:53 PM
Php Tutorials and ebooks cybot PHP 1 04-14-2007 03:01 AM
PHP Tutorial - Introduction rachelle PHP 0 06-02-2006 01:40 AM
Criticisms Of ColdFusion encoder Coldfusion 0 05-06-2006 08:07 PM
Making the PostgreSQL and PHP Connection techguru Unix Articles and Tutorials 0 08-27-2005 12:24 AM


All times are GMT -4. The time now is 03:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.