ASP.NET has commercial support and is more money-driven. ASP.NET
development often associated with commercial tools and modelling
approach. ASP.NET requires less secure, stable and more expensive
windows platform than classic LAMP / FreeBSD approach (I use windows).
For rapid application development ASP.NET is slow, very formalized,
strong typed (i.e. not intuitive) and it's database API is too
overburdened to my liking, but ASP.NET has some interesting concepts
and native IDE support. For long-term, automatic code
management/testing/modelling/reversing this approach is probably good,
but I didn't see any tools for that yet.
PHP on the other side is positioned as low-end solution, easy to use,
not expensive (sometimes even free), but hard to maintain in complex
projects, because of poor support of complex programming paradigms and
mostly open-source than money-driven. PHP is very easy to start and
therefore there are many PHP programmers, but not many of them are
professionals. PHP is not studied in combination with UML or other
critical approaches for long-term complex projects and this leads to
low overall quality of many open-source PHP programs. Developers are
moving from PHP to Java or .NET because they prefer more well-paid
jobs. As a PHP developer I'm switching to ASP.NET for the same reason
and I have much to say about how I'd like to see the process of PHP
development. For example better PHP integration with Java, .NET and as
a general scripting language - not web-only, more resources to be put
in developing free !basic instruments for PHP (in debuggers,
profilers, test-suites/environments for continuous intergration -
?eclipse). And as of language itself PHP needs refactoring for new
web-generation with transparent XML/XHTML2/XSLT support, functionality
and documentation cleanup and revisioning. Environment tuning
on-the-fly via functionality layers which can provide extensions for
language constructs and concepts such as sessions, object persistion
along with standard function pack via .dll and php.ini (php.xml and
phpapp.xml)
To be short - PHP is simple, but lacks commercial support and hard to
maintain in a long-term perspective without special skills which many
PHP-only developers lack. Developers are attracted by simplicity and
low costs (or no costs at all), fast development process.
ASP.NET is commercial, it has a concept of application - not just
script, has a lot of documentation and tools. If you have money and do
not want to tightly participate in language development - that is
probably the best choice.
IMHO. =) |