A question from Yahoo! Answers:
What is the difference between using ASP.NET,VB.NET/C#.Net for designing web pages and using PHP, MYSQL, etc..
Which do you think will be preferred for a longer period? Which do you think will be outdated sooner than the other?
The correct answer is “all of the above”. 🙂
Microsoft is not going anywhere soon, and neither is the open-source movement. Functionally, anything you can do with ASP.Net/SQL Server (or with JSP/Oracle, for that matter) can be done with PHP/MySQL and vice versa. Performance-wise, there may be differences, but they are by and large determined by things over which developers have no control (hardware configuration, database server settings, etc.)
So in the end, the choice is purely aesthetical. If you like object-oriented programming, understand Windows API well, and don’t mind spawning three objects every time you need to read a remote Web page, .Net is for you. If you are more of a Unix person thinking in terms of strings and sockets, PHP is a better fit.
Which will be preferred for a longer period? Neither, since there is no clear preference now, nor is one likely to form in the future. Cost-sensitive projects will always gravitate toward open-source, while those with money to burn will always want the latest (expensive) toys from Microsoft, IBM, and Oracle…
Speaking of IBM and Oracle, both are officially in love with PHP and see it as an attractive alternative to Java: