Hi.
PHP 4 PHP 5 ASP.NET
Software price free free free
Platform price free free $$
Speed strong strong weak
Efficiency strong strong weak
Security strong strong strong
Platform strong strong weak (IIS only)
Platform any any win32 (IIS only)
Source available yes yes no
Exceptions no yes yes
OOP weak strong strong
Its an answer on Q. from one of the numerous forums.
=======================
Is php fast than asp? Which one is easier to learn? Is MySQL better
than Microsoft SQL? Which one is more secure?
This all depends on what facilities are available to you; how far your
business ideas are progressed; what previous development experience
you have, what funding you have etc. etc.
There is no straight forward answer.
If you have been programming in Visual Basic for years and writing
apps that connect to Access databases via ODBC for example; then you
will be feel right at home with an asp / MS-SQL set-up.
If, on the other hand, you are new to all of this and don't have a
huge budget, go the open source option and set yourself up with a
Linux box, Apache, php and MySQL.
Is php fast[er] than asp?
Too many outside influences to call. Performance of hardware and
quality of code (particularly where database development is concerned)
has a bigger impact of "speed" than the language you use.
Which one is easier to learn?
Between asp and php, there is no real difference. php will come
quickly to anyone with a C background, whereas asp will come quickly
to anyone with a VB background.
Is MySQL better than Microsoft SQL?
"No" as the general answer, but this again is subjective to some
extent. Microsoft SQL Server is an extremely mature and capable
database server, with features, scalability, stability and raw grunt
that totally eclipse MySQL in comparison - but with that of course
comes expense. For hobby and small scale ecommerce sites you can go a
very, very long way with MySQL; but I don't yet know of a global
banking corporation that holds your account details on MySQL.
Which one is more secure?
Too many outside influences to call.
===========================================
Sources:
http://www.webmasterworld.com/forum22/1270.htm
http://otn.oracle.com/pub/articles/hull_asp.html
Hope that gives you something to think about! |