Comments on: Why PHP Is BETTER Than ASP/ASP.NET Linux. GNU. Freedom. Sun, 13 May 2018 18:21:35 +0000 hourly 1 By: Mon, 03 Feb 2014 09:05:00 +0000 Both are the same good. It is just different language, like Spain and English. We love and our site also developed by Just check

By: codepat Fri, 23 Aug 2013 12:01:28 +0000 PHP is the best language,ONLY.

By: sumit Thu, 06 Jun 2013 04:27:09 +0000 visit :

By: sumit Thu, 06 Jun 2013 04:25:46 +0000 PHP and both are to good language. but php is wide spread open source and most of solution available.

By: rupali p Fri, 04 May 2012 10:18:10 +0000 Very Goog Logic

By: fff Wed, 01 Feb 2012 21:22:33 +0000 fffffffffffff

By: Garth Tue, 24 Jan 2012 08:45:16 +0000 This is commical, This debate has gone on literally for years! I'm an 18 year old developer who started coding when I was 16, almost three years ago. I prefer because it's much simpler to script, and performance wise it's better than PHP in my opinion.
But we all have our different opinion, you stick to yours, I'll stick to mine, besides I think the real reason you all choose php is because hosting for Windows is much more expensive than Linux/Php combo. Majority of the fortune five hundred companies use Why? Because we share the same opinion.

By: Tech Frill Sun, 10 Jul 2011 09:13:45 +0000 In the past ASP has proved to be an invaluable tool for E-sites. it makes them dynamic,interactive,and user friendly. Besides speeding up processing, it also helps to maintain data integrity and the much needed security fir business sites.

By: Zack Spencer Thu, 28 Apr 2011 21:05:16 +0000 I love this! I was thinking about this just the other day while I was making a -very- simple fan-site for a game. This was actually a big turn-off to me as well. I also dislike that Django's templating language is similar to ASP.NET.

By: jimmy Sat, 22 Jan 2011 04:38:49 +0000 EUD8Wl

By: .NET LOOOOOOOOOOVER Mon, 03 Jan 2011 02:56:08 +0000 when u talk about php u r simply talk about asp

By: Don Mon, 06 Dec 2010 22:15:55 +0000 I have to admit that i started my programming career learning to develop windows apps. Then web development and server side scripting caught my attention. My first language was PHP. it was fun to develop in PHP but it took TIME. Lots of TIME. Learning curve was huge.

So i stopped web development for a while and focused on windows application development. After a few worldwide competitions and a few trophies I was hired and the company needed web apps. I QUICKLY transformed my c# and html markup knoledge into a paycheck using ASP.NET

As you can see from my young career that i learned because of what i was comfortable with and what i had time for.

I must say that i can build an application much faster than i can with php but looking on amazon and facebook i envy what those programmers can do. Clean websites, SCALABLE and quite cost efficient

So my view on the two platforms is that can do what PHP does much FASTER (As in development time).
But php can do what ASP.NET does much cheaper, cleaner and efficient.

P.S if your ASP.NET app is sluggish disable debugging from your web.config!

also, check out MVC and tell me what you think. What do i think? Cleaner

By: khan Tue, 09 Nov 2010 17:59:55 +0000 I have used ASP.Net + SQL for almost all of my applications. Here is what I concluded:

1. PHP is faster than ASP.Net
2. Its much faster to write a huge application in ASP.Net and optimize it for performance and usability.

PS: Drag drop is of no use as any application written for 1000+ concurrent users have at least 9 other things more important and time consuming things

By: Aaron Tue, 26 Oct 2010 14:49:52 +0000 Heh. Heaven forbid you learn anything. 🙂

By: Noob42 Tue, 26 Oct 2010 13:40:02 +0000 Nice post,
I am a PHP developer but now I prefer using .NET
.NET is way better as you don't have to write code..
You just need to drag and drop..
Developing a real time web application in PHP becomes a Pain in the a**,
as the number of codes you got to write increases..

