Which is better PHP or ASP.NET ??

Last post 05-06-2008 12:33 PM by CosmicGirl. 12 replies.

Sort Posts:

  • Which is better PHP or ASP.NET ??

    01-10-2008, 1:39 PM

     Hi to all,

    I just want to ask the reasons that Which is better in all terms, that means finally after taking care of all apsects like security , platform independence , cost, development time and speed, etc.. which is better PHP or ASP.NET

    I googled this topic but whereever i found is PHP PHP and only PHP is better????

    So wht you people think?? below are the some links who says PHP is better??

    http://www.computing.net/webdevel/wwwboard/forum/2954.html

    http://forums.hypography.com/computer-science/346-php-vs-asp-net-better.html

    http://www.pthree.org/2006/01/11/why-php-is-better-than-aspaspnet/

     

    So please tell me that which is better??? thanks.... 

     

    Prashant
  • Re: Which is better PHP or ASP.NET ??

    01-10-2008, 1:52 PM

    prashant_victory@hotmail.com:
    So please tell me that which is better???

    There is no better or worse.  Only better or worse for a specific task.  But nice try at starting a flame war.

    Jeff

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
  • Re: Which is better PHP or ASP.NET ??

    01-10-2008, 1:59 PM

     that's ok but still in the links which i have given shows that PHP is better in many terms than ASP.NET?? So there should be one winner who win this WAR. that may be ASP.NET or it may be PHP..??

    So wht u think and why you think that who is the winner

    ASP.NET or PHP 

    Prashant
  • Re: Which is better PHP or ASP.NET ??

    01-11-2008, 1:29 AM

    Hi guys,

    No one is replying to this post?? is it true that PHP is better or anyone not having any reasons to say that ASP.NET is better???

    please moderators and all ASP.NET developer , i request you that please put your views here. no matters PHP or ASP.NET is better, but please put the reasons if PHP is better or Why ASP.NET is not and vice-versa.

    Prashant
  • Re: Which is better PHP or ASP.NET ??

    01-11-2008, 1:44 AM
    Answer
    Regards,

    Prajeesh
    ASP.net Developer
    ipix solutions
    (If this post is helpful, please mark as an answer )
    My Blog:http://prajeeshkk.blogspot.com/
  • Re: Which is better PHP or ASP.NET ??

    01-15-2008, 5:32 AM
    Answer
    • Loading...
    • CoskunSUNALI
    • Joined on 04-06-2006, 10:00 AM
    • Istanbul / Turkey
    • Posts 43
    • TrustedFriends-MVPs

    Hi,

    PHP is just and interpreted language though it is strong enough to develop any kind of page you want to develop.

    ASP.NET is a part of a framework which means you may use the framework's abilities. Your ASP.NET application can be a part of a mobile, Windows, Windows Service, Smart client or even unmanaged code supported.

    Security and that kind of things are mostly bound to the developers. If you forget escaping and replacing some chars when requesting a data using $_REQUEST or $_POST, your PHP application may also be an unsecure system.

    So depending on the solution that you will develop, both languages have their advantages and disadvantages.

    All the best,

    Coskun SUNALI
    http://sunali.com
    http://propeople.dk

    Please click "Mark as Answer" button if this post answered your question.
  • Re: Which is better PHP or ASP.NET ??

    01-24-2008, 2:57 AM
    • Loading...
    • Mr^B
    • Joined on 02-12-2006, 11:38 AM
    • Posts 482

    I've no idea about PHP vs ASP.Net, but I can confirm (and show my working) that Apples are definitely better than Oranges, and that Blue is indeed a superior color to red.

    0.5/10 for the trolling attempt though.
    MCSD.Net
  • Re: Which is better PHP or ASP.NET ??

    01-24-2008, 3:08 PM

     hi.

     I used to program in PHP before but after changing jobs, i am 'required' to develop in .NET since the existing application are running on .NET framework.  Heres my opinion. PHP is easy to learn.  PHP has a wider community.  PHP is not too true to OOP.

    .NET may be tricky at first for beginners.  .NET is very true to OOP.  .NET community is always up to date with the new trends and changes. 

    PHP can run on almost all platforms (i think).  .NET will require windows with .NET framework. (but u can try MONO.NET)

    etc etc etc etc.

     

    I personally feel that PHP is better for those who feel close to PHP and have worked on it for years.  .NET is better for those who have love for windows.  its an individuals liking or choice of the programming language they want to use.  PHP is better in its own world and .NET is better in its own arena.

     

    I cant say that either of the two is better or worse.

    cheers
    pritesh chandra

     

    "Its not that i took that much time, its just that it took me that much time" Me, 2005, During a production briefing.
  • Re: Which is better PHP or ASP.NET ??

    01-29-2008, 4:28 PM
    • Loading...
    • Motley
    • Joined on 10-14-2005, 5:26 PM
    • West Chicago, IL
    • Posts 2,296
    • TrustedFriends-MVPs

    The answer is that they aren't even the same thing.  PHP is a dynamic scripting language.  ASP.NET is a framework.

    That said, PHP is very good at creating web pages that limited functionality.  Basic static pages with some small dynamic content.  Once you get beyond that, then you start looking for code "pieces" to use.  A grid.  A menu.  Simplified database access libraries.  Template Engines.  Data caching libraries.  Content caching libraries.

    When you are done, you've basically hacked together your own custom PHP framework.

    ASP.NET has all that in place, and quite honestly much much more.  The larger the project, the better ASP.NET does.  It's got more overhead in terms of learning and coding, but as the project complexity increases, ASP.NET code complexity is fairly linear.  PHP code becomes exponentially more complex and time consuming.

  • Re: Which is better PHP or ASP.NET ??

    04-30-2008, 12:14 PM
    • Loading...
    • BalochDude
    • Joined on 12-19-2006, 10:58 PM
    • London
    • Posts 9

    10 Reasons why ASP.NET is better than PHP:

    http://www.chapterzero.co.uk/articles/why-asp-dot-net-is-better-than-php.aspx

     

    Cheers!

  • Re: Which is better PHP or ASP.NET ??

    05-02-2008, 12:54 PM
    • Loading...
    • CosmicGirl
    • Joined on 01-19-2006, 2:37 PM
    • Posts 77

    Motley:

    That said, PHP is very good at creating web pages that limited functionality.  Basic static pages with some small dynamic content.  Once you get beyond that, then you start looking for code "pieces" to use.  A grid.  A menu.  Simplified database access libraries.  Template Engines.  Data caching libraries.  Content caching libraries.

    When you are done, you've basically hacked together your own custom PHP framework.

     

     

    There are several good frameworks that enforce MVC pattern, such as CodeIgniter, CakePHP, Symfony, and more, so you don't really need to create one.

    PHP is not better or worse than .net, only someone who lacks a brain cell or two would say that. PHP is an alternative technology to asp.net, you can use either to create a site/web application/or internal web portal. It just depends what you are used to. If you are a good dev, you will create quality code using either technology.

    PHP nowdays has all the neccessary features to develop a large app: OOP, templates, MVC frameworks....so do some research before dissing something.


    Microsoft's guinea pig
  • Re: Which is better PHP or ASP.NET ??

    05-02-2008, 3:22 PM
    • Loading...
    • Motley
    • Joined on 10-14-2005, 5:26 PM
    • West Chicago, IL
    • Posts 2,296
    • TrustedFriends-MVPs

    Using personal attacks really doesn't help "prove" your point.  It just shows your evidence is so weak (or wrong) you have to use personal attacks to try and drive your point across.

     

    The question was which is better, PHP or ASP.NET.  The question wasn't... "Is there a way expand PHP into a full fledged framework capable of handing large projects?"  Cosmicgirl if you wish to continue that line of thought on another thread please feel free.  But you've proven exactly what I said.  In order to use PHP for large applications, you need to start looking for code "pieces" to use.  You've just mentioned some...CodeIgniter, CakePHP, Symfony are all pieces of code that might help you in large(r) projects.

    Regardless of what you've implied, I've done my research, and I work with both technologies everyday.  PHP does not scale nearly as well, as cleanly, or as nicely as ASP.NET does.  You can force PHP projects to becomes scalable by using frameworks like you've mentioned above, but those bring their own problems into the mix, and by the time you are done you've lost all the advantages that PHP brings, created a slew of problems that ASP.NET doesn't have, and the frameworks still fail to be as comprehensive, cohesive, and pervasive.

  • Re: Which is better PHP or ASP.NET ??

    05-06-2008, 12:33 PM
    • Loading...
    • CosmicGirl
    • Joined on 01-19-2006, 2:37 PM
    • Posts 77
    OK, we are all allowed to have our opinions, at the end of the day, it's what you are used to.

    What frameworks have you tried in PHP? Also, as far as scaling goes, I beg to differ. What do you define as scalability?

    From my experience, scalability is about what happens when you add more resources and how that increases the volume of requests your application an handle.

    Look at facebook. Enuf said. I can't think of an equivalently large asp.net app, so I have nothing to compare it to.

    Sure, ASP.net provides a nice encapulated environment where all the libs are bundled up but the only problem with asp.net that is it a MS product which means there are always issues with backwards compatibility, the info on MSDN is near to impossible to find...etc etc, the list could go on. Of course, you can argue that these are not directly related to asp, however, when I don't know something, I can find the info on php in 15 mins(its very well supported and documented), with asp it would take me a day or to, either by posting here or looking at the msdn.

     

    So really each technology has its advantages and disadvantages.  Both scale if you code properly. I don't see a problem with discipline when coding. So if you are saying that it's hard to code with discipline in php, it's not, it's a mind set you get in to.

     

     

    Microsoft's guinea pig
Page 1 of 1 (13 items)
Microsoft Communities