One of friend (Web Developer) is planning to use ASP.net for my new website, I was just wondering Does ASP.net has an edge over PHP. Please help-thanks for the time roxy
I would go for php every time. I am sure you can do the same sort of things with both though - its a matter for personal preference.
If your web severs only run ASP.NET (and not PHP) and your developers are Microsoft only developers, then ASP.NET is the way to go... Otherwise I would use PHP.
We all are into Internet Field which is fast evolving. - Leave PHP Experience Behind - Leave the Servers you currently own. Now WHY would anybody choose ASP.net over PHP
That's because ASP.NET is a a bit faster with pre-compliation along with a full OOP language like VB.NET or C#. PHP is a scripting language and compiles at run-time. Plus with ASP.NET 2.0 you have a lot of stuff like a portal framework with webparts you can build your own portal system, a membership api and visual controls to design a registration / login system and a ton of 3rd party offerings as well. PHP lacks the features/design of ASP.NET. The developement to production timeframe for me anyways is a lot quicker with .NET then PHP plus I have saved I would say 50% of time reducing code typing. It may be expensive or does not run on Mono well but it saves a ton of time and when you can intergrate it with stuff that 97% of the world uses it's a good platform. I've designed huge projects with .NET from a CMS to a Enterprise Search Engine with redundancy and failover protection along with Load Balancing. This was possible because of the Windows API along with other product API's from Microsoft and the .NET Framework's own built in classes and methods. .NET is a great platform and does have enterprise quality that PHP seems to not really have IMO.
You sure about that? I run a setup where a PHP script is called about 2,000 times per second on a single machine and it could easily do twice that. Someone (a senior-level .Net developer) was never able to make the same functionality in ASP.NET work faster than 200 times per second before the hardware/operating system started to collapse on itself.
you can get compiled php code using zend. also php can be compiled directly with apache, making it more efficient. lots of help freely available. on the other hand, if you do have paid software, then why waste it?
In Asp.Net you can use lot of Addon tools and components.But with PHP you haven't much choice.Though now there are some available for free.But Asp.Net makes difference because it is backed by Microsoft and full time devoted team of professionals.
When I graduated from university, I made a concious decision to develop my skills on the Windows platform (ie. Windows 2003 Server, SQL Server, .NET with C# and VB). I made this decision more based on my belief that there was more work out there for someone with those skills than because I liked the technologies. Before then I had worked with Apache, PHP, mySQL etc. I have yet to see a really convincing argument that either is truly more effective than the other. As far as TCO goes, I reckon they're about neck and neck. Real world performance? Again, neck and neck. Lab performance? I don't consider myself qualified enough to say, but Shawn's data seems convincing. The question is more does this matter in an age when high powered hardware is getting seriously cheap. Personally I think this is a decision that should be made based on business information rather than techical arguments - it's clear that both sets of technologies are perfectly capable of achieving exactly the same thing. The differences are insignificant. IMHO. - Jamie
Both has advantages and disadvantages. PHP is free, many webhosting has it, a lot of free and open source scripts available... ASP.NET is good for large sites with big traffic, complied....
For a non-developer, I'd say stick with php. My tech decided that our new server should be a IIs machine with no Apache. It's been a total pain in the neck finding out of the box software that I need to make money. It's already set us back 3 weeks. At least that is my experience. Since I'm ignorant, I'll stick with whatever the mainstream is doing. Right now, that's PHP. Brandon
its quite simple for small to medium sites/webapps go with php for large to humongous sites/webaps go with .net/java u cant compare oranges to apples