PHP: The ”Right” Way - Your guide to PHP best practices, coding standards, and authoritative tutorials.

PHP: The ”Right” Way - Your guide to PHP best practices, coding standards, and authoritative tutorials.

By Josh Lockhart
Book Description

There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.

There is no canonical way to use PHP. The website aims to introduce new PHP developers to some topics which they may not discover until it is too late, and aims to give seasoned pros some fresh ideas on those topics they’ve been doing for years without ever reconsidering. This ebook will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.

It is a living document and will continue to be updated with more helpful information and examples as they become available.

This book is on sale at Leanpub. 100% of the authors' royalties are going directly to the Electronic Frontier Foundation.

Table of Contents
  • 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
    No review for this book yet, be the first to review.
      No comment for this book yet, be the first to comment
      You May Also Like
      Also Available On
      App store smallGoogle play small
      Curated Lists
      • Pattern Recognition and Machine Learning (Information Science and Statistics)
        by Christopher M. Bishop
        Data mining
        by I. H. Witten
        The Elements of Statistical Learning: Data Mining, Inference, and Prediction
        by Various
        See more...
      • CK-12 Chemistry
        by Various
        Concept Development Studies in Chemistry
        by John Hutchinson
        An Introduction to Chemistry - Atoms First
        by Mark Bishop
        See more...
      • Microsoft Word - How to Use Advanced Algebra II.doc
        by Jonathan Emmons
        Advanced Algebra II: Activities and Homework
        by Kenny Felder
        See more...
      • The Sun Who Lost His Way
        Tania is a Detective
        by Kanika G
        See more...
      • Java 3D Programming
        by Daniel Selman
        The Java EE 6 Tutorial
        by Oracle Corporation
        See more...