I'm going to echo a few things already said here, mostly by jeffa, so forgive me. :-)
I am rather sad to admit that I have written more lines in ColdFusion Markup Language (CFML) than in Perl. Each have their strengths and disadvantages, and it's important (as has been mentioned) not to "defend" Perl (nor, for that matter, to "attack" me^H^HColdFusion) but to realize that each technology has it's strengths and weaknesses.
Alongside the development of three intranets and a handful of e-commerce sites in ColdFusion, I was coding up barchart generators and webserver logfile parsers in Perl. I really got a firsthand look (always the best) at the two languages and how they butt up against each other. ColdFusion is incredibly simple to learn and deploy, and really is the epitomy of Web RAD (Rapid Application Development). Take this simple example:
<cfquery name="ProductList" database="#DSN#"> SELECT Name, Description, Price FROM Products ORDER BY Name </cfquery> <table border="0"> <tr> <th align="left">Name</th> <th align="left">Price</th> </tr> <cfloop query="ProductList"> <tr> <td>#Name#</td> <td>#DollarFormat(Price)#</td> </tr> <tr> <td colspan="2">#Description#</td> </tr> </cfloop> </table>
It really doesn't get any easier than that. At the time, developing for a Windows platform, the only other option was really ASP with VBScript. PHP hadn't arrived yet, DBD::ODBC was still in it's infancy, and we needed a fairly robust, easy to learn and use solution. Enter the Dragon, as they say. It also had the advantage of being portable to Solaris Unix (to contradict an earlier poster, CF is cross-platform, albiet not nearly at the level that Perl is).
Backend programming wasn't really a problem (again, to contradict an earlier poster) because ColdFusion came with a scheduler that could be used to run pre-written scripts and specific intervals and times. It has a decent collection of functions for any data type you can imagine (especially dates and times, let me tell you) and could even perform regexps without too much of a hassle. Not only that, but it came with a binary file search engine (PDFs, Word docs, spreadsheets) that was simple to setup and even easier to use. How can you lose? ;-)
I'll tell ya. CF's worst failing points are where Perl steps in and whoops butt:
Knowing what I know now about Perl, Apache, DBI and friends, I probably would have never put myself through the hell that I went through if I could have avoided it. <flame retardant>I actually enjoy programming in Perl. I really didn't in CFML. Perl is just a "better" language.</flame retardant>
Hope this helps to clarify things a little more, and hopefully my incessant rambling didn't put you to sleep...
Alakaboo
In reply to RE: Cold Fusion
by mwp
in thread Cold Fusion
by Mork29
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |