Page view counter

Questions on Coldfusion

Last post 06-05-2006 6:20 PM by HotChick. 16 replies.

Sort Posts:

  • Questions on Coldfusion

    06-14-2004, 11:17 AM
    • Loading...
    • thuhue
    • Joined on 09-18-2003, 1:54 PM
    • Posts 1,630
    • Points 6,234
    Please answer the following:
    1) Why migrate from Coldfusion to ASP.NET?
    2) How's Coldfusion compared to ASP.NET?
    Thanks
    Please mark the post(s) that have helped you as "Answer"
  • Re: Questions on Coldfusion

    11-04-2004, 12:17 PM
    • Loading...
    • sammyishere
    • Joined on 09-10-2002, 2:58 PM
    • Posts 2
    • Points 10
    Its faster to develope in and quicker to learn. It can do almost anything that PHO, ASP.NET and JSP can do. In fact it CFMX is a Java application and you can also develope in JSP.
  • Re: Questions on Coldfusion

    10-27-2005, 7:50 PM
    • Loading...
    • AspSucks
    • Joined on 10-27-2005, 7:43 PM
    • Posts 1
    • Points 5
    Coldfusion is much much faster to develop in; just have a look at some comparable code snippets on these forums and you'll see that what you can do in 5 lines in CF using almost plain english can take 20 or more lines of code in ASP and its variants. Now multiply that over a project!

    Commercially I haven't found one thing that CF can't do that the others can BUT I have found lots that the others can't do EASILY that CF does in a flash... and don't even get me started on Flash integration....

    IMHO CF rocks! and every time you get asked by a client to develop something in ASP.NET you should argue the pros of CF : robust, stable, development time, development costs (time=money). In some cases they will continue to bang the ASP.NET drum, mainly because "its our corporate policy" and not for any valid coding or stability reasons

    good luck
  • Re: Questions on Coldfusion

    10-28-2005, 3:06 AM
    • Loading...
    • thuhue
    • Joined on 09-18-2003, 1:54 PM
    • Posts 1,630
    • Points 6,234

    Please kindly support what you said with links, articles, news, case studies, and/or benchmarks. Thanks much.

    Please mark the post(s) that have helped you as "Answer"
  • Re: Questions on Coldfusion

    11-03-2005, 4:27 PM
    • Loading...
    • Shazam999
    • Joined on 06-17-2003, 12:11 AM
    • Posts 34
    • Points 162
    He can't, because he can't provide you with any.

    First off, I have over seven years of ColdFusion experience.  And although it was good for it's time, .NET is simply better.  .NET is much more feature rich (async calls, REAL OO languages such as C#, strong typing, a decent IDE, pre-compilation, etc)

    I have serious doubts about the robustness.  As for scalability, objects in the session scope in CF cannot be clustered.  That really restricts how you can scale CF.

    Since version 6, CF has something called ColdFusion Components (CFCs) that is their lame implemention of OO.   No interfaces, no abstract classes, no method overloading, no constructors (!!), no event functionality and bizarre and needless variable scoping issues (among other issues) make them almost useless.

    CF7 does have something called the Event Gateway that's basically an implementation of the Observer pattern.  Big deal.  One serious drawback to it is that it runs in the same context as your CF server, which means if your CF server is down, the Event Gateway is down.  Yipee.

    Although CF is compiled _at runtime_ (i.e. when the page is first requested), there is no way for you as a developer to compile your application to check for errors at compile time, since there is no way to pre-compile a CF app.  This can significantly increase your maintenance time, since it is entirely possible for you to make and deploy changes that break during runtime.

    Although CFQUERY is nice, there's no way to have transactions work on more than one database.  That's a serious limitation that's been around since time eternal with CF and has never been addressed.  There's also no way to close (or even explicitly open) a DB connection in CF, which can be a major scalability problem.

    The biggest problem I find with CF is simply the level of developer that uses it.  Most are incredibly close-minded to the point of stupidity, which I have always found disturbing.  Trying to get some CF developers to even use consistent casing in their apps can be a chore.

    There's also the problem with CF's memory usage.  Since there's no way for you to ask the underlying Java GC to dispose of objects you create, don't be surprised to see your CF server process take up gigs of memory even with light usage.

    And, there's the IDE.  Dreamweaver is a piece of junk.   It's incredibly slow, a huge memory hog, crashes often and lacks even basic features like Intellisense.  The included help system is awful and is often incomplete and contains incorrect information.  Auto-formatting?  Forget it.
  • Re: Questions on Coldfusion

    12-06-2005, 6:14 PM
    • Loading...
    • RichWillmore
    • Joined on 12-06-2005, 10:45 PM
    • Posts 63
    • Points 280
    The effectiveness, scalability, or functionality of a project is not measured in lines of code.  Though yes it will require more lines of code in ASP.NET vs. CF the result is an elegant scalable product with clear seperation of the three tiers.  The code will be much more manageable and there will be no source code on the production server -- what a concept for those people who hardcode passwords in CFML pages.

    vr, Rich
    http://richwillmore.com
  • Re: Questions on Coldfusion

    12-16-2005, 4:11 PM
    • Loading...
    • Tom F
    • Joined on 12-16-2005, 7:46 PM
    • Posts 1
    • Points 5

    Most of the comments in this thread seem to smack of the Windows vs Unix religious wars I've seen elsewhere. Frankly, ColdFusion is much easier to code than .NET. Most of the negative comments about ColdFusion in this thread are very minor issues compared to item 1. Very minor issues.

    Despite the overriding ease in coding ColdFusion, I'm still moving to .NET (I've been a hardcore ColdFusion developer since 2.0 was released). There are a couple strong reasons:

    1. Allaire was basically a developer's company. Macromedia (and Adobe) are more designer oriented. It has made a real difference in how the product develops and how the company treats us. When we were Allaire partners, we used to get a lot of good stuff from the company and they listened a lot more to our feedback. We eventually dropped our Macromedia partnership because we weren't getting any benefit from the much more expensive membership.
    2. I think this is a corellary to item 1, but ColdFusion seems to be fading to me. You can see it by browsing Monster.com or any of the other job sites. Not much demand for ColdFusion programmers - lots of people looking for .NET.
    3. A lot of my clients are asking for .NET. It's not really a technical issue for them - mostly their corporations want to standardize and "nobody gets fired for choosing Microsoft" (their words not mine).
    4. There are a lot of very useful and powerful .NET controls. I know that ColdFusion has the Developers Exchange (or whatever Macromedia/Adobe is calling it these days). But frankly, most of the stuff there is either very specialized or very trivial.

    We'll be supporting all our many ColdFusion sites for years. But we'll probably do most of our new work in .NET.

    By the way, there is an interesting product called BlueDragon that will allow you to use both languages in the same application. We've transitioned a few of our ColdFusion clients to BlueDragon servers.

  • Re: Questions on Coldfusion

    12-16-2005, 4:52 PM
    • Loading...
    • carehart
    • Joined on 05-15-2003, 10:58 AM
    • Atlanta, GA
    • Posts 15
    • Points 72

    Fair comments, Tom. I do appreciate your pointing out BlueDragon as an alternative, just as my colleague Vince did in a previous note in this thread.

    But I do want to clarify that in that you're referring to the .NET edition of BlueDragon, someone may be confused by the reference to "BlueDragon servers". Just in case anyone might wonder, BlueDragon.NET is not a server, but instead just extends the .NET Framework (and IIS) to support processing CFML pages, natively on .NET. It does this in the way .NET is designed to be extended.

    CFM pages are handed to the aspnet_isapi.dll (just like .aspx pages), an httpHandler is added to the machine.config or web.config (just as there is one for .aspx pages), and it points to the bluedragon.dll (a 3 meg file) stored either in the GAC or the bin of a web app.

    CFML pages remain CFML, but it does indeed open tremendous doors of integration between CFML and .NET. I won't elaborate, as some may sense this is a sales pitch. It's not. It's just that there is simply no other solution for integrating CFML and .NET so seemlessly.

    The BlueDragon documentation does the best job of explaining this in greater detail, particularly the manuals, "Deploying CFML on ASP.NET Servers" and "Integrating CFML on ASP.NET Servers" (split off from the former document as of our new 6.2.1 release about to come out).  

    /charlie
  • Re: Questions on Coldfusion

    12-18-2005, 7:39 PM
    • Loading...
    • BarryTheAussie
    • Joined on 12-16-2005, 2:17 AM
    • Posts 4
    • Points 20
    if you're finding that CF is running out of "elbow room" for you ("eg: explicitly opening/closing db connections), then feel free to create you own java connection classes and call them from CF. easy peasy.

    some additional CF benefits:
     - runs on non-MS platforms (many flavours of unix/linux and now on Mac-OSX)
     - easy to write custom tags with name spaces (esp for custom UI controls).
     - QueriesOfQueries are much easier to use then ADO.NET's data tables/date relations, although QofQ aren't perfect (yet).
     - CF's ease in working with Java classes (CF is *almost* a macro language for Java)

    some red herrings:
     - "better IDE" can sometimes be a draw-back. I'm battling VS2005 because it's doing too much for me and  it's a PITA to find out how to "double guess" it. Sure it's just a learning curve with the IDE but keeping things simple with Homesite 5.5 works too. It's a shame to have to be so dependant on an IDE to get it to do everything for you.. ...And lets not forget CFEclipse for integrated IDE's if you really want ot go down that path.
     - Clustering is definately an issue but there *are* workarounds most situations

    just my 2c, nothing more
    cheers
    BarryTheAussie
  • Re: Questions on Coldfusion

    12-18-2005, 11:42 PM
    • Loading...
    • Shazam999
    • Joined on 06-17-2003, 12:11 AM
    • Posts 34
    • Points 162
    Most CF people run in Windows.  I've never seen anybody ever, ever move CF from, say Linux to Windows or vice versa.  And of course, CF Linux is missing some features from CF Windows.  Yeah, that's "cross-platform".  Pffft.
     
    I'll take User Controls over Custom Tags any day of the week, thanks.
     
    QoQ is nice, sorta.  Although I don't actually use datatables or datasets for any kind of business logic.  Neither should you, but oh well.
     
    You know, that whole thing about being able to use Java in CF is a red herring.  A typical CF developer simply won't know how to use Java.  A decent Java developer has no real incentive to use CF.
     
    How is VS2005 "doing too much for me"?  Give me some specifics.  Homesite 5.5 is *too* simple.  Or maybe debugging is overrated.  And Intellisense.  And not crashing.  And auto-formatting.  Yup.
     
    How is clustering a red herring?!?  Hey, you can keep making your little apps that don't need uptime in CF.  I'll make my money creating enterprise apps that scale and have failover, thanks.  And please tell me how to cluster CFCs.  Please tell me your workaround.
  • Re: Questions on Coldfusion

    12-19-2005, 10:11 AM
    • Loading...
    • carehart
    • Joined on 05-15-2003, 10:58 AM
    • Atlanta, GA
    • Posts 15
    • Points 72

    Shazam999, I realize you were responding to Barry's points and asking him for follow-up, but I will point out that as to your last comment about clustering and CFCs (as well as "creating enterprise apps that scale and have failover"), I'll repeat that BlueDragon.NET solves those problems.

    I'm not trying to pursuade you to go back to CFML, but for those who are there and want the enterprise benefits that underlie .NET, you can get them without having to rewrite the CFML to ASP.NET.

    As for "how to cluster CFCs", that again is a unique benefit of BlueDragon. Our CFCs are fully serializable (unlike CFMX) and therefore can be persisted and replicated. Hope that's helpful.

    /charlie
  • Re: Questions on Coldfusion

    12-19-2005, 11:52 AM
    • Loading...
    • Shazam999
    • Joined on 06-17-2003, 12:11 AM
    • Posts 34
    • Points 162
    I would only ever use BlueDragon .NET if I had a legacy CF app that I didn't want to run anymore using Adobe's unscalable/unstable CF server.
     
    As for compatibility, BD products are not fully compatible with CF syntax.  That's great.  Just great.  More retesting using the language that doesn't even have compile-time syntax checking.  Whee!!
     
    And just why should I need to use BD.NET just for CFC serialization?  Why didn't MM put it in CF6, or even in CF7, where they had *two years* to implement it?  Instead, we get *another* refactoring of CFCHART.  Whee!!
  • Re: Questions on Coldfusion

    12-19-2005, 1:57 PM
    • Loading...
    • carehart
    • Joined on 05-15-2003, 10:58 AM
    • Atlanta, GA
    • Posts 15
    • Points 72

    As you say, there is certainly testing needed if one wants to leverage the platform benefits of .NET by moving such legacy CFML to BlueDragon.NET. Still, it's a substantially smaller commitment of time than completely rewriting the CFML to ASP.NET.

    Not denying that there are times when "throwing the baby with the bathwater" is justified, but for many shops, that just too great a challenge. Not to mention the cost/time to retrain (or replace) their CFML folks, and all the while continue to respond to ongoing customer requests. BlueDragon.NET definitely has its place.

    Finally, as for the lack of CFC serialization in CFMX, I can't speak to Macromedia/Adobe's failure to respond to this need. I can only say that New Atlanta has had it in BlueDragon for some time. That's why BlueDragon exists: to solve problems for CFML developers.

    And the deployment of CFML onto .NET, not to mention the many doors of powerful integration possible, is perhaps the most compelling benefit most see. As a seeming .NET fan, Shazaam, I hope you can see that we're doing our part to bring CFML folks into all the glory of .NET. We're just permitting to do it at their own pace and leaving them options for how to make it happen. It's worked for many shops, including the largest CFML site in the NET (and one of the top 5 most heavily trafficed sites in terms of page views), Myspace.com. I won't elaborate here, but it's been discussed elsewhere.

    /charlie
  • Re: Questions on Coldfusion

    12-20-2005, 12:12 AM
    • Loading...
    • Shazam999
    • Joined on 06-17-2003, 12:11 AM
    • Posts 34
    • Points 162
    > As you say, there is certainly testing needed if one wants to leverage the platform benefits of .NET by moving such legacy CFML to BlueDragon.NET. Still, it's a substantially smaller commitment of time than completely rewriting the CFML to ASP.NET.
     
    I'm not talking about rewriting anything to anything.  I'm talking about compatibility between BD and CF.  And that full compatibility is not there.
     
    > Not denying that there are times when "throwing the baby with the bathwater" is justified, but for many shops, that just too great a challenge. Not to mention the cost/time to retrain (or replace) their CFML folks,
     
    I'm not talking about "throwing the baby with the bathwater".  Hey, if someone has working CF apps and they want to move to .NET/Java, your product could be of some use.
     
    Please stop using straw men to support your arguments.
     
    > Finally, as for the lack of CFC serialization in CFMX, I can't speak to Macromedia/Adobe's failure to respond to this need.
     
    They can't either, so I don't expect you to.  Seeing as how Java has relatively simple object serialization, I'm dumbfounded as to what they're not doing.
     
    > As a seeming .NET fan, Shazaam
     
    I'm not a "fan" of anything.  Have you ever noticed that CF programmers defend MM to the death about CF and its many deficiencies, yet .NET programmers are the *first* to criticize MS when something in .NET is deficient?  *That* was one of the prime reasons why I decided to abandon CF development.  I was a lone voice asking for improvements to the product surrounded by developers who were content with what MM spat out every once in a while.  CF6.0 was *totally* broken when it was released.  CF4.0 was *totally* broken when it came out.  No wonder MM got taken over - talk about an underperforming company.
     
    When one of the major MM guys justified why CFCs don't have interfaces with an absolute total misunderstanding of *why* interfaces are absolutely vital in a non-multiple inheritance language (and that was from their guy that claims to "know" OO), that's when I realized that they weren't interested in shipping a better product - they simply justify their stances instead of listening to customers that are interested in improving the product.  The LEAST they could do is just shut up - that way if they change their minds they don't looking like flip-flopping idiots.
     
    When MS does some bonehead decision with .NET, it gets posted all over a bunch of blogs and usually has a few entries on weblogs.asp.net.  Then MS usually tries to fix it.  If they can't, sometimes they'll defer it to a future version.  Sometimes they give a reason.  But that's usually their *last* resort.  MS makes a concerted effort to make their product better, a far cry from their days of Windows 95/98/ME.
     
    > Myspace.com
     
    Yes, yes, yes, I'm totally familiar with this example ad nauseum.  It seems to be not just the prime example but the ONLY example that I keep hearing about.  So what?  Last time I visited there, there was no response past the home page.  It is well know that the myspace.com developers, to put it gently, don't know what the hell they're doing.
     
    So what would you have me do?  Sorry, CF just doesn't do it anymore, not even with BD.NET.  It's a fundamental problem with CF - it's *too* abstracted, in order to appease the type of developer it attracts, and it doesn't contain the features required for advanced developers.
     
    Not to mention I have no idea what New Atlanta's financial situation is like.  There's too much risk there.
  • Re: Questions on Coldfusion

    12-20-2005, 6:43 PM
    • Loading...
    • carehart
    • Joined on 05-15-2003, 10:58 AM
    • Atlanta, GA
    • Posts 15
    • Points 72

    Shazaam, it seems your pitting us against each other and I never intended that. I'm sorry if that somehow happened. We're certainly not looking to turn .NET folks back to CFML. We solve a problem, we do it well, and to be honest full compatibility isn't really that significant to those with more challenging problems. Even so, I'm happy to point out that one loses only 4 tags from CFMX 6.1 (and again, if someone's happily on CFMX 7 then they have no need to consider us.) All that is discussed on our web site, in docs, faqs, our mailing list, etc.

    I'll just say that if anyone reading this is interested in hearing more, including helpful and positive responses to the objections he's raised or any you may have yourself, I'm happy to help. charlie at newatlanta.com.

    We can provide many glowing references from many other impressive organizations benefiting from BD.NET, and as a company with 12,000 customers across our 3 product lines, I can promise that our financial viability isn't something you need to question.

    /charlie
Page 1 of 2 (17 items) 1 2 Next >