By diagnostix
via askaboutphp.com
Submitted: May 07 / 03:33
We've all encountered it before, and we've all asked this question in one way or another. I see it appearing in Yahoo Answers every now and then, and I see it varients of this technology comparison in blogs I read. Its clear this issue is still quite relevant today and will continue to be tomorrow.
Comments
pafboy replied ago:
I would say PHP, its free and runs on everything. Easy to start learning yet powerful enough to do most anything.
mcnaz replied ago:
Both are dire. If I must choose then it will be PHP. Otherwise I'd recommend Ruby/Python
phpexpert replied ago:
From my point of view.. PHP is better to choose...it's free open source and furthermore web hosting is much cheaper
henk replied ago:
Again, it depends on your situation if hosting is an issue. If you simple have your own server it doesn't matter what you run.
antych replied ago:
Don't bother with .NET, chose PHP for web apps and Java/Python... for rest
henk replied ago:
It always depends on what you want actually. Is it a 3 page "home page" kind of site? Definitely go for PHP. Is it a e-commerce platform where data integrity (transactions) and a modular maintainable architecture is supported, and where the application's code can really benefit from (advanced) tooling like debuggers, analyzers and profilers? Then don't even consider PHP and go straight for C#/ASP.NET.
The only disadvantage of .NET is that it only runs on Windows. Otherwise it's a most excellent platform for the more demanding environments.
antych replied ago:
Transactions are DB feature and you can use them in PHP. The only thing that can stop you from building modular and maintainable application with PHP is your own incompetence, but I don't see how .NET can fix that.
.NET is proprietary and expensive platform, locking you to a single vendor with poor hosting choices and small community. It's possibly the worst choice for web applications.
Topnotch replied ago:
'In my case, PHP has put food on my table, and has done so for many many years now, and I know, no matter how crappy PHP gets, or how great .NET becomes, I would still keep using PHP'.
After reading this from the author then it was obvious to me that the title of this article didn't make any sense. He had already made his choice. So what in the hell was the point of his post?
henk replied ago:
Indeed, you could easily also say:
"For me .NET has put food on the table. No matter how crappy PHP remains or how even more advanced .NET becomes, I would still keep using .NET."
Voters For This Link (6)
Voters Against This Link (2)