You Will Find been lots of discussion about this subject and I guess nearly everybody have many different views about it. I am a total-time freelance developer and do assignments with PHP and ASP.INTERNET so I might have a a bit more neutral view regarding the two.
from the aged days in the occasion you asked me to compare PHP and ASP, I would have stated PHP without any hesitation. ASP was cumbersome to me with way excessive overhead and lacked the OOP factor. But nowadays with the more recent.INTERNET frameworks it’s much tougher to create up my thoughts.
Each languages have their own pro’s and con’s. I arrive from a C++ track record and creating code with C# and PHP equally give me lots of satisfaction, so about the design and object oriented coding stage they are each on equal ground for me. i do know ASP.INTERNET has much better OOP assistance, but for what i want and the tasks I do, PHP is great. Without comparing too much low level differences between the two engines.
The things that stand out most about PHP are:
Platform Independence – And yes, I know there’s the mono framework that supposedly makes ASP.NET independent. Well in my opinion, if it was not natively develop to be platform independent then it’s not. I don’t like hacks to create factors work. Painless Deployment – I’ve never ever when, deployed and ASP.INTERNET application from a dev environment to a live environment without any problems. With PHP it’s nearly often flawless. An Abundance of Resources – You often locate solutions to inquiries, complications and 3rd get together courses to do factors less of the challenge than with.INTERNET resources. Due to the open source nature of PHP development.
The issues on the other end that I like increased about ASP.NET development:
Access to the.NET Framework (CLR) – The libraries has all the pieces you need created-in. there is no really have to download a class to attempt nicely formatted emailing or encryption, you’ll uncover it all there. Far Better UI controls out of the box – The grid components make it fast and easy to slap in concert a data viewing or editing screens. I suppose with add-ons to PHP like jQuery similar tends to be achieved. Ideal Debugging Support – I am by indicates of Nusphere’s PhpED for improvement and it comes close with its debugging functionality, but not a thing beats Visual Studio’s debugging support.
So which 1 do I decide on?
Nicely, if I were new to internet improvement and had to choose. I’d decide on PHP. But i might also invest enough time to learn ASP.WEB in C# keep in mind, not VB.WEB.
I Am Going To continue on to assist both equally languages in my organisation. There are times when PHP is more appropriate and other people when ASP.NET tends to make much more feeling. lots of my Federal Government function also needs ASP.INTERNET because of their licensing agreements with Microsoft. So it is sensible to learn each.
If you’re serious about speedily operating through a comprehensive crash course in PHP with step-by-step examples go to http://www.php-skills.com
To learn ASP.NET go to http://www.ASP.NET for knowing product.
First-rate luck!
Erhard Smit