Why using PHP ?

PHP is one of the most popular server side scripting languages running today. It is used for creating dynamic WebPages that interact with the user offering customized information. PHP offers many advantages; it is fast, stable, secure, easy to use and open source (free).

Rasmus Lerdorf wrote the first PHP (first called Personal Home Page) scripts as a series of Perl scripts that he used to track visitors to his webpage and to see who was viewing his resume. He eventually rewrote PHP as a scripting engine and added support for forms. PHP has been evolving since 1994 as an open source code. A community of followers and developers formed and began using and further developing PHP. Over the years the Personal Home Page acronym was dropped and it evolved into the PHP Hypertext Preprocessor.

PHP code is inserted directly into the HTML that makes up a website. When a visitor comes to the website, the code is executed. Because PHP is a server side technology, the user does not need any special browser or plug-ins to see the PHP in action.

The beauty of PHP lies in its simplicity. It is easy to understand and learn, especially for those with backgrounds in programming such as C, JavaScript and HTML. The language is similar to C and Perl so that anyone with a background in either C or Perl programming will feel comfortable using and understanding PHP. PHP also runs on just about every platform including most UNIX, Macs and Windows versions.

PHP doesn’t use a lot of the system resources so it runs fast and doesn’t tend to slow other processes down. It is typically used as an Apache module, written in C, so it loads and executes quickly. It works well with other software and can be quite fast. PHP is also stable and since it is open source, the PHP community works together to fix any bugs. The community offers technical support and continuously updates the code further expanding PHP’s capabilities.

PHP offers many levels of security to prevent malicious attacks.

Another key advantage of PHP is its connective abilities. PHP uses a modular system of extensions to interface with a variety of libraries such as graphics, XML, encryption, etc. In addition, programmers can extend PHP by writing their own extensions and compiling them into the executable or they can create their own executable and load it using PHP’s dynamic loading mechanism.

In addition to extensions, PHP has tons of server interfaces, database interfaces and other modules available. Of the server interfaces, PHP can load into Apache, Microsoft IIS, Roxen, THTTPD and AOLserver. It can also be run as a CGI module. Database interfaces are available for MySQL, Microsoft MS SQL, Informix, Oracle and plenty of others. If a database is not supported, ODBC is an option.

The main PHP source repository is loaded with modules and interfaces that users have written and contributed. There you can find modules for flash movies, PDF files, calendars and more.

A huge advantage that PHP offers is its community. Since PHP is an open source project, the PHP community is willing to share.

PHP is the best choice for developing WebPages & Intranet applications, it is compatible with any database, and web servers, and integrates well across many platforms and with various software
programs.

Below is a diagram from Oracle.com comparing between PHP & ASP.net

oracle-comparison
For the above reasons this is why i choose and recommend for you PHP as its primary language for Web Space & Intranet Applications.

Links:
www.php.net – The official PHP website
www.zend.com – The PHP Company
Framework.zend.com – Zend framework
www.zendcon.com –  Zend Conference Official website

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Robert Recent comment authors
  Subscribe  
Notify of
Robert
Guest
Robert

Hi,

This comparison is very interesting… This table shows that PHP is a great language but in reality… Things aren’t so beautiful 🙂 PHP with Apache and MySQL aren’t first league players if we take into account serious project (enterprise projects).
From my point of view this ‘cake’ belongs to Java and .net. The diagram shows that PHP is realy good choice but in fact PHP meant to be rather a toy then a really enterprise solution…

What do You think about this 🙂 ?

Best regards,
Robert Wójcikiewicz