PHP Vs. ASP.NET?

Discussion in 'General Scripting Chat' started by agag2, Dec 22, 2014.

  1. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    Hi

    I have an option to develop my website in PHP or ASP.NET for the same cost - which do you recommend I use? In terms of speed, security, stability and future code upgrades?

    I did do a Google search and I see no reason to use PHP over .net except for the fact that it would be easier for other developers to maintain the code base in the future. Also I would need windows to run .net which costs a bit more.

    What's your take?

    Thanks
     
  2. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    .....Anyone?

    ......Thanks
     
  3. MrKhiem

    MrKhiem Jr. VIP Jr. VIP

    Joined:
    Nov 16, 2013
    Messages:
    345
    Likes Received:
    151
    If you need more security, I think ASP.NET is the viable choice.

    I always prefer PHP over .net for website development, because it's fast, easy-to-maintain and everything about the cost (maintenance, scalability, server providers etc...). I only use .net in some very important projects like banking systems, sports betting, well let's say anything related to the user's money balance on the website.

    Though PHP vs ASP.NET is a huge topic and I'm sure you don't want to raise flames... There's already a bunch of this topic on stackoverflow that you should research and choose the most appropriate language for your project.

    Standing from a web developer point of view. That's just my humble opinion.
     
  4. DatUser

    DatUser Newbie

    Joined:
    Nov 30, 2014
    Messages:
    29
    Likes Received:
    3
    I personally like php over all the other languages I know for developing websites. (I don't know asp.net just fyi). You can write insecure code with any language. Php will be easier to maintain in the future but asp.net probably has higher skilled individuals and May be more expensive to maintain in the future.
     
  5. lancis

    lancis Elite Member

    Joined:
    Jul 31, 2010
    Messages:
    1,683
    Likes Received:
    2,427
    Occupation:
    Entrepreneur
    Location:
    Milky Way
    Home Page:
    I fail to remember a website, done with ASP.NET, that was at least fast. And I fail to remember a website powered by ASP.NET that wasnt buggy.

    IMHO PHP is a good choice. ASP is on the market only because Microsoft managed to push its product into universities, which resulted in a lot of developers familiar with it. It probably wouldn't survive the natural selection otherwise.
     
    • Thanks Thanks x 1
  6. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,934
    Likes Received:
    3,442
    Gender:
    Male
    Occupation:
    Dreaming
    Location:
    Pale Blue Dot
    Home Page:
    ASP.NET is not even close to what PHP offers. Somebody pointed out security, but I find that dotnet systems are easier to hack than php ( not going into further details on this). The best of all, PHP is open source, while ASP.net is not YET open source ( but pretty soon it will be). Go for php without a doubt.

    The only advantage that dotnet had previously is the fact that it had built in MVC architecture.. but with the current frameworks like yii, symphony etc, that's no more a problem..
     
    • Thanks Thanks x 1
  7. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    It seems like the benefit of PHP is only for the developer not for the client.. My developer is not charging me more to use asp.net and he is more skilled in asp.net (although he knows PHP too) - taking this into account which one do you suggest I use?

    Thanks
     
  8. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,934
    Likes Received:
    3,442
    Gender:
    Male
    Occupation:
    Dreaming
    Location:
    Pale Blue Dot
    Home Page:
    It benefits the clients in terms of total project cost. It surely does.. Plus server expense per month is considerably lower because you will be using linux most of the time.
     
  9. Vanrithy

    Vanrithy Power Member

    Joined:
    Jun 11, 2013
    Messages:
    724
    Likes Received:
    405
    Occupation:
    E-Media Officer
    Location:
    Kingdom of Wonder
    Home Page:
    If you really want to work with your developer that know ASP than PHP, it's already decided.
     
    • Thanks Thanks x 3
  10. DigitalSuccess

    DigitalSuccess Newbie

    Joined:
    Nov 27, 2014
    Messages:
    24
    Likes Received:
    5
    Home Page:
    Yeah.. My vote is too for ASP. Biggest Plus for me is the security it offers over PHP being an open source.
     
  11. ChrisX

    ChrisX Jr. VIP Jr. VIP

    Joined:
    Oct 8, 2011
    Messages:
    293
    Likes Received:
    144
    Gender:
    Male
    Home Page:
    • Thanks Thanks x 1
  12. Conor

    Conor Elite Member

    Joined:
    Nov 7, 2012
    Messages:
    3,618
    Likes Received:
    6,078
    Gender:
    Male
    Location:
    South Africa
    This. You'll end up paying more in the long run, because while your developer might not charge more for asp.net, I'm pretty sure other developers will, based on the fact that it isn't as popular as PHP.
     
    • Thanks Thanks x 1
  13. extremeboy

    extremeboy Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2010
    Messages:
    3,329
    Likes Received:
    684
    Occupation:
    World Best RANK Tracker SERPCloud.com
    Home Page:
    Maint advantage of PHP over ASP are:

    first is SERVER cost is too much less for PHP over asp.
    Easy to find devs for support and maintenance.
    Scale ability of PHP apps are a lot easier and cost effective than asp too.

    I always prefer PHP for those two main reasons over asp at first.
     
  14. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,891
    Likes Received:
    12,791
    Occupation:
    Potentate
    Location:
    Asuncion
    Moved to the proper section.
     
  15. Vanrithy

    Vanrithy Power Member

    Joined:
    Jun 11, 2013
    Messages:
    724
    Likes Received:
    405
    Occupation:
    E-Media Officer
    Location:
    Kingdom of Wonder
    Home Page:
    It's not the fault of the programming languages but the developers themselves. In addition, it's not the fault of OPEN SOURCE or not but the users themselves (I bet you don't hate WordPress, Drupal or Joomla because they're open source).

    What would you choose if the ASP developers are not so expert to do your project and PHP developers know there way around?

    Both languages are good only if the developers know what they're doing with these languages.
     
  16. keywordspot

    keywordspot Jr. VIP Jr. VIP

    Joined:
    Dec 17, 2013
    Messages:
    6,023
    Likes Received:
    2,052
    Gender:
    Female
    Occupation:
    Inbound Marketer
    Location:
    BHW Hill Station
  17. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,934
    Likes Received:
    3,442
    Gender:
    Male
    Occupation:
    Dreaming
    Location:
    Pale Blue Dot
    Home Page:
    Yeah, Facebook (PHP) and Orkut (asp.net) are real life examples of your theory.