What's the difference between PHP & ASP?

Discussion in 'OT Technology' started by AsianRage, Dec 16, 2004.

  1. AsianRage

    AsianRage Know about Media Ventures?

    Joined:
    Sep 11, 2002
    Messages:
    2,347
    Likes Received:
    0
    Location:
    Washington
    Which one would be more suited to building a database driven website?
     
  2. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    both have pros and cons.

    I take it you have never used either?

    PHP runs well on both windows and unix. ASP runs well only on windows. If it's a MySQL database, I'd say go with PHP. If it's MSSQL, then ASP may work better for you.
     
    Last edited: Dec 16, 2004
  3. ShapeShifterz

    ShapeShifterz Longtime Lurker

    Joined:
    Mar 15, 2000
    Messages:
    183
    Likes Received:
    0
    Location:
    Bay Area, CA
    Fixed.
     
  4. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    mind was somewhere else when I made that post ;) thanks.
     
  5. Keyzs

    Keyzs OT Supporter

    Joined:
    Nov 3, 2003
    Messages:
    814
    Likes Received:
    0
    Location:
    Charlotte, MI
    ASP can access MySQL as well as MSSQL, the database doesn't matter...

    ASP Can be run on a Linux machine. To run ASP on a Windows you need the proper services running just like you do in Linux. The difference being ASP is a MS built software package which obviously gives it the advantage on the server.

    Which one you use is personal opinion... (though you CAN do it and it does work, does not mean its a good idea to run ASP on a Linux box...)
     
  6. Slid.

    Slid. I'm a guy.

    Joined:
    Oct 25, 2001
    Messages:
    1,928
    Likes Received:
    0
    Location:
    NH
    I use php for all my database driven websites, hasn't let me down. I use mySQL
     
  7. WERUreo

    WERUreo Imua!

    Joined:
    Oct 15, 2003
    Messages:
    566
    Likes Received:
    0
    Location:
    Daytona Beach, Florida
    :werd:
     
  8. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    :werd: I use PHP for all my websites.
     
  9. attackc0de

    attackc0de New Member

    Joined:
    Aug 31, 2004
    Messages:
    12
    Likes Received:
    0
    Location:
    Groton, CT
    I use perl CGIs' for all of my websites. The DBI module makes life easy.
     
  10. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    :werd:
     
  11. D1G1T4L

    D1G1T4L Active Member

    Joined:
    May 4, 2001
    Messages:
    16,489
    Likes Received:
    0
    Location:
    Bay Area
    i would go with php
     
  12. Blizzard

    Blizzard needs to robusto

    Joined:
    Nov 9, 2004
    Messages:
    11,485
    Likes Received:
    0
    Location:
    New York City
    php > asp

    open source > microsoft
     
  13. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    If it were only that easy...

    Think of where desktop computing would be if there was never Microsoft Windows. I know I'll get some awesome replies to that, but seriously think about it.
     
  14. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    :werd:

    Like it or not, MS did a lot for the community. Linux prolly wouldn't be as great as it is if MS wasnt here.
     
  15. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    php is free, ASP and its various flavors are not.

    I would go with PHP.
     
  16. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    Not exactly. Yes, you must be running Windows for ASP.NET, but I didn't pay anything to write code in ASP.NET.
     
  17. RaginBajin

    RaginBajin Have you punched a donkey today?

    Joined:
    Dec 24, 2001
    Messages:
    8,740
    Likes Received:
    0
    Location:
    NoVA
    I love when people do this and give no explaination or anything.

    Tell me why you think this.
     
  18. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    from a development perspective, .Net is a much more robust and elegant language. I assume you already agree PHP > ASP, tho.
     
  19. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    He didn't ask which language was "free to write." He asked which one was better suited to building a database driven website. In that case, I say php is better because it's open source and free.
     
  20. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    And my point still stands. PHP is no more "free" than ASP.NET. And how does PHP being free and open source make it a good choice for building a database driven website?
     
  21. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    As far as I know ASP.NET requires some form of MS Windows, which costs money.
     
  22. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    Which I'd be willing to bet he's already running, so consider that a sunk cost. Anything else?
     
  23. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    You know, it's ok that a lot of you guys are "1337 anti M$ haX0rs", but don't let your prejudice steer someone else in a direction blinded by misinformation. Fact is, nobody can tell him the correct technology platform to use because we haven't been given enough information.
     
  24. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    :rofl: Those of us who prefer PHP are not M$ haX0rs. We're just not Microsoft sackriders. Open source software is not just some philosophical soap box that programmers like to stand on. It has the benefit of skipping the whole bureaucratic process to get bugs acknowledged, fixed, and rolled into a patch that commercial software has. You can argue PHP costs as much as ASP.NET or whatever its latest incarnation is, but the fact is open source software is always a cheaper choice.
     
  25. CompiledMonkey

    CompiledMonkey New Member

    Joined:
    Oct 26, 2001
    Messages:
    8,528
    Likes Received:
    0
    Location:
    Richmond, VA
    Using a given technology platform doesn't make you a sackrider. I use .NET because I find it better in terms of tools and productivity than any other platform out there. Have you ever used .NET? Do you know anything about it other than it's made by Microsoft?

    And don't be stupid, don't say open source is always cheaper. Why don't you provide some basis for your "fact"? Who is talking about cost anyway? Considering hosting is about the same for either platform, where do you get PHP being noticeably cheaper? Unless you're talking about a decent sized deployment, costs are irrelevant.

    All this coming from the person that claims PHP is better for database development because it's open source. :rofl: Why am I wasting my time here? :dunno:
     

Share This Page