No. Just kidding, there may be I don't know because I don't use ASP. I prefer PHP because it isn't made by Microsoft and because it is much more universally accepted and supported. I don't imagine there is anything ASP can do that PHP can't do easier and more efficiently. Just my two sense...
well, for one, php uses inline code where as .net is precompiled and so quicker however the framework itself adds load to the server. .Net is quicker to develop in - when we offered both .net and php .net on average was 20% cheaper due to the speed difference Ultimately it comes down to personal preferences there are strengths and weaknesses to both
The main difference is this: what you do with 100 lines of spaghetti code in PHP, you can do it much easyer in 10 lines with ASP.NET Yeah, not ASP. ASP alone is MS-DOS compared with the plus added by the framework. And BTW, ASP.NET (and .Net development tools from Microsoft) are free also.
I am .Net Developer for more than 4 years and can assure you that ASP.NET 2.0 is one of the fastest web platforms. But it comes for a price: Windows hosting is expensive and MS SQL Server database hosting too. ASP.NET is more targeted at enterprise web applications. If you need a small CMS like system you can again use ASP.NET but only if the hosting price is ok for you. Good Luck!
With our shared hosting Windows is cheaper than Linux on a like for like basis - our dedicated windows box is more expensive than the old linux one used to be though
i think the price depends on what your application needs. you can get good (not alot of space) asp.net hosting for 2$ and up. i think the best option for .net hosting is to get a VPS. install MSDE for SQL Database plus you can install new frameworks / tool kits with out having to stalk a hosting company windows VPS starts at 30$ i think with godaddy
I would prefer PHP, as there are a huge amount of ready made scripts available and are free of charge compared to ASP. For PHP, if you need a function you can always find a script that is free, but ASP you may need to pay for it.
There are more free scripts for PHP than ASP but at the same time there is no shortage of free scripts either.... cannot think of a single application type where I havent been able to find something. Given .Net is much more component based it is generally much easier to use them too.... eg captcha, add it to VS or VWDE and to ever add a captcha in the future you drag it from the toolbox onto the place you want it and its done plus a simple properties window is there to set any of the associated variables (in the case of a captcha level of distortion, number of letters etc)
I made a very simple test: I wanted to build a simple database on a page, and be able to sort, modify, delete, and add rows within that page. With ASP.NET it took me 3 minutes with no lines of code. All was generated by the IDE. Even a good looking interface for that table. And also, with just one single click I was able to include pagination. And even more, I added just the ScriptManager and UpdatePanel control on that table, and I had AJAX on that table! Total time: 5 minutes. Code lines: 0 I wonder how fast and easy can you do that in PHP If you want, I can post a video with all that
Seconded, having done al three extensively, you cannot really compare .NET to PHP, PHP now has classes unlike classic ASP (Where you had to use COM if you wanted to do any real re-use of code). However, PHP is *still a scripted language* whereas .NET applications are compiled which means you can seperate out different layers (Business Logic, Data Layer) etc into different projects for re-use later. Having said, that, .NET comes at a price like all Microsoft Products (Forget the freebie editors, any professional programmer knows that Visual Studio is a small price to pay for such a powerful IDE). PHP has to play catchup to .NET in terms of power (Not just web power but the ability to easily convert a written app into a desktop application and back if needed, in .NET you just would need to change the presentation layer, what would you need to do in PHP? Could you even do it?) However, PHP $hits all over ASP, if a scripting language for the web is your choice PHP no questions asked. CHeers Markus
I do not agree with ASP.net hosting is expensive. I pay the same price on Godaddy.com for PHP or ASP.net hosting. Both the languages have their own advantages but PHP puts less load on server and doesn't really require frame work to run on server. It just require web server so I recommend PHP.
asp is from microsoft, so it has many features that can crash your site, loads on it, bugsy that, and about all microsoft features applied to asp. you know. php is more comprehensive and powerfull. with less load on server, quicker than asp, less bugsy, less working. but need more perfection in programming the only disadvantage.