|
---|
Replies are listed 'Best First'. | |
---|---|
(Ovid) RE: Cold Fusion
by Ovid (Cardinal) on Sep 03, 2000 at 13:15 UTC | |
Be very careful here. You'll find yourself in a trap that many get into. You want to defend Perl, which is fine, but don't do so to the point of failing to acknowledge that other technologies have merit. I have a friend who hates the book "Advanced Perl Programming" because the author committed the heresy of pointing out Perl's strength and weaknesses versus other languages. Don't get me wrong. I absolutely love Perl! But to blindly follow a path simply because it's the path you know is a dangerous road to go down. Many, many programmers that I have spoken with have defended their preferred language vehemently, only to later admit that it's the only language that they know well. Perhaps what you may consider is not to compare Perl to ColdFusion, but to simply state why you love Perl and let it stand on its own merits.
Cheers, | [reply] |
RE: Cold Fusion
by athomason (Curate) on Sep 03, 2000 at 11:04 UTC | |
You can find great rebuttals to typical Perl criticisms at Beginning Perl: Ten Perl Myths on perl.com. Explain Perl well to your friend, and you may well convert him :). | [reply] |
(jeffa) RE: Cold Fusion
by jeffa (Bishop) on Sep 03, 2000 at 19:57 UTC | |
Enter me. Cold fusion strengths: But when it comes to flexibility and power - Cold Fusion will paint you in a corner. It does make Java applets on the fly though (/me ducks behind wall of invocation). Sure Cold Fusion is easy - but everybody should know by now that nothing comes easy - there is always a price to pay. How long will it really last? What last feeping creaturitist will be the straw that breaks the camel's back? (err, no pun intended on that one) That was a little over a year ago. Since then I have been learning Perl, PerlDBI, Apache, and mod_perl - and I don't plan on going back. I'd say that I have read about 25 times the amount of material on these subjects that I have read on Cold Fusion. Some would consider that a weakness on Perl, but not me - no pain, no gain. Moral of the story - I find Cold Fusion to be a good baby step towards the enlightment that is secure and robust web programming. Nothing more, at least not with the arsenal that Perl has to offer. Jeff | [reply] |
RE: Cold Fusion
by KM (Priest) on Sep 03, 2000 at 16:36 UTC | |
But, I have some experience with CF and just let me say I would rather have my right eyeball scooped out with a spoon and the void in my skull filled with rat crap and lemon juice while my genitals are slammed in a car door, than use Cold Fusion (instead of Perl).
Cheers, | [reply] |
RE: Cold Fusion
by mwp (Hermit) on Sep 04, 2000 at 13:25 UTC | |
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:
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 | [reply] [d/l] [select] |
by hacker_j99 (Beadle) on Nov 20, 2002 at 16:06 UTC | |
I am looking for some sort of benchmark. My roommate all the time tries to convince me to switch to CF and abandon the old perl, but I realize that perl has more flexablity and is robust for non-web applications.(plus has a large support base, shout out to perlmonks) www.cfmtools.com A couple of my friends say that CF is a bloated. I neither support nor deny this clam since I have little experience with CF. Is short I would apperiate it if someone who is strong in both perl and CF knowledge comparies and contrasts the two in detail. (ya I know compairing a markup language to a scripting program is like apples to hairy coding monkey) Should I add CF to my language collection? Hacker_j99 | [reply] |
by mwp (Hermit) on Jan 13, 2003 at 05:46 UTC | |
You should never shy away from adding another language to your personal repertoire. ColdFusion is bloated IMO. Didn't I say just that in the OP? :-) But if you think you have a need for it, knock your socks off! It's a fun and easy language that a lot of sites still use. But Perl is faster, more powerful, and much, much cheaper. A side by side comparison isn't really necessary. It's maybe 10-20% faster to code up a database-to-web app in CFML. Spend a few weeks coding in ColdFusion if you don't believe me. But Perl is FREE. And it's FAST. And you can do more than just database-to-web apps! That's all it boils down to. Alakaboo | [reply] |
(crazyinsomniac) RE: Cold Fusion
by crazyinsomniac (Prior) on Sep 03, 2000 at 11:48 UTC | |
Perl newby here, love it as well. That may be true, or even unrelated, but the fact remains, while there are many alternatives, Perl still runs a lot of the web(Yahoo ...).
Also, like athomason pointed out, Perl is mature. What's that mean, it means it's been here from the start, went through puberty in the jungle that is the 'net, and is now a Anyway, while Perl is wonderful, and oh so very 'sweet!'-Eric Cartman - Cold Fusion has only one thing over it's head, and it's multithreading. And if your friend points that out when you ask him 'what Cold Fusion can do that Perl can't, simply reply : "Perl can run on pretty much anything, not just Win* machines, like Cold Fusion." | [reply] |
Re: Cold Fusion
by jacques (Priest) on Jan 13, 2003 at 14:02 UTC | |
PHP is more popular than Cold Fusion mostly because PHP is free. It should be noted that every day, PHP is looking more like Perl. PHP is slowly becoming a general purpose language. You can now use it for shell scripting and GUI work. Why is this happening to PHP? Because people realize that there are major advantages to using a language that is flexible. As others have pointed out, you can use Perl for both backend and frontend development. Perl is probably the most flexible language on the planet, and it will only become more flexible in version 6. | [reply] |