Continuing the rant
Man I've tried it and rather than blowing anything out of the water, it simply blows. If you like WYSIWYG development environments and want one for PHP try: http://studio.qadram.com/ . The fact that web matrix comes with "integrated FTP" says it all to me (ftp is insecure and although many use it - dont - you're giving away your password everything you log in).
Web Matrix is a free developemnt environment superior to any free development environment for PHP
It may be that everything you do with ASP.NET requires a class, but ASP.NET is still a language - it has it's own syntax as rules.
ASP.NET is not a language - It's just a bunch of classes that runs on the .NET framework.
Neither does C++. That's why every C++ source begins with stuff like;
C# doesn't have any class libraries. Hardly an equvalent of C++. You would need to include the framework in this comparison for it to work.
The real comparison between the PHP environment and .NET is how good are PHP's code libraries and extensions? And I agree - PHP could do better when it comes to classes written in PHP. There's stuff that could be learnt there from .NET's control libraries.
This is an interesting point. XML (and all the extensions for it) I believe are both markup and programming language these days. Take this for example - a use of XSL Transformation;
XML is a markup (not programming) language for data exchange between systems, and I really don't see how it's relevant here. Transforming data in XML, transferring it, and parsing it inside an application doesn't seem very efficient.
We have source like;
Then a transformation like;
Now that above is just XML markup. But notice the stuff like for-each ? Give it and the source to an XML parser which understand XSL and you get this;
<xsl:stylesheet version = '1.0'
<xsl:sort data-type="text" select="@id"/>
Base XML is just markup. Having said it's "loosely typed", you can apply validation rules these days with XML Schema or RELAX NG.
More an more, XML is being used to build layers of abstraction into applications (particularily n-tier type designs). It's slower yes, but the answer to speed these days is more processing power. And with stuff like XSLT, you're in position to generate content once than transform it to HTML, WAP or whatever.