By: Roper Fri, 27 Aug 2010 23:56:23 +0000 Alright, here's the thing. I AM NOT A DEVELOPER. I AM NOT GOING TO CLAIM TO BE A DEVELOPER. I am a graphic designer who dips into web design. I have been doing this for half a decade and the bulk of that time I worked with Microsoft Apps. NOOO MOOOORE. I find nothing redeeming in I hear php is unforgiving...WHAT? You stick a wrong character in a app and watch that sucker blow up. With PHP - that part of your page just doesn't work. Load times, well just server tweaks for PHP, but WTF is up with even a simple app. Everybody on both sides just screams. I don't have a dog in the hunt. I LIKED old classic ASP. It responded quickly. Some really really HUGE websites, lets call em applications to make everybody happy are written in PHP. I think windows PC application developers because the WHOLE point of Dot.Net was to bring in stand alone app developers into the web world and that makes sense but really PHP has plodded along and displaced pretty much every non-microsoft platform there is. They are not the same, their goals are not they same. I have spent hours of my life debugging php issues. As for DOT.NET DAYS! As for browsers I WILL NEVER use IE unless I hit an old site that forces active X. I have a client (law firm) - A couple of the partners can't seem to behave online and they don't mind paying me to clean up the muck they got from gambling and porn on their PC's. SOOO after three office overhauls I mandated Firefox a year ago. NO BUGS. The proof is in the pudding. I don't want to reinvent the wheel and some MS zealots screaming my pocket protector is bigger than yours doesn't work. The PROOF is in the pudding. PHP is rapid, low overhead functionality and OH YEAH it doesn't add a bunch of bloated code so pages perform VERY VERY WELL on Google (a non-Microsoft shop) Do they develop small applications Mr. Dot.Net? Amazon....Facebook...Wikipedia...hell most wiki's...eBay? None of these internet giants use Dot.Net for any of their primary systems, Yahoo didn't either until Microsoft bought them. Good enough for Google is good enough for me. I don't need a Decision engine - I can be my own decider... PHP works. Sucks resources, it sucks time, it sucks money out of my pockets for development IDE's and DATABASE software...really ....database shouldn't come with a server OS? PHP works, its clean which is great for SEO, and Dot.Net doesn't.

By: William Wed, 04 Aug 2010 14:46:49 +0000 PHP vs .NET - Im tired of hearing the conversation. They are both strong languages that do the job very well and they are both very powerful at creating both websites and applications.

PHP is slower to code??? Dude maybe you just don't know the language or the concept of OOP or the variety of shorthand tricks to make coding faster.

Bottom line - Google, Facebook and Amazon all use PHP extensively in their applications so if PHP is really inferior then ask yourself why the biggest names on the web use it as much as they do...

By: deko Sat, 24 Apr 2010 20:28:11 +0000 Look at a few popular websites:

1. youtube
2. facebook
3. amazon
4. wikipedia
5. twitter
6. flickr
7. msn

ALL of these use open source technologies--except one. So open source technology (e.g. PHP/Python/MySql/Linux/Apache) is not only very capable of running world-class web sites, it is the more popular choice. This is self-evident.

Why is it more popular? It's NOT because PHP is better than ASP.NET, that's for sure. Anyone who has been in this business for a while knows that price and politics always trump technology. Decision makers care little for the relative advantages of one programming language over another.

As for PHP vs. ASP.NET, it's not a fair comparison. Neither PHP nor ASP.NET are used in a vacuum. They are used as part of a suite of technologies. PHP is invariably used with a LAMP server and ASP.NET is always used with Windows, IIS and a host of other MS technologies.

