Exforsys
+ Reply to Thread
Results 1 to 5 of 5

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

  1. #1
    xtxmedia 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.


  2. #2
    strantheman 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.


  3. #3
    moonlight is offline Banned Array
    Join Date
    Jul 2008
    Answers
    27
    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


  4. #4
    Nensi is offline Junior Member Array
    Join Date
    Jun 2010
    Answers
    1
    it seems good to me and I hope you will keep up the good work in future as well


  5. #5
    goodmark is offline Junior Member Array
    Join Date
    Apr 2012
    Answers
    15
    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



Latest Article

Network Security Risk Assessment and Measurement

Read More...