What to use? PHP or .Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mayormel
    New Member
    • Oct 2007
    • 16

    What to use? PHP or .Net

    Hi!
    I'm new to this website development and trying to finish my webpage. Now I'm stuck at the stage where i have to devolop a form for user to imput data and have it sent to my email. (user would upload the picture with name and submit). In order to do that, im not really sure wat to use. Im using windows to build my webpage and would host soon. I looked into PHP, but that requires me to download so many programs to compile. I didnt look into .net yet but if i spend like 2 weeks i could learn pretty much of it. Any suggestions?.
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    This could start a religious war. If you knew one or the other I would say use that, but since you know neither, you need to think of the features and benefits. This should go under the Software Development forum and I will transfer it there after I respond.

    PHP is a very popular language and you will get much support and information all over the 'net. It works on all platforms everywhere and finding a host that will allow you to run it will be easy.

    .NET is a Windows only "framework" , that means it is NOT a language at all but an interface between a language and the operating system, server, or what have you. In addition to knowing how .NET works, you will need to learn a programming language, such as ASP.NET for web sites, though I assume PHP works there, too.

    Though I use neither, I have always found PHP to be more understandable and made more sense without all the .NET stuff.

    Two other languages you might look into are Python and Ruby. Both also run on all platforms. Again, I use neither but did a lot of reading into both (though hardly an expert).

    Python appears to have some advantages over PHP and many bleeding edge developers swear by it, but its methods are similar to PHP.

    Ruby, otoh, is more object oriented and seems to be the hot topic of the day.

    If I were to look into using a scripting language, I would use one of the two, and probably Ruby.

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      Originally posted by mayormel
      Hi!
      I'm new to this website development and trying to finish my webpage. Now I'm stuck at the stage where i have to devolop a form for user to imput data and have it sent to my email. (user would upload the picture with name and submit). In order to do that, im not really sure wat to use. Im using windows to build my webpage and would host soon. I looked into PHP, but that requires me to download so many programs to compile. I didnt look into .net yet but if i spend like 2 weeks i could learn pretty much of it. Any suggestions?.
      A user form to upload a file and submit to you via email? I would go with Perl, but that is partly my biased side talking as that is my forte. But, on my non-biased side, Perl was designed for handling text and files and is what it does best.

      Regards,

      Jeff

      Comment

      • LacrosseB0ss
        New Member
        • Oct 2006
        • 112

        #4
        In terms of e-mailing things I usually use php code for this. Anything else more complex I'm an ASP person. It also depends on your server. Linux servers won't support ASP (I found this out the hard way early on in my career) but php is supported almost everywhere.

        I think a lot of employers these days are looking for ASP or .NET framework experience. I'm in college so I've been checking this out. PHP can be finicky and there's not a lot of development tools whereas Visual Studio or something of that nature will help with ASP.

        As was previously mentioned, this is a civil war in the programming industry. Personally, I prefer ASP but there are times when you can't use it. PHP is a good 2nd alternative. My advise: check your server first. If it's Linux, your choice is made for you. If it's Windows, I would say ASP

        Comment

        • debasisdas
          Recognized Expert Expert
          • Dec 2006
          • 8119

          #5
          PHP and .Net both are good alternative of each other .I would go for .NET . But don't get biased by what i or others say use the one in which you are having good knowledge or which suits best to your environment.

          Comment

          Working...