Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: ASP vs. PHP

  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Posts
    108
    Thanks
    0
    Thanked 2 Times in 2 Posts

    ASP vs. PHP

    Ok I heard a comment the other day from one of my friends brother and kinda had me wondering. He said "PHP is becoming old and will soon be replaced by ASP." Now PHP5 just rolled out and PHP6 is already in beta, is it true that PHP will be replaced by ASP? Is there anything right now that will or can replace PHP?

  • #2
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    ASP will never replace PHP how can it its syntax is completely different. personally i prefer PHP because of its syntax and support
    You can not say you know how to do something, until you can teach it to someone else.

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,077
    Thanks
    2
    Thanked 320 Times in 312 Posts
    Considering that ASP is just one more MS specific technology that has been abandoned by MS and has been superseded by ASP.NET, I would say the statement relating PHP and ASP is just mis-information by a mis-informed individual.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #4
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    I agree and personally cant get my head around any Microsoft programming languages. Learning to code in PHP is like riding a bike for me, whilst learning to code ASP is like learning to write Chinese for me.
    You can not say you know how to do something, until you can teach it to someone else.

  • #5
    MoD
    MoD is offline
    New Coder
    Join Date
    May 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP - Opensource, ASP - closedsource... PHP IS NOT becoming old... Actually, its newer with every release... ASP is not. PHP is being developed by developers from all over the world.. ASP is being developed by a small group of people...

    PHP will NEVER get replaced by ASP... With all the API's it has and OOP support etc. ASP doesent stand a chance!

  • #6
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    P.S

    At this time the number of people viewing the PHP sections of this forum are 72. Whilst only 22 are in ASP.
    You can not say you know how to do something, until you can teach it to someone else.

  • #7
    Regular Coder
    Join Date
    Jul 2007
    Posts
    108
    Thanks
    0
    Thanked 2 Times in 2 Posts
    See I didnt think any of this was true but thought id ask anyway. Yea the whole microsoft programing thing, if it ever started to "take over" it would be an awful place and next thing you know we would have to program with front page....the internet would be ruined...lol

  • #8
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    PHP has one of the largest, if not the largest user base of developers out there of any web language.

    Different people will choose different languages, and they have their reasons for this. My personal preference is PHP, because that is what I know and is the first real language that I learnt. I'm also one who can code PHP, but finds understanding ASP/ASPdotNet syntax rather hard. I guess I should look further into dotNet, but not right now.

    Another reason why PHP is favoured over ASP/ASPdotNet is the whole licencing thing. It costs a lot more to run a Windows web server to host dotNet websites than it does to run a Linux box with PHP etc installed. PHP and Linux is free, whilst the cost of licences for Windows Server Operating Systems required to host ASP/ASPdotNet websites can run into several thousands of pounds.

    The good thing about ASPdotNet etc though is because it's all part of the dotNet framework, I believe you can eaasily convert over to C#dotNet etc because you'll already have an understanding of the syntax in ASPdotNet etc...

    Jamie.

  • #9
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    Don't count on it, PHP will be around for a while. However, if you're interested in an alternate language I would suggest that you learn Ruby. And to take it one step further, the reason a lot of people learn Ruby is one of its frameworks, Ruby On Rails. And finally, we have the differences between Ruby and PHP.To Ruby From PHP
    Last edited by StupidRalph; 08-01-2007 at 10:31 AM. Reason: Edit a link
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.

  • #10
    Regular Coder mlse's Avatar
    Join Date
    Mar 2005
    Posts
    624
    Thanks
    20
    Thanked 19 Times in 18 Posts
    I have never even bothered with ASP, given that it's another product from the Evil Empire ... PHP is the way forward for me because it's open-source, free software, and it is provided by the vast majority of web hosts out there.

    I might be interested in switching to Ruby when webhosts start supporting it in larger numbers. One thing that strikes me from the Ruby documentation is the strong typing - that suggests smaller VM classes and faster operation (i.e. the VM doesn't have to continually check the type of the object upon which it is operating) - I've written noddy VM's before in C++ and the incorporation of weak typing is a programatical NIGHTMARE! Lol! Very very slow too.

  • #11
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Quote Originally Posted by wayne3503 View Post
    He said "PHP is becoming old and will soon be replaced by ASP."
    He clearly doesn't know what he's talking about. They're totally different and most people you talk to today will recommend PHP, and having looked at both the PHP and ASP syntax, I think PHP is easier to understand.
    PHP will definately exist for a long time, in fact I can't see why it shouldn't be here in a hundred years... That reminds me of the history of PHP which can be read at the PHP website
    Last edited by Jutlander; 08-01-2007 at 11:07 AM.
    .
    .

  • #12
    Regular Coder
    Join Date
    Jul 2007
    Posts
    108
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Well now that I think of it even though I dont know him that well he doesnt come off as being the brightest bulb on the tree. I just learned PHP just about 3-4 years ago and thought it would be to soon for a language to be "dying" and there just seemed to be to much out there for PHP and so much it can do. Well this has been an interesting post. Thanks for all of your input and reassuring me that I have nothing to worry about and that there are stupid people who walk this earth with me.

  • #13
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts
    I wouldnt agree that php syntax or readability is better than asp - particularly since you can write asp in a variety of different languages - the default is vbscript and most examples you will find are written in it.
    Its syntax is much simpler and more freeform, its much easier for non-coders to read but it lacks functionality. If you're used to PHP and try to code in asp you will probably very quickly become frustrated by the lack of functions that you take for granted in php.

    However, ASP.net is very powerful and not to be underestimated, but being closed-source it will never be as popular as PHP - particularly on free web hosts.

    Rails is all well and good but I dont think it will every take off, not when you can get nearly the exact same functionality from a php framework (I wrote my own in a weekend) - because thats all rails is - a proprietary framework written for Ruby. The php frameworks have many advantages - you dont need to learn ruby, you dont need to have anything extra installed on your server - so it will work on any php host and if you want to take advantage of it professionally, you dont need to convince clients to switch to a RoR host or install rails on their server.
    Plus if you dont like some part of its behavior you can tinker inside the source files and change it.

  • #14
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    Rails is open source, and is becoming more common on shared hosts but it will be a long time before it catches PHP in popularity.
    My thoughts on some things: http://codemeetsmusic.com
    And my scrapbook of cool things: http://gjones.tumblr.com

  • #15
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,073
    Thanks
    11
    Thanked 98 Times in 96 Posts
    Its funny , if RoR is so great why do the creators of RoR use PHP ? http://37signals.com/index.php
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

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