So the choice is not one language over another, but rather one suite of technologies over another. For a decision maker, this is about price and politics; for the developer it's a career choice: it's about where to invest your time and talent. It takes many years and a huge amount of effort to acquire expertise in a particular programming language. Human nature comes into play. Of course people defend their career decisions with a passion (as we've seen in this thread).

The choice is ultimately not one language over another, but rather one community over another. Sure, there are some advantages to ASP.NET and some advantages to PHP. But these are insignificant when compared the larger environment in which each of those technologies are used.

I've been a MS developer for several years and have pretty much picked my poison at this point. I make a decent living and my children are well provided for. But if I were approached by a venture capitalist with $100 million to develop the next killer app, the question of what technology to use would NOT be based on what developers think!

By: Anonymous Sun, 21 Mar 2010 10:28:38 +0000 check these and decide your self

By: Anonymous Sun, 21 Mar 2010 10:07:39 +0000 Debugging in ASP.NET using vs is easier than PHP.

For simple sites PHP might be better than ASP.NET.
But For Complex sites ASP.NET is better.

By: Swanand Sat, 13 Mar 2010 19:13:56 +0000 Thanks for such good reply.
I am a college student & i'm crating a social networking site through PHP as a college project. But i dont know why PHP is great. But after readingyour comments, I feel that I had chosen the correct technology for my project.
Thanks Once Again!!!

By: abs Fri, 12 Mar 2010 11:52:03 +0000 @jojo: Who told you that an application written in a dorm room can not be an enterprise application? and who wrote the rule that enterprise application needs 100s of programmers to work on?

For me any application which is worth a few million/billion bucks is an enterprise level application and this includes all the top PHP websites.

By: Jojo Thu, 11 Mar 2010 18:44:29 +0000 When people say that digg, facebook, etc. are PHP sites and therefore PHP is superior, it just shows their ignorance. All of those sites started out in a college dorm with 1 developer with no money. Those kind of sites are meant for PHP.

None of those sites are "enterprises", they are just popular, simple websites. You think is a difficult site to develop?

When you're talking an enterprise, that has to integrate multiple departments, multiple sets of developers that are coming in and out on a 3-year long project, there is no possible way PHP can compete vs.

PHP lovers are bragging that gives them too much or is too easy to develop? Yeah, you're basically arguing that PHP is more difficult to develop.

The hatred of coils down to an irrational hatred of Microsoft and nothing more.

I've built small sites, PHP/Classic ASP is great for small sites with 1 developer with no money. for everything else.

By: Jojo Thu, 11 Mar 2010 18:37:51 +0000 PHP is a scripting language, which means it is great for banging out sites easily. PHP, like "Classic" ASP, has a short learning curve compared to .net.

However, when a site starts to scale, and you have lots of back-end business rules, and different modules that are dynamically used, it's much easier to use

Look at a pre-built shopping cart in php vs., it's much easier to figure out code; the structure that is a pain for simple sites but absolutely crucial for larger sites.

If you have multiple developers managing different aspects of a site, is easier.

Anyone that has developed in both will say the same thing, that's just reality.

By: Anonymous Sat, 06 Feb 2010 22:26:08 +0000 @denis...with regards to the amount to morons, u completely right
"aaaaa being one of them"

By: Denis Sun, 03 Jan 2010 02:22:45 +0000 PHP is a complete crap. This is all I'd like to say. no need to mention ASP.NET as it's so much superior to PHP. The amount of morons in comments here is unbelievable.

By: zalad Thu, 22 Oct 2009 05:36:13 +0000 It is true that .net has a quite some overhead, but i am sure you can make just as good of a website with as with PHP. They are two respectable languages and unless somebody has done a true benchmark on both languages performances and potential flaws (something else than 230% faster), i don't care about how many website are written with php vs Why are there more top websites in PHP than maybe because it's cheaper (cost of the hosting /database) to use php. Add to that the general population views of microsoft product and you get people that are against rather than pro-PHP

By: Aakash Sat, 17 Oct 2009 20:30:37 +0000 for lovers and php haters

get a list of top 100 websites

atleast 80 of them are written in php
facebook, Wikipedia, youtube, yahoo etc

By: Anonymous Sun, 27 Sep 2009 18:18:44 +0000 qw4 wa4trzxqwer cv

By: Aaron Fri, 25 Sep 2009 13:30:10 +0000 @Fer Now THAT'S funny!

By: Fer Fri, 25 Sep 2009 13:00:36 +0000 Microsoft will release php.NET muhhaahaahaaa.

By: Aaron Tue, 18 Aug 2009 20:09:43 +0000 Everyone coming to this site:

Please understand that this post is a JOKE! I'm sensing that some people visiting this post are taking it seriously. If you are, it rather apparent that you don't know a joke when one slaps you in the face. THIS IS MEANT TO BE FUNNY!

However, I am appreciative of the discussion generated when comparing the two languages on a more serious side. I encourage that discussion to continue. However, anyone who judges a language based on the layout of his or her keyboard really doesn't understand the nature of programming.

So, please, find this funny. It's meant to be funny.

By: Herb Riede Thu, 13 Aug 2009 16:01:14 +0000 I've spent my life coding in ASP, ASP.Net, PHP, ColdFusion, JSP, RIPScrip, ANSI, MS-SQL, MySQL, Visual BASIC, QuickBASIC, GW-BASIC, C++, Assembly...

Will be converting major ASP.Net site to PHP or CF post haste.

I always coded in VB and ASP, but .Net is a major pain. I am a PC-Compatible Mac Hater, but they have the model all wrong.

It is nothing but FrontPage: Next Generation.

By: Mike Fri, 24 Jul 2009 15:32:50 +0000 This is funny, indeed. I mean the reason why the OP regards PHP to be better than ASP.NET. It is obvious - not only because he actually said that he's at univ - that he hasn't got much real-life experience in coding. Such a silly thing, as the placement of a character, can not be regarded to, as a deciding factor in terms what coding language is better.

I've been developing for some 12yrs now and know both .NET and PHP. However, when it comes to usability and compatibility, .NET beats the living .*&# out of PHP, it's simple as that. If you don't like the placement of the % sign, you can always use a shortcut or bind that character to a more conveniently placed key on your keyboard. I think that is what most of us, experienced coders do. But of course, I'm not expecting you to be an experienced coder when you are still at univ, I wasn't experienced then either. 😉

By: Aglan Wed, 22 Jul 2009 02:02:54 +0000 well for me i prefered PHP than on time i sent my CV to a company they told me u will be tested in the interview of and sql server i said i donot know or sql i use php and mysql !!! donot know why many companys uses it. hay hay it'ss drag and drop okok u can use for gui Bludevoda and for fast coding u can use a framework like zend frame work or codeigniter i'm still giving asp a try and i really till now donot like it as every one said up overload y should i learn C# or VB, PHP for me is better it's easy !!! ya try learning it with things up u will find it easy and professionaly well i really one of php developers who need some standrization yaya i know frame works but i need something with GUI if a gui framework is made for PHP, will VANISH.

microsoft know where to get companies uses their tools like well for my experince most "or all" free lancers uses PHP. i'm not that kind of ppl who just say yukkkk i hate microsoft " and they know nothng" y linux is better dono it's just better by the way 85% from all servers uses linux 😉 rest r not microsoft are unix, openBSD... ms about 1 %.

anyway see what tool ur confortable with and can really implemnt strong applications with it and use it. wow this article has last along a war still going
windows 7 i heared it's good 😉 will give it a try.
oh forget to say something ppl
PHP is BETTER than 😉

By: Balaji Birajdar Tue, 21 Jul 2009 11:48:42 +0000

By: Balaji Birajdar Tue, 21 Jul 2009 09:54:04 +0000 I am a developer. I personally think that in the development point of view, .net brings all the windows and web development tools under one hood. So there are absolutley no compatibility issues between the tools during development.
Nextly, the .net code is readable , maintainable, structured as compared to PHP.
On the web compatibility side, the IIS generates the browser specific html as output. So the developer dosen't need to output custom HTML for each and every browser type. This is the unique and the greatest feature of .NET that is not found in any of the web development tools or platforms available till date...( And I mean it)
On the other hand, PHP is a scripted language which lowers the website performance( forget the accelerator..Its not of much use) and is a compiled (or precompiled ) which works much faster.
Real World Examples: converted from Cold Fusion to .Net and saw a 400% improvement in server efficiency. They predicted that they would save over $100K in the following year due to reduced hardware.

Sun Microsystems' Java Pet Store J2EE BluePrint Application
A team of 2 developers rebuilt the “Sun Microsystems' Java Pet Store J2EE BluePrint Application” using .Net in 4 weeks with 25% of the code. When tested in a lab, the .Net application ran %1000 faster than a tuned version of the Java application. The same Pet Store application was rebuilt by both Microsoft and Sun for an independent competition sponsored by The Middleware Company. Below is a comparison of the results:

.Net 1.1/Windows 2003

J2EE/Windows 2000

Lines of Code

Time required for tuning and optimization prior to performance test
2 man-weeks
10 man-weeks

Price/Performance Ratio – the cost per server divided by the maximum transactions per second the server could handle
$316 – in other words, for a Java application to handle the same amount of website traffic as a .Net application, and additional $989 would need to be spent on server hardware.

Maximum Pages served per Second

Maximum Number of Concurrent Users

Maximum Number of Transactions per Second

Test Notes: Each application was executed on identical Compaq Proliant servers; J2EE was tested on two Application Servers, one of which crashed midway and did not complete the test; J2EE used an Oracle 9i database while .Net used a SQL Server 2000 database; J2EE ran on Windows 2000 because it outperformed RedHat Linux 7.2 in a trial test. For the complete study, visit:

The Nile Benchmark
The Nile Benchmark is a complete end-to-end ecommerce application server benchmark that has been widely used by independent testing laboratories including Doculabs, eWeek®, and PC Magazine® to benchmark application server products. The Nile application is a useful benchmark because it is simple and straightforward, yet exercises the common elements found in most real Web applications. The benchmark shows that the Nile application implemented using Microsoft ASP.NET outperforms the same application implemented using EJBs on a leading J2EE application server by 345% on an 8 CPU system when output caching is enabled for both products. It also shows that the Microsoft.NET version of Nile outperforms the EJB version of Nile on an 8 CPU system by over 421% when output caching is not used.

By: Steven Fri, 17 Jul 2009 10:14:45 +0000 and php both suck dick. and google is in python for post #44. you stupid asshole. Python FTW!!!

By: Smarty Pants Sat, 20 Jun 2009 05:34:03 +0000 Oh, when will these comments end! lol I just wanted to say that for those stating that PHP doesn't have a good IDE or framework -- You're Wrong! I'll tell you (my personal preference ^_^) the best way to develop PHP applications is with Aptana Studio and CakePHP! Happy Coding!

By: larry Fri, 29 May 2009 01:01:03 +0000 I wanted to know whether was better than PHP for website creation. I found this site and, wow, some people really take this s--t seriously! Such hostility over a bunch a bulls--t. Break away from your liitle coding world and have a beer, find some romance, then, maybe you guys who feel so strongly about this crap, will lose some of your pent up frustration.

By: Mike Tue, 26 May 2009 02:31:27 +0000 I am a PHP master (not to gloat), I love the language and love the control. PHP is a language that gives you nothing, not even security. You have to develop that yourself. PHP can develop business critical applications, and can even be compiled and ran on the desktop! PHP has everything, because it is not only a scripting language, it is a language (based on pearl hence the $) Also since PHP 5 and the Zend Engine 2, PHP is now an object orientated language, where version 4 had the ability, but it wasn't the greatest because it was a "Sudo Object". PHP is the "Can Do Anything" server side language.

Then I was introduced to ASP.NET (not ASP). I dislike the lack of control, but I love the ease. Trivial things in ASP.NET take much time in PHP, like dbase layers and security. I don't like that I have to run IIS and Windows, but Apache and the Open Source Community are working on that. ASP.NET is a damn good server side scripting solution. Rapid application development, and a good way to think about how your app is going to work.

ASP.NET is the industry standard and can make you money. PHP should be the standard and maybe sometime it will. You have to find a very "Young" thinking company (like Google) to get paid for PHP. Yes Google is PHP, compiled PHP but is PHP! So both languages are great and for which one is better, well none.

By: Justin Sat, 23 May 2009 06:05:22 +0000 Wow. Congrats on pulling in comments on this post for nearly 3 1/2 years!

By: Hen Tue, 19 May 2009 08:26:58 +0000 Im a 8 years web designer, and yes im Apple fans, anything from Microsoft i will definitely go through the review before i spend my time to study their products, thing like ASP.NET.

However, just because it is from Microsoft, for that reason, i'm not willing to touch it, in fact, i rather spend more time to stick with PHP and see what possibility i can learn more and move forward from there.

By the way, this article and comment here is interesting 🙂

By: Patrick Mon, 06 Apr 2009 22:28:47 +0000 If you prefer coding by hand, then i'd say this isn't a joke 🙂 The one thing i like about is master pages..the rest is just ok. For db apps, i like wicket. Neither .net or java are the fastest interpreted languages, but sometimes i have to sacrifice performance for getting the job done faster.

By: Frontbottom Wed, 04 Mar 2009 03:19:31 +0000 What a complete load of poorly written rubbish. Your argument about constructor syntax is utterly trivial, plus you left out the "public" in the PHP version.

If you use a PHP framework, like zend, then namespaces are available to you. Something you are clearly ignorant of.

Anything in .NET is not going to be faster than PHP on the server if PHP is running in a proper LAMP environment, because .NET requires IIS and a Windows server - which is slow.

In terms of actual development time, that is something that is completely up to the developer. What frameworks they are using, their experience with the language and existing reusable code is going to tell the difference here. The language itself is largely irrelevant.

By: Nobody Sun, 08 Feb 2009 23:41:27 +0000 Seriously. In my opinionSeriously. I think that ASP.NET is WAY better than PHP, for few
very practical reasons:

1. Speed. .NET web is really faster than PHP web. Whoever says that PHP is 230% faster than ASP.NET, has server from year 85 or shit instead of brain.

2. Language. PHP, is terrible mix of different languages. Object model? Worthless. No namespaces that would make work with different classes easy, variables being able to be retyped to all possible data types (which i see as disadvantage). Using AJAX is hard. Constructor syntax looks like these:

class SubClass extends BaseClass
function __construct($variable)

Apart form that, any .NET language (C#, for example) has all I said. variables are being converted with things like .ToString() method. Using AJAX in ASP.NET can handle even little baby. C# constructor?

class SubClass : BaseClass
public SubClass(int variable)

Hahaha. So, once again. Do NOT learn PHP. PHP is SHIT, although I was learning it at beginning. I got all that crap into my brain and it was very hard for me to migrate to C# and .NET. Ignore a little bit steeper learning curve and begin with .NET. And PHP my ass.

By: Rob Thu, 15 Jan 2009 19:25:42 +0000 ASP.NET will no longer be much faster than PHP since PHP6 has a build in excellerator. PHP is much more configurable. As of PHP6, it will now be viewed as a programming language with the option of being complete in the OO department. With all of those things now eliminated, what else do you have?

Oh, but ASP.NET is pre-configured so that I can do this and that in one mouse click!!! Blaaaaahhh.

By: Monk Sat, 06 Dec 2008 05:56:36 +0000 Thanks for clearing this up!

By: Eric Tue, 02 Dec 2008 16:36:01 +0000 The only ones I can think of are online stores for large stores like I think wal-mart's online store is on ASP.NET too. But that is all ASP.NET is used for in web design(from what I have seen). Although, some of the applications on facebook are written in ASP.NET(but most are in Java).

By: Eric Tue, 02 Dec 2008 16:17:09 +0000 You said that ASP.NET provides an entirely new programming model? New compared to what? As I understand it, .NET is a framework and ASP.NET is basically ASP on the .NET framework. So if you were constrained to the .NET framework, how would that be a new programming model after you use it once? Now, I don't know much about large apps, but I do know about web design and web apps, and from what I have seen, most ASP.NET sites are pretty similar. They all seem to have pretty much the same layouts and in web design, I have only seen ASP.NET used for online stores. Besides for online stores, I almost NEVER see any sites or web apps developed with ASP.NET.