PHP or .Net

Discussion in 'Programming' started by sanjay1234, Nov 8, 2010.

  1. #1
    I want to know that which language is good for creating a dynamic websites
     
    Last edited: Nov 8, 2010
    sanjay1234, Nov 8, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    PHP is not a platform but a language. .NET is a framework for other languages that interfaces to Windows.
    If you use .NET, you'll need to learn how .NET works plus a language of some sort.
    If you use PHP, you only need to know PHP.
    PHP runs everywhere. .NET only runs on Windows (ignoring Mono which everyone does anyway).
     
    drhowarddrfine, Nov 8, 2010 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Again with the anti Microsoft ;)

    The majority who learn ".Net" will simply learn the likes of C# or VB.Net and so it isn't a case of having to learn two seperate things that drhowarddrfine seems to be hinting at.

    Likewise, for ASP.Net, it will need to be hosted on a windows box but anyone anywhere can access it

    Of cause one of the advantages of .Net is that as well as websites you could programme desktop applications (though here he is correct in saying that they would be predominately aimed at the windows market)
     
    AstarothSolutions, Nov 9, 2010 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    Did I say anything that wasn't true?
    You are implying that learning C# or VB means not having to learn .NET which is not true. You cannot get far with either of those languages without knowing .NET.
     
    drhowarddrfine, Nov 9, 2010 IP
  5. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #5
    You cannot deny the power of .net. Combined with the Visual Studio's environment, it surpasses PHP. Like it or not.
     
    camjohnson95, Nov 9, 2010 IP
  6. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #6
    .NET is merely a part of both languages, VB.NET or C#.NET. You wouldn't learn VB if you wanted to code VB.NET applications... you would learn VB.NET. A bit like VBScript and VB... similar but different, it is easy to adapt but they are still different...
     
    camjohnson95, Nov 9, 2010 IP
  7. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #7
    Yes. You are right. The Windows framework .NET and the Windows editor VS are the best Windows combination on Windows.
     
    drhowarddrfine, Nov 9, 2010 IP
  8. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #8
    I agree. The topic of the discussion is the creation of dynamic websites, so the platform that it is developed on is irrelevant.
    I would love to run linux, but two things:

    1. It doesn't have a development environment that matches VS.
    2. It doesn't have a decent CAD software (that compares to AutoCAD).

    Both of which I need, otherwise I would use linux...
     
    Last edited: Nov 9, 2010
    camjohnson95, Nov 9, 2010 IP
  9. susan_ham

    susan_ham Peon

    Messages:
    352
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    They are different, but they are both useful for programming. If you use unix or linux system, I suggest php for programming, since .net just can work on windows system.
     
    susan_ham, Nov 9, 2010 IP