1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Does ASP.net has an edge over PHP

Discussion in 'Programming' started by roxy, Nov 1, 2005.

  1. #1
    One of friend (Web Developer) is planning to use ASP.net for my new website, I was just wondering Does ASP.net has an edge over PHP.

    Please help-thanks for the time

    roxy
     
    roxy, Nov 1, 2005 IP
  2. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would go for php every time.

    I am sure you can do the same sort of things with both though - its a matter for personal preference.
     
    dave487, Nov 1, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    If your web severs only run ASP.NET (and not PHP) and your developers are Microsoft only developers, then ASP.NET is the way to go... Otherwise I would use PHP.
     
    digitalpoint, Nov 1, 2005 IP
  4. roxy

    roxy Active Member

    Messages:
    319
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #4
    We all are into Internet Field which is fast evolving.

    - Leave PHP Experience Behind
    - Leave the Servers you currently own.

    Now WHY would anybody choose ASP.net over PHP
     
    roxy, Nov 1, 2005 IP
  5. SEO Jeff

    SEO Jeff Active Member

    Messages:
    534
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    90
    #5
    That's because ASP.NET is a a bit faster with pre-compliation along with a full OOP language like VB.NET or C#. PHP is a scripting language and compiles at run-time. Plus with ASP.NET 2.0 you have a lot of stuff like a portal framework with webparts you can build your own portal system, a membership api and visual controls to design a registration / login system and a ton of 3rd party offerings as well. PHP lacks the features/design of ASP.NET. The developement to production timeframe for me anyways is a lot quicker with .NET then PHP plus I have saved I would say 50% of time reducing code typing. It may be expensive or does not run on Mono well but it saves a ton of time and when you can intergrate it with stuff that 97% of the world uses it's a good platform. I've designed huge projects with .NET from a CMS to a Enterprise Search Engine with redundancy and failover protection along with Load Balancing. This was possible because of the Windows API along with other product API's from Microsoft and the .NET Framework's own built in classes and methods. .NET is a great platform and does have enterprise quality that PHP seems to not really have IMO.
     
    SEO Jeff, Nov 1, 2005 IP
    sarahk likes this.
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    You sure about that? I run a setup where a PHP script is called about 2,000 times per second on a single machine and it could easily do twice that. Someone (a senior-level .Net developer) was never able to make the same functionality in ASP.NET work faster than 200 times per second before the hardware/operating system started to collapse on itself.
     
    digitalpoint, Nov 1, 2005 IP
  7. srijit

    srijit Peon

    Messages:
    75
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you can get compiled php code using zend. also php can be compiled directly with apache, making it more efficient. lots of help freely available.
    on the other hand, if you do have paid software, then why waste it? :p
     
    srijit, Nov 2, 2005 IP
  8. Nokia999

    Nokia999 Guest

    Messages:
    1,488
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    0
    #8
    In Asp.Net you can use lot of Addon tools and components.But with PHP you haven't much choice.Though now there are some available for free.But Asp.Net makes difference because it is backed by Microsoft and full time devoted team of professionals.
     
    Nokia999, Nov 2, 2005 IP
  9. hedir

    hedir Peon

    Messages:
    80
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You guys might be interested in what This Survey has to say.
     
    hedir, Nov 3, 2005 IP
  10. JamieC

    JamieC Well-Known Member

    Messages:
    226
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    138
    #10
    When I graduated from university, I made a concious decision to develop my skills on the Windows platform (ie. Windows 2003 Server, SQL Server, .NET with C# and VB). I made this decision more based on my belief that there was more work out there for someone with those skills than because I liked the technologies.

    Before then I had worked with Apache, PHP, mySQL etc.

    I have yet to see a really convincing argument that either is truly more effective than the other.

    As far as TCO goes, I reckon they're about neck and neck.

    Real world performance? Again, neck and neck.

    Lab performance? I don't consider myself qualified enough to say, but Shawn's data seems convincing. The question is more does this matter in an age when high powered hardware is getting seriously cheap.

    Personally I think this is a decision that should be made based on business information rather than techical arguments - it's clear that both sets of technologies are perfectly capable of achieving exactly the same thing. The differences are insignificant. IMHO.

    - Jamie
     
    JamieC, Nov 3, 2005 IP
  11. zhisede

    zhisede Peon

    Messages:
    103
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Both has advantages and disadvantages.
    PHP is free, many webhosting has it, a lot of free and open source scripts available...
    ASP.NET is good for large sites with big traffic, complied....
     
    zhisede, Nov 3, 2005 IP
  12. brandondrury

    brandondrury Peon

    Messages:
    375
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #12
    For a non-developer, I'd say stick with php. My tech decided that our new server should be a IIs machine with no Apache. It's been a total pain in the neck finding out of the box software that I need to make money. It's already set us back 3 weeks.

    At least that is my experience. Since I'm ignorant, I'll stick with whatever the mainstream is doing. Right now, that's PHP.

    Brandon
     
    brandondrury, Nov 3, 2005 IP
  13. roxy

    roxy Active Member

    Messages:
    319
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #13
    The survey speak for itself. astonishing:)
     
    roxy, Nov 6, 2005 IP
  14. profs77

    profs77 Well-Known Member

    Messages:
    441
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    118
    #14
    I would choose PHP, its open source, not related to microsoft, and there's better support.
     
    profs77, Dec 11, 2005 IP
  15. JamieC

    JamieC Well-Known Member

    Messages:
    226
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    138
    #15
    While PHP may well have many, many legitimate benefits, this is most definitely not one of them.
     
    JamieC, Dec 12, 2005 IP
  16. cornelius

    cornelius Peon

    Messages:
    206
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #16
    its quite simple

    for small to medium sites/webapps go with php

    for large to humongous sites/webaps go with .net/java

    u cant compare oranges to apples
     
    cornelius, Dec 13, 2005 IP
  17. ahearn

    ahearn Peon

    Messages:
    292
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Go with PHP. With ASP you are under Microsoft's heavy and painful thumb.
     
    ahearn, Dec 16, 2005 IP