开发者

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

开发者 https://www.devze.com 2023-03-04 01:12 出处:网络
As it currently stands, this question is not a good fit for our Q开发者_如何学编程&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely
As it currently stands, this question is not a good fit for our Q开发者_如何学编程&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

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


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


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.


There are a couple of topics that might provide you with an answer. You could also run some tests yourself. Doesn't see too hard to get some loops started and adding a timer to calculate the execution time ;-)

0

精彩评论

暂无评论...
验证码 换一张
取 消