PHP has been giving dramatic improvements in recent years. However, as PHP itself does not formulate a standardized use method, together with the bad or even wrong PHP practices conveyed from many outdated PHP tutorials and books, this often makes PHP beginners astray. So PHP: The Right Way was born.

PHP: The Right Way has a special website that is used to collect and share the PHP best practices, coding standards and various authoritative online tutorials. For both beginners and PHPers with a certain foundation, it is very useful as learning or reference resources. BTW, its official online edition of document will continuously update its information and samples in the wake of the development of related technologies.

PHP: The Right Way was originally published as an online multilingual guide only, written mainly by Josh Lockhart & Phil Sturgeon for PHP website developers. But AppNee provides you its typeset eBook edition in PDF, EPUB and MOBI formats (English only), in order to give some convenience for offline reading and later viewing at any time.

Table Of Contents

  1. Getting Started
  2. Code Style Guide
  3. Language Highlights
  4. Dependency Management
  5. Coding Practices
  6. Dependency Injection
  7. Databases
  8. Templating
  9. Errors and Exceptions
  10. Security
  11. Testing
  12. Servers and Deployment
  13. Virtualization
  14. Caching
  15. Documenting your Code
  16. Resources
  17. Community

Read Online

PHP: The Right Way is translated into many different languages:

Download URLs

Format Download Size
PDF 561 KB
EPUB 135 KB
MOBI 442 KB
(Homepage)