Hudzilla.org - the homepage of Paul Hudson
Contents > Introducing PHP > Advantages of PHP Wish List | Report Bug | About Me ]

2.2.8     Selling PHP to your boss

This is NOT the latest copy of this book; click here for the latest version.

If you want to use PHP in your company and your manager favours another solution, or if you are trying to convince a potential client that PHP really is a superior choice for the web, you are going to need to have a clear-cut set of reasons why you believe PHP is the superior language. This short list should help you get started:

  • PHP is cross-platform. It can be run on Windows, Linux, BSD, Mac OS X, and Solaris, as well as a variety of other platforms.

  • PHP is free. You can download the source code, use it, and even make changes to it without ever having to pay any licensing costs. You can even give away your own modified version of PHP. Note to critics: just because PHP is free, it does not mean you need to give your scripts away for free.

  • PHP is fast. In the majority of scripts beyond basic benchmarks, PHP will easily compete with both Perl and Python, and usually pull ahead of Microsoft's ASP.NET by about 10-15%. Add to that the fact that PHP code can be cached for execution, and PHP's performance is first-class.

  • PHP is capable. There are thousands of pre-written functions to perform a wide variety of helpful tasks - handling databases of all sorts (MySQL, Oracle, MS SQL, PostgreSQL, and many others), file uploads, FTP, email, graphical interfaces, generating Flash movies, and more.

  • PHP is extendable. Writing your own extension to PHP is a common and easy way to implement speed-critical functionality, and PHP's extension API is a particularly rich and flexible system.

  • PHP is reliable. As an official Apache Foundation software project, PHP is brought to you by the same people that produce Apache, the world's most popular web server.

  • PHP is easy to debug. There are a number of debuggers, both commercial and freeware, that make debugging PHP a snap.

  • PHP is supported commercially. Two of the main contributors to PHP founded a company, Zend, to sell supporting products and technical support for the language, so there is no need to worry about PHP not being supported by a big company.

  • PHP is supported by the community. There are several very popular PHP web-sites such as www.phpbuilder.com that provide user-run technical support for PHP, as well as a variety of official mailing lists to help you get answers when you need them.

  • PHP is advancing. With the release of PHP 5, PHP has introduced features that have long been waited for, including more comprehensive error handling, better object orientation, and, of course, more speed.

  • PHP is fun! As I am sure you will agree while using this book, PHP is an enjoyable language to use - very little time is spent debugging code, and there is a large selection of pre-written functions available.





<< 2.2.7 When not to use PHP   2.3 Extending PHP >>
Table of Contents
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.



My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!



Top-right shadow
 
Bottom-left shadow Bottom shadow

Comments from other readers
ulvays@gmail.com - 07 Sep 2008

Say, this is really a good and exhaustive book for PHP, i recommend this book to all begineers to know the know-how of PHP.

Kyle - 07 Sep 2008

In defense of the book, and as a reply to Scot's comments, I think the book doesn't need links. It's not an online howto guide, but is designed to be a book that hopefully will be printed. It would not be possible to have a printed book with links to websites, although the author has done a good job so far at listing key websites for information. I'm sure a quick search on google would yield a large number of debuggers for PHP. Go have a look!

ScotDiddle@silverdarkroom.com - 07 Sep 2008

Great book so far. I would like to see links to more items in future releases... For instance, I have not been able to de-bugg my PHP code, and on this page you say " There are a number of debuggers, both commercial and freeware, that make debugging PHP a snap." I would have used a pointer to a page which shows the available de-buggers... Scot L. Diddle, 804.231.8407



Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.

If you are reporting an error in the content, please tell me directly.

Your name/email address:
Your comment:
 
Now, in order to verify that you're a real person, please answer this simple question: what is three plus ten?
The answer is:
(please write in
numbers, eg 19)


Top-right shadow
 
Bottom-left shadow Bottom shadow