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

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

By Josh Lockhart
Free
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
The book hasn't received reviews yet.
You May Also Like
Learn OpenGL
Free
Learn OpenGL
By Joey de Vries
Intermediate Python
Free
Intermediate Python
By Muhammad Yasoob Ullah Khalid
Reverse Engineering for Beginners
Free
Reverse Engineering for Beginners
By Dennis Yurichev
The Coder's Apprentice
Free
The Coder's Apprentice
By Pieter Spronck
Category Theory for Programmers
Free
Category Theory for Programmers
By Bartosz Milewski
Erlang Handbook
Free
Erlang Handbook
By Bjarne Däcker
Also Available On
Categories
Curated Lists