PHP vs ASP(.net) vs ColdFusion

Discussion in 'Programming' started by part3_studios, Dec 25, 2010.

  1. #1
    So, what's your opinion on this?
    For example, you might prefer ASP over PHP for some projects, or PHP for everything, or cf, etc.


    Personally, since I only know PHP, I prefer that.
    Every time I tried to play with ASP.NET I thought it was too complex for everything.
     
    part3_studios, Dec 25, 2010 IP
  2. coderXO

    coderXO Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP is king when it comes to web development.
    I do not know any Microsoft related languages either and I do just fine.
     
    coderXO, Dec 25, 2010 IP
  3. JREAM

    JREAM Member

    Messages:
    160
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #3
    PHP is much nicer in my opinion than ASP, because if you get an ASP developer you will have either a VB or C developer, and things get hairy. With PHP it's just PHP. However, all the frameworks will make you bonkers, which is why I'm interested in Python which uses Django.
     
    JREAM, Dec 25, 2010 IP
  4. alex_funky_dj

    alex_funky_dj Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    another vote for PHP, otherwise you can read about Ruby on Rails !! it's free & open source framework that based on Ruby language.
    but try to be away of .NET technologies !!
     
    alex_funky_dj, Dec 28, 2010 IP
  5. animebuzz.tv

    animebuzz.tv Peon

    Messages:
    317
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    PHP is open source and is the mainly used web language ever so my vote will be for PHP
     
    animebuzz.tv, Dec 28, 2010 IP
  6. firman01

    firman01 Well-Known Member

    Messages:
    155
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    165
    #6
    php for small-medium project, jsp for medium-large enterprise project. asp for nothing.
     
    firman01, Dec 28, 2010 IP
  7. part3_studios

    part3_studios Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thank you for your answers people. I now see that asp sucks; maybe should look into jsp a bit.
     
    part3_studios, Dec 29, 2010 IP
  8. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Amazing that someone who admits to not knowing any microsoft languages is able to comment so certainly about what they are like!!

    All languages have their strengths and weaknesses.... PHP is the most common and opensource and so has a massive following in the small and hobbies space. In commercial space it traditionally was JSP/J2EE but many of these are now moving across to .Net

    PHP is really a scripting language and therefore has limits to how far you can push it. Look at the likes of Facebook that used to be purely in PHP they now do all the heavy work with C++ where as given that .Net is a full OOP and compiled it can be pushed further eg MySpace is now in .Net where as it originally was ColdFusion.

    Lets be realistic however, there are not many that really will get to the scale of Google or Facebook and the extra cost/ time in developing to work on that scale really doesnt make sense for 99.9999% of sites.

    I personally prefer .Net because you can do things very simply if you want, a sortable, paginating and updating table of data can be achieved in a circa 8 lines but it can also be very powerful easily dealing with multithreading and other considerations for more complex sites. Even with that though, it can be quicker to take a free OpenSource PHP script and modify it than having to write from scratch in .Net even if the total number of lines of code that make up the end product is much less.
     
    AstarothSolutions, Dec 31, 2010 IP
  9. part3_studios

    part3_studios Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9

    What I don't like with .net is the whole rad enviroment thingy with VS.
    I hate it when it creates a bunch of useless stuff automatically.
     
    part3_studios, Dec 31, 2010 IP
  10. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #10
    Like Ebay, Yahoo and Digg?
    Except for those who won't.
    Just like ASP.
    .NET is for a Windows environment and has nothing to do with what language is used. In fact, it's not needed anywhere else but Windows. In fact, if you ignore .NET, that's one less thing that must be learned to get a web site up and running. Anything .NET does can be done on any operating system using any language. .NET might simplify Windows programming but nothing else.
     
    drhowarddrfine, Dec 31, 2010 IP
  11. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #11
    That's a cliche. Many websiutes like facebook use compiled C(++) to do heavy duty stuff. PHP is a scripting language which is nice for some things but isn't best to make massive websites on its own.

    In my opinion, you can't get any better than Java EE for web development.

    Java is cross-platform and allows you to use non-web classes for web applications. People keep talking about PHP and .NET but they always ignore Java (via JSP).
     
    Cozmic, Dec 31, 2010 IP
  12. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #12
    @cozmic - I agree with you.
     
    drhowarddrfine, Dec 31, 2010 IP
  13. giorgoc

    giorgoc Peon

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I have been a PHP developer in the past and currently a ColdFusion developer.

    I confirm that in CFML you can develop much faster and easier. It's also easier to get new employees in our company and train them on how this remarkable language.

    PHP is free. CFML is not. However nobody can 'guarantee' about the reliability of PHP since it's open source (i.e. who receives responsibility in case of a problem at source?), whereas in CFML Adobe can guarantee for whatever happens there will always be a solution. (in most cases PHP would also recover from a serious problem, but would you sign up a million-worth contract with your customers, about the response time, solution-providing time for an open-source environment? I wouldn't, except if I have something written from the creator of such language which in this case this is a billion-worth).

    .NET, I never worked with so I cannot realistically comment.

    PHP community is huge. CFML community is not that big. But still ... we may be talking about 60% compared to 10% in this case. Still ... 10% is a number with lots of millions, and support will always be provided by other programmers (and by Adobe itself).

    CFML is strongly recommended!

    (no need to mention that since the restructuring of the CFML engine in Java at CFMX7, it's way much faster than PHP).

    G.
     
    giorgoc, Jan 2, 2011 IP
  14. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #14
    That's interesting. I have never met anyone who uses or knows CFML.
    Yeah. Right. Run into a problem and let's see how fast Adobe shows up at your front door. With PHP, you can talk directly to the developers. Try and do that with Coldfusion.
    So no problem.
    Google does. IBM does. Yahoo does. Most of the internet does. I do.

    I'll repeat: anyone who thinks they get better support from a major company just because you paid for it doesn't know what they're talking about. If there's a bug in the software, you wait for the next release. With open source, you can either fix it yourself or you can talk directly to the developer who just might fix it on the spot. You will NEVER see that happen with paid software.
    Another display of lack of support by users. You are far more likely to find someone to help with PHP. PHP is also far more used than CFML.
     
    drhowarddrfine, Jan 2, 2011 IP
  15. anonymou52

    anonymou52 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    PHP is best, next comes ASP and lastly ColdFusion (it's paid software).
     
    anonymou52, Jan 2, 2011 IP
  16. giorgoc

    giorgoc Peon

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #16

    I had problems in the past and Adobe helped. Instantly. Besides, if you are a big company and you have serious customers (like banks, insurance companies, government) - they demand to have a written piece of evidence from the developer of language about response times, warranty and insurance. PHP Community cannot provide this to any developer. Adobe does.

    I am responding to this thread not only from the developer's view but also from a business aspect.

    There is no such thing as "This is the best". It depends on many factors. For some developers a set of factors is more important than the other's. So before choosing, you need to consider what's important for you.

    Oh, here's some PROS and CONS that I found online while surfing:

    Coldfusion
    Very easy to learn and develop sites and web applications. It saves you time - which when it comes to business, time = money. You consume less resources and you can further invest money elsewhere.

    PRO - scalable - clusters well - super fast, deploys on any platform - lots of built in security
    CON - expensive license cost


    PHP

    PRO - open source - free - fast - huge community, deploys on any platform.
    CON - more complex than CF - development takes longer - harder to secure sites from hackers and you have to keep an eye of what's going on

    ASP
    PRO - Fast. Large Community
    CON - Forced to develop and deploy only windows servers

    As you can see, nothing is best or worst. It depends on what fits better to each case.

    G.
     
    giorgoc, Jan 2, 2011 IP
  17. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #17
    If you're not going to say why then there's no reason to post, IMO.

    Aren't a lot of open source projects backed by companies like Sun and Google?

    The government? On that subject, look at a link to the patent and trademark office website.

    http://www.uspto.gov/patents/index.jsp

    index.jsp means that it uses Java Server Pages, which is a practically open source technology.

    It seems to me that business uses .NET and JSP. Also it seems that many high volume websites use C(++) for heavy backend stuff (example: facebook)

    [​IMG]To complete the chart, monster.com has 182 jobs for coldfusion.

    If you look at PHP benchmarks it is many times slower than Java or C.

    The developemnt time of PHP is variable. If you want to use it for some simple dynamic poages then it's fine but if you want anything complex then PHP is vastly inferior to most of its competitors. Java has a gigantic pre-packed collection of packages which can do a lot of things that PHP can't do. Also PHP is a very new object oriented language so most of its functionality is in functions instead of classes/methods, which is bad. And I agree about the security because of the weak typing. The value of "id" can be "') DROP TABLE users" or similar when it's supposed to just be a number.
     
    Cozmic, Jan 2, 2011 IP
  18. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #18
    And I have had instant response on FreeBSD.
    If you are big enough to work with those size companies....well....no one here is that big. I'm not sure they require such guarantees of the language either. I'm pretty sure it's for the software package alone.
     
    drhowarddrfine, Jan 2, 2011 IP
  19. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #19
    Yes! Plus IBM, Apple and many, many others. I forgot to mention that in my last post.
     
    drhowarddrfine, Jan 2, 2011 IP
  20. joshua_

    joshua_ Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Good point. Didn't Oracle acquire MySQL, an open source SQL RDBMS?
     
    joshua_, Jan 6, 2011 IP