to me , php is open source and free, while .net is a company effort and is company specific.
both does the same job, .Net doing it in a special way that only OS that understand it's langauge can interpret it correctly. the PHP langauge syntax on the other hand relies solely on dispensing standard W3C HTML, and does not introduce alien or company specific syntax, and is thus fitting for public use.
.NET is thus tied to a particular OS, while PHP would be interpreted and would issue the same HTML regardless of OS being used.
if you use PHP, you can run it on any server but if you use .NET you specifically need a Windows server, which restricts the choice to the end user.
it's like if you energise your home with standard electrical voltage, than you can use any eletrical device made by any company, but if you use special voltage for your home, say 600VAC, you can then only use electrical equipment that were designed specially to work on 600VAC, and maybe only one company does that.
so even your humble toaster would be expensive to own.
and you have to go back to the same supplier for maintenance over and over again.
and will likely be told there is new toaster which will not burn your bread black, but you need to upgrade and it will cost you.
it's your home, you decide.
|