|
ASP.NET |
PHP |
Comments |
| Latest Stable Version |
4.5 |
5.3.8 |
November 2011 |
| License |
MS EULA |
PHP License v3.01 |
|
| Price |
ASP.NET – freeOS – Windows – not free
Webserver- IIS – included in OS |
PHP – freeOS- Linux free
Webserver- Apache free |
PHP can work on any webserver and any OS. ASP.NET only works on Windows/IIS. There is Apache module to be able to make work ASP.NET on Linux . |
| Hosting Price |
Shared hosting – sameVPS/Dedicated – little expensive |
Shared hosting – sameVPS/Dedicated – little cheaper |
Check “Cost” title for more info, why i says that shared hosting is same price. |
| Promoted by |
Microsoft |
PHP Community |
|
| Support by owner |
Yes |
No |
|
| Security Fixes |
Auto Update – part of OS |
Need to update separately when available |
|
| Languages |
C#VB.NET
JScripts
a lot more |
PHP |
|
| Database |
any |
any |
Prefered database for ASP.NET is MS-SQL, for PHP is MySQL |
| Development IDE |
Visual StudioMonoDevelop |
any ide |
You can write php code even in Notepad, however prefered ide is ZendStudio |
| Easy to learn |
yes |
yes |
From my expirience, ASP.NET Webforms with visual studio is very easy to learn. |
| Content Management Systems |
yes |
yes |
PHP is absolute winner here. |
| Backward Compatibility |
Old code will work on new framework versions without change |
Old code might need tweaks to make it work on latest versions |
There can be some problems with converting ASP.NET versions, however those fixes are few and quick compared to PHP. |
| Security |
depend of architecture |
depend of architecture |
There is no “AUTO” button to make your website secured. Its all about developer expirience.. |
| Performance |
Faster |
Slower |
Check “Performance and Speed” title |