Thursday, September 14, 2006

PHP, ASP or ASP.NET?

The following is an interesting piece of discussion I saw on the site, which is the best language PHP, ASP or ASP.net. Truly in my opinion, each one has its own unique features and advantages, I have been committed to ASP.net but lately also tried my hands on PHP. I found it excellent. What about you?

PHP, ASP or ASP.NET? - Program - Web Technologies - Builder AU: "PHP – Hypertext Pre-processor
PHP is an open source server-side scripting language that is very similar in syntax to C languages. Although originally designed to run under Linux using the Apache Web server, it has been ported to work using virtually every operating system and any standards-compliant Web server software. From this it can be derived three of the primary advantages of PHP. Firstly, it is a cross platform technology and consequently PHP applications can be very portable – depending, of course, upon any additional components they are built to incorporate, such as vendor specific databases etc. This portability incurs an additional benefit by virtue of the fact that most Web hosting providers support PHP, making it fairly easy to change hosts if necessary.

Secondly, because PHP bears so much resemblance to C programming languages, it is very easily picked up by developers familiar with this syntax – one that is shared by Java, JavaScript and Perl, amongst others. Thirdly, being open source, PHP is constantly evolving and, more importantly, bug fixes are being regularly implemented to the core libraries, which are freely available.

In addition to these benefits, there are certain programming requirements that may make PHP an appealing choice for developers. Firstly, there are built-in libraries for the direct creation and manipulation of image and PDF documents. This means, for example, that if an application calls for dynamically-created menu images with anti-aliased text, or the exporting of pages to Acrobat format, PHP may be the ideal technology to do it. Although these features are theoretically available to competing technologies, they usually require the installation of third party custom components to do so.

Another situation that may make PHP the best choice of server scripting is where connecting to either mySQL or Postgres database"

No comments: