SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Thread: ASP or PHP?

  1. #1
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ASP or PHP?

    I want to learn one of these technologies.

    Which can do more?

  2. #2
    - Michael - Bytecon's Avatar
    Join Date
    Mar 2004
    Location
    Ireland
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well:

    PHP - Free
    ASP - Not

    There are many threads here about the advantages of one over the other .. just search for them.

  3. #3
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    That's an enourmous subject, and there isn't really one technology that is better. I could make a recommendation if I knew more about what you plan to do with it. Other than that, do a search. Keep in mind that ASP is a very old technology that has been replaced by ASP.NET, which is extremely differerent from ASP.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  4. #4
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ASP or PHP?

    --------------------------------------------------------------------------------

    I want to learn one of these technologies.

    Which can do more?
    I woudl advice you to browse through the two and see which one you are more comfortable with.

  5. #5
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well:

    PHP - Free
    ASP - Not
    I wont fully agree with this, although you do pay a licence for windows servers. If you browse through web hosts, they normally charge the same fee for hosting options.

  6. #6
    SitePoint Addict flyingpylon's Avatar
    Join Date
    Mar 2002
    Location
    Fishers, IN USA
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ultimately, they can both do the same things (pretty much anything), though one may be easier than the other in different situations.

    Assuming you don't yet have anything invested in either...

    If you want to do scripting, go with PHP.

    If you want to do programming, go with ASP.Net.

    If you are budget-conscious, keep in mind that there seem to be more open-source applications, etc. for PHP.

  7. #7
    $this->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Dec 2003
    Location
    Federal Way, Washington (USA)
    Posts
    1,524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Consider this: Your web hosting options are far more limited going the ASP (or ASP.net) route than they are with PHP. (There are at least a few threads in the forums that discuss that aspect too.)
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    Showcase your music collection on the Web

  8. #8
    SitePoint Addict
    Join Date
    Nov 2001
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by flyingpylon
    If you want to do scripting, go with PHP.

    If you want to do programming, go with ASP.Net.
    ASP.Net may force you into more of a programmer paradigm than PHP, but if you check out the Advanced PHP forum you'll see that many people are already using PHP for real programming tasks.

    My comparison would be this:

    1. PHP is easier to learn than ASP.Net because you can begin using it in a very simple way, simply scripting pages as needed without worrying about your whole application. It has advanced features when you're ready to start programming large applications. Many PHP programmers are attracted to the language because it is so easy to start out with.

    2. ASP.Net will lead you down the 'right' path sooner than PHP because it doesn't let you develop as many bad habits. As such, many ASP.Net programmers become ready for large-scale application development sooner because they aren't stuck working in ways that limit them.

  9. #9
    SitePoint Addict flyingpylon's Avatar
    Join Date
    Mar 2002
    Location
    Fishers, IN USA
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Part of the problem is that the original poster didn't give us much information. My point is that not everyone wants to be a "programmer". In these discussions it is often incorrectly assumed that somehow everyone ought to aspire to advanced programming and programming as a profession. In my opinion, the choice for a beginner between ASP.Net and PHP should depend more on their reasons for wanting to learn one or the other as opposed to any technical differences between the two. That said, when doing anything, one should learn to do it well if they're going to do it at all.

  10. #10
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by flyingpylon
    Ultimately, they can both do the same things (pretty much anything), though one may be easier than the other in different situations.
    Well, that's not exactly true. .NET is extraordinarily capable of developing client applications, both standard windows applications, console apps and even DirectX-powered applications. PHPs capabilities in those areas are pretty weak.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  11. #11
    SitePoint Addict flyingpylon's Avatar
    Join Date
    Mar 2002
    Location
    Fishers, IN USA
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're right... I was referring only to the functionality typically found on web sites.

  12. #12
    SitePoint Zealot Imran-Saami's Avatar
    Join Date
    Sep 2004
    Location
    Pakistan-Dubai
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I heard it long ago that next version of PHP is coming as full object oriented,
    I don't if it is released or not... May be it'll compete well with ASP.NET.
    Any comments from you ppl who have info..

  13. #13
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Imran-Saami
    I heard it long ago that next version of PHP is coming as full object oriented,
    I don't if it is released or not... May be it'll compete well with ASP.NET.
    Any comments from you ppl who have info..
    PHP has pretty nice Object Orientation. It's still lacks quite a bit compared to C# (the primary language for .NET), but it's okay.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  14. #14
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Imran-Saami


    I heard it long ago that next version of PHP is coming as full object oriented,
    I don't if it is released or not... May be it'll compete well with ASP.NET.
    Any comments from you ppl who have info..
    thats the future. U never know what MS would come out with...

  15. #15
    eXtremE StorMeR
    Join Date
    Jan 2005
    Location
    Pakistan
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ASP is Easy


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •