Three alternatives to PHP.
ASP.Net – The advantage of using ASP.Net is it is a complete frame work for building web pages and it will automatically generate the static html code. Another nice thing about ASP.Net is that it has a lot of built in components such as the data grid for data sets. There are several choices of programming languages to use with ASP.Net such as VB.Net, C# and Pearl Script, where in PHP, the developer has to write the static html stuff and can only use the PHP script. In ASP.NET, integration with databases can be accomplished through ODBC. “In PHP, you can also use ODBC, and there are also native drivers for MySQL, Oracle, and Postgres. Also, if you are connecting to Oracle, a special OCI8 library provides more feature-rich access to Oracle. One disadvantage of using Asp.Net, it is not completely backward-compatible with previous versions of ASP, and is expensive with respect to memory usage and execution time. Furthermore, PHP cannot be used to write client side processing and ASP.Net can. Also, PHP variables are case sensitive and ASP. Net’s are not. Another thing, ASP.Net is a strongly typed language and variables have to be declared and PHP variables don’t. One more down side to ASP.NET is that it is only compatible with an Internet Information Services (IIS) Server by Microsoft.
PERL:
Perl cam be used in many programming ways: procedural, functional, and object-oriented Perl is free software and is cross platform compatible like PHP. PHP pages are constructed like HTML pages, with standard HTML markup. “PHP code is inserted into the page and executed when the page is requested. Conversely, Perl scripts are run as stand-alone programs and create HTML pages when the script is run.”
Cold Fusion:
Cold fusion makes it simple to loop through a table of data. On the other hand, it has its own syntax for creating html pages and not easier that the standard way, but you can still use the standard syntax for making html. So there’s an option there. PHP has more examples and documentation than Cold Fusion because PHP is free. All in all there are not a whole lot of differences in the languages.
References:
PHP and ASP.NET Go Head-to-Head By Sean Hull
http://www.oracle.com/technology/pub/articles/hull_asp.html
Media College
http://www.mediacollege.com/internet/perl/perl-vs-php.html
acsoft.biz
http://www.acsoft.biz/cfvsphp