I'm working on an open source PHP project for websites, and once I release version 1.0, I want to provide the same product for websites using the IIS/ASP.NET platform.
When the time comes I'll go ahead and learn ASP.NET to do the translation, but it would be helpful for me to know already if there are any fundamental conceptual or architectural differences between the two platforms. I want to bear these in mind while building the PHP, to enable the two code bases to look as similar as possible, even though there will be of course be many differences in syntax and library function names.
I thinking of things like variable/array types, constant definitions, function namespaces, HTTP form and header handling. Anything that will make it difficult to look at the two code bases side-by-side, and see a direct correlation between each line of code.
My PHP is backwards compatible to 4.x, so I'm not using exception handling or objects.
Are there any good articles or point-by-points about this online?