View Full Version : ASP vs. PHP
08-01-2007, 01:36 AM
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?
08-01-2007, 01:50 AM
ASP will never replace PHP how can it its syntax is completely different. personally i prefer PHP because of its syntax and support
08-01-2007, 01:51 AM
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.
08-01-2007, 01:58 AM
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.
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!
08-01-2007, 02:00 AM
At this time the number of people viewing the PHP sections of this forum are 72. Whilst only 22 are in ASP.
08-01-2007, 02:31 AM
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
08-01-2007, 03:11 AM
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...
08-01-2007, 11:30 AM
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 (http://www.ruby-lang.org/en/). And to take it one step further, the reason a lot of people learn Ruby is one of its frameworks, Ruby On Rails (http://www.rubyonrails.org/screencasts). And finally, we have the differences between Ruby and PHP.To Ruby From PHP (http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-php/)
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.
08-01-2007, 12:05 PM
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 (http://dk.php.net/history)
08-01-2007, 02:53 PM
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.:D
08-01-2007, 06:38 PM
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.
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.
08-02-2007, 08:59 AM
Its funny , if RoR is so great why do the creators of RoR use PHP ? http://37signals.com/index.php
08-02-2007, 10:12 AM
It will be very useful if someone/group can post a table regarding the various features/advantages/disadvantages/differences of all popular server-side languages like PHP,ASP,JSP,Python etc. (Or some links to this type of data)
08-02-2007, 05:07 PM
That would be interesting to see, if anyone knows of such information. I do have to say with my experiance which I still lack in areas, I have noticed that the most popular languages used right now for website development is HTML/XML..etc with PHP, JS, and CSS..
08-02-2007, 08:14 PM
08-02-2007, 08:19 PM
IIRC by default you can only use vbscript and jscript though there are scripting engines for other languages...though that may be dependant on version
I think asp.net supports vb.net and c# by default
08-03-2007, 01:47 AM
php.net supports php ... thats the way I like it :)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.