General Question

phpdeveloper's avatar

Which is better between PHP and ASP.net?

Asked by phpdeveloper (1points) January 22nd, 2012

As increasing popularity of PHP i want to know which is better programing platform

Observing members: 0 Composing members: 0

4 Answers

jrpowell's avatar

I prefer PHP. It is well documented and very portable. ASP is non starter for me since I refuse to use IIS.

I like Ruby and Python too.

But when I have to start a project from scratch I use PHP and CodeIgniter.

gambitking's avatar

I’ve played around with both, and it really depends on your style and the existing infrastructure. ASP has a bit more intuitive simplicity to it. PHP is pretty universal, but not as intuitive.

Also, as johnpowell mentioned, if you hate IIS, you won’t like ASP either…. although you can still use PHP in IIS. ASP is simply more of an integrated built-in tool. I’ve found that more developers use or like PHP than ASP, so it’s easier to use in a team environment.

My preference so far is still PHP

HungryGuy's avatar

Avoid proprietary anything. Go with open source, and don’t look back.

bolwerk's avatar

The thing to look at is the platform. For hosting web apps, Windows/IIS/MSSQL/.NET is a common platform. The other heavyweight, probably the most popular, is Linux/Apache/MySQL/PHP (LAMP is the popular acronym, but the P could stand for PERL too). And there are variations on that, like FAMP (FreeBSD/Apache, etc. – my preference) or WAMP (Windows, Apache, etc.). Maybe MAMP too, though I can’t imagine anyone doing seriously server-side development on a Mac. Probably the most notable thing about the out-of-the-box Windows option (besides that it really is turnkey and out-of-the-box) is that it is proprietary. I agree with @HungryGuy that proprietary software is something to avoid as much as you can, and I manage to avoid it completely for my clients.

IMHO, some kind of PHP/*N*X solution is to be preferred. Not to say there aren’t drawbacks – if you have to maintain the systems yourself, maybe you would need to actually learn a UNIX-like operation system, and it can be a little daunting for a newcomer. At a minimum, a background in UNIX-like file system organization is a big help even if you hire someone else to host your site. Configuration is often manual using text files. To me, that’s easier, but I’m used to it.

I’m personally not very comfortable with Windows’ vender lock-in, but if your skillset fits it better, maybe you’ll prefer it. But if you’re starting from scratch and have no idea what you’re doing either way, I would just go with LAMP. It’s more common and has fewer legal encumbrances – which may mean nothing to you, until it does.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther