About the Book
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. This book 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.
This is a living document and will continue to be updated with more helpful information and examples as they become available.
About the Editors
Since 2010 I've worked as a freelancer, consultant, Head of API, and CTO, for several API-centric technology startups. Most recently I have been working as an internal API consultant for WeWork, where I used my experience to help educate developers, define standards for API design and architecture, and work on open-source tooling like OpenAPI, JSON Schema, and HTTP. WeWork has 50+ APIs, and trying to get them all playing nicely together was a constant source of learning for me and those involved. Timeouts, circuit breakers, using service mesh instead of just hoping for the best, nd generally focusing on better design, leveraging async whenever possible, and all sorts of other interesting issues.
When I'm not fighting APIs I'm riding bikes. Racing them, crashing them, or rolling around with my mates, I'm either on two wheels, writing about tech, having a cider, or D) all of the above.