Announcement

Collapse
No announcement yet.

ColdFusion....?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ColdFusion....?

    Anyone ever worked with coldfusion?

  • #2
    php is superior .

    Comment


    • #3
      What is it? I've heard of it before but dont know much about it.
      website: joe.pcfx.cc
      forums: pcfx.cc
      gallery: here

      Comment


      • #4
        A platform designed for database site building by MacroMedia is what I am getting out of it. I don't know to much about it either. But I found this AnandTech and wondered if this was like the elite server software setup. I saw some pictures Anand posted on his site showing his server rigs. It looked like a hosting company. What I would like to know is what software they are talking about for the Content Management. The CMS must be elite I would suppose. I always thought that when speaking of ColdFusion you were speaking about a windows environement backend type software. But from what I gather ColdFusion runs on Apache/Linux also. Dunno, that's why I posted.

        The numbers mentioned are astounding.
        Last edited by Hooper; Sat 15 Dec '01, 10:19pm.

        Comment


        • #5
          actually allaire came out with it years ago.. but Macromedia bought Allaire last year so yeah..

          Comment


          • #6
            ColdFusion System Requirements
            ColdFusion v4.5 runs on the following platforms:

            "Windows (NT, 98, or 95)"
            "Solaris (Enterprise edition only)"
            "Linux"
            This section describes system requirements for each platform.

            Windows (NT, 98, or 95)
            The minimum requirements needed to install and run ColdFusion Server on Windows depend on which edition you install, Enterprise, Professional, or Express.

            Note If you plan to use the ClusterCATS software that is included with ColdFusion to cluster your NT servers, see "Windows NT system requirements for ClusterCATS Server". The ClusterCATS system requirements may impact your overall environment requirements.



            ColdFusion Server 4.5 Enterprise Edition for Windows
            To install and use ColdFusion Server 4.5 Enterprise edition on Windows, your system must meet the following minimum requirements:

            Windows NT Server v 4.0 with Service Pack 4
            Intel Pentium or higher
            64 MB of RAM (128 recommended)
            60 MB of free disk space
            A World Wide Web server that supports the NSAPI, ISAPI, or WSAPI application programming interfaces (APIs). Specific Web servers that work with ColdFusion on the Windows platform include:
            Internet Information Server v4.0 or greater
            Netscape Enterprise Server v3.51 or greater
            Apache Web Server v1.3.6 or greater
            Common Gateway Interface (CGI)
            A CD-ROM drive
            ColdFusion Server 4.5 Professional Edition for Windows
            To install and use ColdFusion Server 4.5 Professional edition on Windows, your system must meet the following minimum requirements:

            Windows 95/98 or Windows NT Server v 4.0 with Service Pack 4
            Intel Pentium or higher
            32 MB of RAM (128 recommended)
            50 MB of free disk space
            A World Wide Web server that supports the NSAPI, ISAPI, or WSAPI application programming interfaces (APIs). Specific Web servers that work with ColdFusion on the Windows platform include:
            Internet Information Server v4.0 or greater
            Netscape Enterprise Server v3.51 or greater
            Apache Web Server v1.3.6 or greater
            Microsoft Personal Web Server (PWS)
            WebSite Server API (WSAPI)
            Common Gateway Interface (CGI)
            A CD-ROM drive

            ColdFusion Server 4.5 Express Edition for Windows
            To install and use ColdFusion Server 4.5 Express edition on Windows, your system must meet the following minimum requirements:

            Windows 95/98 or Windows NT Server v 4.0 with Service Pack 4
            Intel Pentium or higher
            32 MB of RAM (64 recommended)
            25 MB of free disk space
            A World Wide Web server that supports the NSAPI, ISAPI, or WSAPI application programming interfaces (APIs). Specific Web servers that work with ColdFusion on the Windows platform include:
            Internet Information Server v4.0 or greater
            Netscape Enterprise Server v3.51 or greater
            Apache Web Server v1.3.6 or greater
            Microsoft Personal Web Server (PWS)
            WebSite Server API (WSAPI)
            Common Gateway Interface (CGI)
            A CD-ROM drive

            Solaris (Enterprise edition only)
            To install and use ColdFusion on Solaris, your system must meet the following minimum requirements:

            Solaris v2.5.1 or greater running on a SPARC workstation
            128 MB or RAM
            120 MB of free disk space for a full install
            Specific Web servers that work with ColdFusion on the Solaris platform include:
            Netscape Fast Track/Enterprise Server versions 2.01 or 3.0, 3.51
            Apache Web Server versions v1.3.6 or greater
            Common Gateway Interface (CGI)
            A CD-ROM drive
            Note If you plan to use the ClusterCATS software that is included with ColdFusion to cluster your Solaris servers, see "Sun Solaris system requirements for ClusterCATS Server". The ClusterCATS system requirements may impact your overall environment requirements.



            Linux
            To install and use ColdFusion Server 4.5 Express, Professional, or Enterprise edition on Linux, your system must meet the following minimum requirements:

            RedHat operating system v6.0 or 6.1
            (with glibc v2.1, gcc/egcs libstdc++ v2.9, and v2.2 kernel)

            Intel Pentium 200 Mhz or greater
            64 MB of RAM (128 MB recommended)
            50 MB of free disk space
            Specific Web servers that work with ColdFusion on the Linux platform include:
            Apache Web Server versions v1.3.6 or greater
            A CD-ROM drive
            You're my Prince of Peace
            And I will live my life for You

            Comment


            • #7
              I wouldn't say PHP is better....

              ColdFusion has been out for a while and as mentioned above put out by Allaire. Coldfusion (CF) is great it is used for the same things that ASP, JSP, PHP, yaday, yaday, yaday, are used for.

              As far as PHP being better, I dont think so! The one reson many will say PHP or ASP are better is because it's FREE! but you can accomplish all the same results with any platform.

              CF is nice to use and easy to learn. The Down side of CF is the Price other than that it's a great application and used throughoput the internet/intranets today. I have CF Studio an app to create the CFM pages it cost me 2 years ago $395.00, The server version cost much more. Hosting a CF site cost a little more as well. But depending on what you want to use it for, I like the product and it has a big community out there for suppport, and add-on's. Good luck.

              Here is an Quick example of the difference between PHP and Coldfusion.



              PHP Code for a simple query

              <?php

              // Connect to the database server
              $dbcnx = @mysql_connect("http://www.anyone.com", "mysql", "mysql");
              if (!$dbcnx) {

              echo( "Unable to connect to the " .
              "database server at this time." );
              exit();
              }

              // Select the jokes database
              if (! @mysql_select_db("mydb") ) {
              echo( "Unable to locate the mydb " .
              "database at this time." );

              exit();
              }
              ?>

              Here is the output for the database:<br>

              <?php


              $result = @mysql_query("SELECT NewsCopy FROM SiteNews");
              if (!$result) {

              echo("Error performing query: " . mysql_error() .");
              exit();
              }
              // Display the text of each joke in a paragraph
              while ( $row = mysql_fetch_array($result) ) {
              echo("<p>" . $row["Newscopy"] . "</p>");
              }

              ?>


              Here is Coldfusion Code for a simple query
              <cfquery name="myquery" datasource="mydatasource" dbtype="ODBC">
              SELECT * FROM MY DB
              </cfquery>

              <cfoutput query="myquery">#mydbinfo here#</cfoutput>
              Louis| Techieville.com

              Comment


              • #8
                Ok. I see, It's a programming language. So then you would have to have a server that had CF installed on it to use it. Question is, can it be installed like php? If there were an installer and you had root access, you could then set your server up to run this language just as you would PHP?

                Comment


                • #9
                  Re: I wouldn't say PHP is better....

                  Originally posted by louisl
                  Here is an Quick example of the difference between PHP and Coldfusion.
                  Louis that is not a valid comparison since you add a lot of PHP code that is either unnecessary or exceedingly complex in an attempt to 'prove' coding CF is shorter/easier/etc. than PHP.

                  All of the ‘extra’ code in PHP is simply ‘good form’. Telling nicely that you are unable to connect to MySQL is good, but certainly not required to perform the example here. This is not in CF, why? I’ve used CF before and you will get a nice fat ugly error just like PHP if the DB server does not exist.

                  Couple things:
                  Code:
                  if (!$dbcnx) { 
                  
                  echo( "Unable to connect to the " . 
                  "database server at this time." ); 
                  exit(); 
                  }
                  Unnecessary. The first line should be “$dbcnx = mysql_connect("http://www.anyone.com", "mysql", "mysql");”

                  Code:
                  // Select the jokes database 
                  if (! @mysql_select_db("mydb") ) { 
                  echo( "Unable to locate the mydb " . 
                  "database at this time." ); 
                  
                  exit(); 
                  }
                  Also unnecessary. If you simply set your login for MySQL to have the default database of ‘mydb’ then you do not have to perform this step.

                  Code:
                  if (!$result) { 
                  
                  echo("Error performing query: " . mysql_error() ."); 
                  exit(); 
                  }
                  Again, extra code (but good form). So, a valid comparison could be:
                  PHP:
                  PHP Code:
                  <?php
                  $dbcnx 
                  mysql_connect("http://www.anyone.com""mysql""mysql");
                  $result mysql_query("SELECT NewsCopy FROM SiteNews"); 
                   
                  // Display the text of each joke in a paragraph 
                  while ( $row mysql_fetch_array($result) ) { 
                  echo(
                  "<p>" $row["Newscopy"] . "</p>"); 


                  ?>
                  CF:
                  Set up the datasource in CF Admin

                  Code:
                  <cfquery name="myquery" datasource="mydatasource" dbtype="ODBC"> 
                  SELECT * FROM MY DB 
                  </cfquery> 
                  
                  <cfoutput query="myquery">#mydbinfo here#</cfoutput>
                  If you’re going to try and pull something like this, at least get it right.
                  Matt
                  Sybase DBA / PHP fanatic
                  Sybase v. MySQL v. Oracle | Why I don't like MySQL | Download Sybase TODAY! | Visit DBForums.com!

                  Comment


                  • #10
                    P.S. I’m not trying to say CF is bad. I like some of the session and memory management capabilities of CF (partly due to the fact that it runs on multithreaded webservers instead of the junk multi-process apache) which PHP lacks (or is based on files which isn’t as nice as shared memory). However, I’ve worked in two CF shops which have had nothing but problems with CF – the CF processes would need to be restarted at least once a week, if not more. And no, these are not trivial sites – one receives upwards of 10 million impressions per day. I also dislike the tag-based nature of CF. I prefer PHP, C++, Perl, etc style which basically means you have PHP code which outputs HTML, not HTML which has some tags stuck in it. I think CF’s style also makes it a lot harder to implement templates like vB – I haven’t the first clue how it would work in CF (although I tried for an application I wrote, I eventually had to split up the templates into separate files and then have CF include them based upon a DB query).

                    There are good and bad reasons for all languages, pick the one you like and has the features you need.
                    Matt
                    Sybase DBA / PHP fanatic
                    Sybase v. MySQL v. Oracle | Why I don't like MySQL | Download Sybase TODAY! | Visit DBForums.com!

                    Comment


                    • #11
                      Well,

                      Hi Matt. How are you?

                      Comment


                      • #12
                        Ok. I see, It's a programming language.
                        No it's a application server:
                        http://forums.cpfc.org/

                        Comment


                        • #13
                          Not bad. How are you?

                          And yes, CF is just like PHP, ASP, etc. (well you can do pretty much the same basic things with it). It has better memory management and application variables (pretty neat-o) but lacks things like classes and functions. In order to create a function (and something like a class), you have to make a 'custom tag' and place it in a special part of the server (depending on your host they may have to do this for you which could have some downtime while you wait for them to implement it).

                          CF is tag based, like HTML. If you wanted to do a ‘get profile’ page like vB, it could be something like this:
                          Code:
                          <HTML>
                            <HEAD> <TITLE> Viewing profile for <cfoutput> #username </cfoutput> </TITLE>
                            </HEAD>
                            <BODY>
                          
                          	<cfoutput> Profile for #username </cfoutput>
                          <table>
                            <CFQUERY name="get_profile" datasource="vB"> 
                          SELECT * FROM user WHERE username = #username#
                          </cfquery> 
                          
                          <cfoutput query="get_profile"><tr><td>username</td><td>#get_profile.username#</td></tr>
                          <tr><td>member since</td><td>#get_profile.member_since#</td></tr>
                          </cfoutput>
                          </table>
                          An example of a single tag could be:
                          Code:
                          <!-- open a file -->
                          <cffile name="blah">
                          <!-- do stuff with it.. -->
                          Last edited by MattR; Mon 17 Dec '01, 5:44am.
                          Matt
                          Sybase DBA / PHP fanatic
                          Sybase v. MySQL v. Oracle | Why I don't like MySQL | Download Sybase TODAY! | Visit DBForums.com!

                          Comment


                          • #14
                            Pretty good. I haven't seen a post by you in a while. Glad to see you are around and kicking.

                            Comment


                            • #15
                              Originally posted by Dave#


                              No it's a application server:
                              Thought so... Sorry, I get confused easily.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X