ASP.NET with C# Vs. PHP?

Discussion in 'Programming' started by sid.cser, Dec 28, 2010.

  1. #1
    ASP.NET with C# Vs. PHP?

    I want to choose a programming language in above mentioned language to make heavy & secure web application with heavy database. Which programming language I should go with and why?

    please give me some detail specification.

    thank you,
     
    sid.cser, Dec 28, 2010 IP
  2. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #2
    I suggest C#. PHP is fine and dandy if you're going to make a small website with a bit of dynamic functionality but if you want something heavy-duty then you will probably be better off with .NET or JSP.
     
    Cozmic, Dec 29, 2010 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    Total BS. Many heavy duty sites are built with PHP. With C# and .NET, you're stuck with buying/using Microsoft only products. Go with PHP and be happy.
     
    drhowarddrfine, Dec 29, 2010 IP
  4. R2DS

    R2DS Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have used both quite heavily and disagree. Some highly reputable and scalable sites are built on a LAMP stack... Flickr, Facebook, Yahoo, Digg are some examples. There are definitely ways to optimize PHP and MySQL to get the highest performance.
     
    R2DS, Dec 29, 2010 IP
  5. roxcon

    roxcon Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    this is totally wrong my friend asp.net and c# you can build and test good web app without spending 1$ because all the technology and IDE totally free (asp.net and visual web developer). and if you move for c# for code you can write code with object oriented programming methodologies.
     
    roxcon, Dec 29, 2010 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    I didn't say you had to but that you would be forced to use Microsoft products that won't work anywhere else. You'd also be pressured to buy their products.
    We've been able to do that for decades without C# or any Microsoft products.
     
    drhowarddrfine, Dec 30, 2010 IP
  7. roxcon

    roxcon Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    i also didn't said that only c#, but it's lot more easier with IDE (visual studio)
     
    roxcon, Dec 31, 2010 IP
  8. BB-OM

    BB-OM Member

    Messages:
    371
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #8
    Both have their own merits. I would suggest php. PHP is an open source platform and is available for free. Also, with php, you have free IDEs which are well-supported. It uses apache server to run which also is free whereas you would require MS licenses and web servers for asp.net. It can be deployed on Linux servers which are much more secured and lesser expensive than windows servers.
     
    BB-OM, Dec 31, 2010 IP
  9. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #9
    Huge websites do not use php exclusively. Many use more complicated and more powerful languages for the heavy duty stuff. Anyway Google uses python in the role many sites use php, and they are as good as it gets in my opinion. I'm mainly a java fan though. It's better than asp and php.
     
    Cozmic, Dec 31, 2010 IP
  10. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #10
    There are lots of IDEs that can handle OO code besides expensive, proprietary Visual Studio.
     
    drhowarddrfine, Dec 31, 2010 IP
  11. Cida

    Cida Peon

    Messages:
    6
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I'm unsure of the other sites mentioned, but Facebook does not run on PHP any more, it now runs with compiled C++. MySQL isn't great for large sites, Twitter for one has ditched MySQL.

    An article relating to this post can be found with the URI "/s/article/9161078/Twitter_growth_prompts_switch_from_MySQL_to_NoSQL_database" on Computer World (unable to post links yet).
     
    Last edited: Dec 31, 2010
    Cida, Dec 31, 2010 IP
  12. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #12
    Compiled C++ is the fastest language that I am aware of. it would bve very fitting for a site like facebook.
     
    Cozmic, Dec 31, 2010 IP
  13. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #13
    Which goes to show you don't know what you're talking about.
     
    drhowarddrfine, Dec 31, 2010 IP
  14. roxcon

    roxcon Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #14
    can you tell me a one software to compare with visual studio 2010 ??
     
    roxcon, Jan 4, 2011 IP
  15. joshua_

    joshua_ Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Just as an FYI - if any of you guys are college students you can get the full versions of Microsoft's .NET dev programs for absolutely nothing. I'm not talking about Visual Studio Express or MSSQL 2k8 Express - I'm talking about professional. Google dreamspark. All you need is a valid university or community college email address.
     
    joshua_, Jan 4, 2011 IP
  16. Cozmic

    Cozmic Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #16
    Netbeans is really good. May not support all of the microsoft languages though, unsure.

    Yeah, I've used that before. And pretty much any .edu email will work.
     
    Cozmic, Jan 4, 2011 IP
  17. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #17
    I hesitate to say because I don't recall everything about VS and I use Unix. On Unix, most of use Eclipse and emacs. Anything VS can do, emacs can do better.
     
    drhowarddrfine, Jan 4, 2011 IP
  18. roxcon

    roxcon Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #18
    ha ha haa if you try to use debug feature with emacs you understand what i'm saying lol
     
    roxcon, Jan 4, 2011 IP
  19. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #19
    If you knew how to use emacs, you wouldn't be laughing.
     
    drhowarddrfine, Jan 5, 2011 IP
  20. roxcon

    roxcon Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #20
    funny stuff is it's not all about emac Vs Visual Studio thread started for asp.net c# Vs PHP i talked about Visual studio because it's related to topic (best tool for develop asp.net C# ) but you?? lol
     
    roxcon, Jan 5, 2011 IP