Re: PHP faster then .NET?
I don't know but if the size is large then the amount of coding need to be done to move asp to php is an important factor, don't you think?
If they have vbscript in there then i suspect they are using asp and not asp.net so i would prefer to go the asp.net way.Another factor is the MS SQL to MySQL, are they sure that they are going to pull it?I mean clearly they will have to redesign all the database again and pass the data and that is not a factor that can be taken lightly.
Re: PHP faster then .NET?
sapator - most of the site is done in vbscript (asp). There are some areas using .net for advanced functionality.
Yes, the purposal is to convert all code to php, convert the SQL Server db to MySQL and convert the new server from Windows 2008 to a linux server.
I guess what I am looking for is an honest answer if php is actually faster then .net. I have been doing this professionally for close to 10 years and have done a little php but mostly asp/aspx. If php is the best way to do things maybe I need to change my approach.
Re: PHP faster then .NET?
After Googling "PHP vs ASP.NET benchmarks" the answer seems to be both yes and no; it really depends on what you're doing.
When it came to PHP outclassing ASP.NET or vice versa, it was by nanoseconds -- which only really makes a difference on enterprise applications where thousands of people will be hitting the system at once, and even then most tests don't use anything ASP.NET has to offer like page caching or sql dependency caching.
Long story short -- arguing that you're making the change because either language is faster is pointless, what really makes the difference is development time (cost) and what will be easier for your company to manage after the system is built.
Also, I don't know why but I would also assume, off the top of my head, that ASP.NET would inherently run faster than PHP because it is compiled by default, whereas PHP is not (although it can be).
Re: PHP faster then .NET?
Quote:
Originally Posted by
lleemon
sapator - most of the site is done in vbscript (asp). There are some areas using .net for advanced functionality.
Yes, the purposal is to convert all code to php, convert the SQL Server db to MySQL and convert the new server from Windows 2008 to a linux server.
I guess what I am looking for is an honest answer if php is actually faster then .net. I have been doing this professionally for close to 10 years and have done a little php but mostly asp/aspx. If php is the best way to do things maybe I need to change my approach.
If they already have a Windows 2008 server and are using sql server, why would they even consider replacing all of that just to go to PHP on a whim?
Something doesn't add up there.
Re: PHP faster then .NET?
Quote:
Originally Posted by
JuggaloBrotha
If they already have a Windows 2008 server and are using sql server, why would they even consider replacing all of that just to go to PHP on a whim?
Something doesn't add up there.
Two other firms the owner knows have said to move to php since 'it is faster'. I myself do not think it is but I don't have data to back up .net is just as fast or faster.
Re: PHP faster then .NET?
It depends on the servers, the connection(s) and the code. I can write crappy code that could make PHP run slower than ASP.NET... By the same token I can write crappy code that makes ASP.NET run slower than PHP. I could also write highly inefficient queries that will slow them both down.
Beware the consultants whose recommendation leads them to new business...
-tg
Re: PHP faster then .NET?
Listen if the #!$$#@@$# owner wants php then give him php + MySQL and make sure to charge an important amount of $$ for it.For goodness shakes!