I just want to ask the reasons that which is better in all terms, that means finally after taking care of all aspects like security , platform independence , cost, development time and speed, etc.. what do you think - which is better PHP or ASP.NET? I'm a ASP.NET guy, so my opinion is obvious. What PHP is lacking I think is some comfortable to use and integrated development tools - of course there're dozens of those but none of them actually comes to close to Visual Studio or Visual Web Developer. Plus, with ASP.NET you have more freedom - you can program in C#, VB...
both of them have a advantage and disadvantage, for a big system, PHP can use for frontend and .Net for backend. for small system, i think php i enough. why? you can test profiling both of them. please googling for more result
Both languages are cool, however "better" is a subjective term. PHP costs a lot less to use than .NET so that is an advantage for PHP. It is easier to find a PHP developers so that might affect your choice. The community over a PHP.net is great and very helpful when trying to learn php. .NET's communities don't seem that helpful and frankly a lot of the .NET information out there is lacking. PHP has COM and DOTNET functions allowing PHP to do almost everything that .NET can, using the .NET framework. PHP can be run from apache or IIS on Windows, MACs and Linux boxes. .NET has some real advantages too: First of all Visual Studios is a very cool development app and can make popping out pages VERY easy. Also the ability of .NET to use Office items and other windows apps through .NET is a lot better than using the PHP COM. Lastly .NET uses Windows servers, which, for me, are easier to setup and manage than Linux (However PHP can run on widows too).
I like PHP more just because it's a scripting language and everything is so primitive compared to ASP.NET.
Undoubdtedly, ASP.NET c#, SO exhaustive, Highly secure, scalable, Purely Objected Oriented, TONS OF FEATURES, You can either do 3 - tier coding, or drag and drop. easy to learn, BUT WILL TAKE TIME TO MASTER(LOL) THERE SO MANY ASP.NET PROGRAMMERS TO HELP,
Really depends on your project requirements and the people you have hired. If you have a team of expert php programmers, they will sort everything well for you in terms of security, development time etc. Asking .net guys to do both php and .net projects would be a mess, vice versa.
Read the note in this website which gives you a set of brief tips about php and asp. I prefer php to asp as correctly stated in the note since I'm a C programmer.
i like both php and asp.net.. both languages are very strong.. but most people like solutions in php because there are no licensing and because of their limited budget... i like to work on both, depends on clients' requirements.
Both ASP.NET and PHP have pros and cons: ASP.NET:- Pros: Powerful IDE and Compiler Less Development Time Provide builtin complex structures like DataGid Cons: Costly because .NET is not free Not Open Source Not widely used PHP:- Pros: Free and Open Source Widely used Cons: IDE are not so much powerful Not Provide builtin structures, require more coding Development Time Increases