When to use PHP

Owing to its low learning curve, easy maintenance, and overall fast execution time, it is rare to find PHP is not the best choice for a web application. Homepages (big and small), database front-ends on the web, command line shell scripts where you want extra functionality, and even basic GUI development are all popular uses for PHP, and it excels at them all.

If you are doing anything that displays its text through a web browser, you are likely to find that PHP is your best choice. An increasing number of people are using Python for their web development, but it's still a tiny, tiny group compared even to Perl.


Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: When not to use PHP >>

Previous chapter: Competing Languages

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.