Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.net vs PHP (What to choose) [closed]

Tags:

php

asp.net

I have been assigned a task to develop a new web application. Its a kind of social web applications, for the sake of understanding you can say its similar to facebook. Now before start developing such huge application i have few questions to ask:

  • First, Does the tool and programing language affects the performance of web application?

e.g I made two web pages both have same contents over it, the only difference is that one page is made in ASP.net(with C#) and other is made in PHP, now which page opens more fast at user end? The only purpose of asking this question is that i want to choose one language which is more faster from end user prospective

  • Same is the case with database do i need to choose some specific database or i can use any database of my choice, currently i am considering:

1.MS SQL Server
2.MY SQL and
3.Postgres

like image 679
Jame Avatar asked May 09 '11 04:05

Jame


People also ask

Is ASP.NET more secure than PHP?

In other words, ASP.NET automatically does the work for you whereas PHP only provides you with the tools. So to settle which is better ASP.NET or PHP security-wise, ASP.NET would be the right choice. The PHP developers are provided with the tool and if they wish they can structure their apps securely.

What is the main difference between ASP.NET and PHP?

PHP is a server side coding/programming language. ASP.NET is a web application framework.

Why ASP.NET is slower than PHP?

ASP.Net is slower than PHP. Weight of ASPX pages is x10 heavier than PHP, so this makes the final user to be waiting more time to get the page.


2 Answers

This is impossible to answer and has been brought up many many times before. Do a search, read those threads, then pick the framework you and your team have experience with.

  • What advantages does PHP have over ASP.NET?
  • In Web Development - What ASP.net can do that PHP cannot do?
  • What are the fundamental differences between ASP.net and PHP?
  • The use of PHP vs ASP.net
like image 192
Matt Mitchell Avatar answered Sep 19 '22 06:09

Matt Mitchell


You can have great success and great performance either way. MSDN runs off of ASP.NET so you know it can perform well. PHP runs a lot of the top websites in the world. The same can be said of the databases as well. You really need to choose based upon your skills, the skills of your team, possible specific features that you need/want that one does better than the other, and even the servers that you want to run this site.

If I were building it, I would lean towards PHP because probably everything you want to do has been done before (with code examples how) and because hosting is so much easier to get (and cheaper because you don't have the licensing issues to deal with compared to Windows hosting). For the same reason, I would choose MySQL as well. It is a great database platform and the price is right.

like image 25
IAmTimCorey Avatar answered Sep 22 '22 06:09

IAmTimCorey