- It's an ACTUAL programming language. In other words, I can carry more over from knowing PHP than I can with ColdFusion, so if I ever need to code REAL web apps with Python/Django/Javascript, I can.
- It is object oriented. There is nothing cleaner and neater than OO code. Have stock libraries for applications is excellent to stream line a site.
- It's secure. Because of it's OO abilities, (namely bound parameters and results) SQL injection attacks are a thing of the past.
- It's efficient. It doesn't take many resources to run and it's a breeze to install.
- It's free. We don't have the money to update ColdFusion with every release.
- Support is GREAT in PHP. Most of the code you need is written for you, anyway.
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Coldfusion Vs. Php
#41
Posted 18 September 2009 - 04:27 AM
#42
Posted 10 January 2010 - 01:09 AM
What sets out Cold Fusion from PHP is its readable syntax. A well written programme should be fairly easy to read years after it was written. With a combination of comments, good variable names, and an understandable syntax, the maintenance of the programme will be much quicker with issues easier to spot. The problem with these abbreviated languages is that it can take you some time to even read the few lines that you have just written, not mind trying to figure them out years later. For this reason, Cold Fusion has the edge over PHP.
The problem with Cold Fusion though, is that since it is interpreted it is deadly slow. I am used to compiled programming languages like Cobol, which can process far far greater volumes of data that would only be a pipe dream for Cold Fusion. It was for this reason, I was looking on this website to see if PHP could process vast quantities of information quicker than Cold Fusion? If it could, I was going to write some core routines in PHP (as it is one of the few allowable languages that can be used on the server that space is rented on).
-reply by Gary of Anglo Sunshine
#43
Posted 28 February 2010 - 10:32 PM
Coldfusion is the way to go. The reason being is Adobe is a great company and has really amped up its products in the last couple of years. RIA development is where it's at. Think about it... Everyone loves TVs today that look great and are bigger, better, and faster. Adobe Flex and Flash provide all those great things. Sure you can use PHP and ASP with Flex (among many others)... But since ColdFusion is "their" product... They easily integrate it with Adobe Flex. Plus you need so much less code to get the job done with CF. And the CF administrator shows you everything you need to know about the inner workings of your server and memory in real time. These other products like PHP and ASP charge extra for programs like that (as well as charging for additional functionalities that CF includes). Silverlight just can't keep up and Flash is on 99% of computers.
plus Adobe now offers CF for FREE for academics! a win win so you won't have to pay.
I do recommend teaching computer students EVERY language. Give them a dose of each one so they have experience with it. I know some PHP and have used ASP in the past... But I prefer CF and have been using it for years and years.
PS I think its funny when people say CF is slow... It's only as slow and limited as the web developer makes it. It's all about architecture.
-Matt from Boston
-reply by Matt#44
Posted 03 April 2010 - 02:43 PM
If you want to go PHP, you might still be able to keep some of theGood things in ColdFusion... Check out Prado, it supposedly brings"tag-based" to PHP.
I have no opinion on the question above. The hot thing in the PHP world now seems to be framewords. Like modx... Or whatever (this one doesnt seem too bad).
AsFor me, I am getting tired of always stumbling into "low level"Problems with PHP (where did PHP put the temporary file that my userJust uploaded... Etc.) and am having trouble organizing my code on myOwn (although I'm doing better then in the past), and framewords turnMe off (do I really have to learn all these weird functions now?), soI'm considering moving to ColdFusion. It looks really nice and wellOrganized, the way it should. So I'm not giving any verdict now, butI'll try it out :)
PS: if PHP is cheaper but lessProductive, then the college will be saving money on the software butSpending more on development costs. A stupid decision I would say.Unless they can chain you to a chair and make you work for free. Note,I said "IF". It also depends on the assignement.
-reply by Rolfen
#45
Posted 09 May 2010 - 09:14 AM
@kvarnerexpress
I have not used ColdFusion so I can't really tell much about it, but you did mention about being able to interface with Java, which seems to be a huge plus.
If I were to intentionally put forth arguments against PHP to get a key decision maker to go against it, I would probably put forth the fact that most content management systems and blogging engines based on PHP tend to use the CPU heavily. It takes a significant amount of caching to bring the CPU load down to manage large amounts of traffic.
However, from a software engineering perspective, you do have to consider both the advantages and the disadvantages of a programming language and platform before you form your opinion of what would be best for you to do.
Perhaps from a career perspective, continuing with ColdFusion may seem like a good choice because you can list a straight x years of experience on the technology, but if you were to switch to PHP development that would help you in applying for positions available to both programming language.
#46 Guest_Sebastian_*
Posted 27 July 2010 - 01:33 PM
iGuest, on 10 July 2008 - 03:49 PM, said:
Coldfusion Vs. Php
Many of these posts contain a great amount of incorrect information regarding Coldfusion.
In my experience, 90% of people who dislike Coldfusion have either no, or very little experience with it, and the experience they have is often 5+ years old.
I think Coldfusion gets a bad reputation because it is indeed so easy to learn, and because of this, theres a lot of bad code out there. However, comparing noob-level CF to more advanced PHP is certainly not a fair comparison. Coldfusion, written by competent developers, is both clean and highly modular.
Also, one thing people mention is that if you know C/C++, learning PHP is easier than CF. This statement shows the ignorance of most people regarding coldfusion. 90% of coldfusion can written in a C-style manner, called 'cfscript'.
I think there are certainly benefits to each. PHP is free, and more widely supported, and theres a lot of free stuff written in it. CF is backed by a larger company and can access any Java libraries at will.
Personally, I prefer Coldfusion. I like the language more (seems cleaner), and the rapid development factor makes a difference -- I can write half the code to do the same things in PHP. There are also a lot of built in, officially supported features that are very nice, including automatic PDF creation from HTML content (though, I'm sure many of the built-in features of CF have been created by someone for php).
As for high-level performance issues, I can't really comment, as I have no experience in web apps with huge amounts of traffic (hey, I'm not doin the sales, lol), but I've heard the rumors regarding CF's performance as well. I have also heard that CF8, the latest version greatly increased enterprise-level performance, and there are plenty of bigger sites out there running it.
It all comes down to whats right for you. If someones debating which to learn, I say learn both. Syntax is syntax, a good programmer can adapt to any situation.
-reply by absurdparadox
I totally agree with you! It seems most of the people praising PHP never tried ColdFusion. ColdFusion is definitely easy to learn and with <cfscript> there is no excuse for all the people here saying, PHP is easier to learn when you're already knowing a language like C++. Though I prefer the tag based syntax, because in my eyes it's easier to read. Want an example? Here you have:
PHP:
include 'dbconnection.php';
$sql = 'SELECT firstName, '.
' lastName, '.
' birthday '.
'FROM users '.
'WHERE ID = '.int($userID);
$userData = mysql_query($sql);
while($row = mysql_fetch_assoc($userData)) {
var_dump($row);
}
ColdFusion:
<cfquery name="userData" datasource="db">
SELECT firstName,
lastName,
birthday
FROM users
WHERE ID = <cfqueryparam cfsqltype="cf_sql_integer" value="#userID#">
</cfquery>
<cfdump var="#userData#">
In this little example the code is already some lines smaller and the output is way better to read because of <cfdump>. At http://www.mollerus...._over_phps.html there are some more advantages listed (even when I'm not agreeing with all of them).
iGuest, on 18 September 2009 - 04:27 AM, said:
- It's an ACTUAL programming language. In other words, I can carry more over from knowing PHP than I can with ColdFusion, so if I ever need to code REAL web apps with Python/Django/Javascript, I can.
- It is object oriented. There is nothing cleaner and neater than OO code. Have stock libraries for applications is excellent to stream line a site.
- It's secure. Because of it's OO abilities, (namely bound parameters and results) SQL injection attacks are a thing of the past.
- It's efficient. It doesn't take many resources to run and it's a breeze to install.
- It's free. We don't have the money to update ColdFusion with every release.
- Support is GREAT in PHP. Most of the code you need is written for you, anyway.
Obviously you didn't really try out the functionality of CF. ColdFusion is a programming language like PHP, just the syntax is different (if not using <cfscript>). Also ColdFusion has object orientation! There the classes are just called "components". But just like in PHP you can mix OO with procedural programming, it's up to you. Security is also not an advantage of PHP, because both are offering ways to avoid SQL injections or other hacking techniques. Therefore <cfqueryparam> is used in CF. CF is also easy to install and when using Railo it's also free. Adobe even offers scientific licenses now (as somebody already mentioned before), which are also free. And as long as CF is not used for commercial purposes you could always use the free developer edition.
One bigger downside of CF is the smaller community (especially in countries outside the States like in Germany where I live). Though there are also several good sources for help and code snippets out there.
As for the argument, that for growing businesses you can't meet the demands I have to say, that I merely saw the bigger companies having sites created with CF, while smaller ones (probably due to the price) are mostly using other techniques.
Also note, that PHP 6 is already in development for many years and still has to implement some things like full Unicode compliance, which CF already has and some suggestions like named parameters are simply refused by the developers (see http://www.php.net/~...ting-notes.html). Adobe on the other side is updating their product every one or two years with the downside, that you have to pay for upgrades. But of course you're not forced to always upgrade your server to the newest version.
Greetings from Germany
Sebastian
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














