Victor's Blog about the Web, Security and Life

The web for me is a hobby where standards and best practices are daily bread. Security is a concern that everybody must be aware of its details for IT in general, and the web in particular, to be a safer place. My life, on the other hand, is that of a regular Lebanese citizen where politics and social issues are discussed on a daily basis. I hope you enjoy reading my blog and make sure to drop me a comment about any topic you find interesting.

Why I Prefer PHP over .NET?

Printable Version

victor | 18 May, 2006 15:59

One of the major differences between .NET and PHP is the outstanding performance and reliability that PHP provides.

I am always asked by people, especially students, about the reason why I prefer PHP technology over ASP technology. In its simplest form, I can safely say that PHP is safe and secure (by default) while .NET is not. It is obvious that .NET supports easy web development and fast production. To produce a website by a beginner using PHP might take 50% more time than it would take using .NET.

An expert PHP programmer, though, can produce solutions using PHP in almost the same time required by .NET developers. PHP outstands when it comes to cusotmized solutions (especially those related to customized GUI components such as combo boxes, complicated SQL queries displayed in simple XHTML forms, etc.)

PHP also outbeats .NET when it comes to XHTML validity since the XHTML written while coding PHP is completely up to the developer while that written by .NET is written normally by tools that don't produce valid XHTML.

 (More)
 
Accessible and Valid XHTML 1.0 Strict and CSS