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. 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 open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download PHP: The Right Way ebook for free in PDF format (1.0 MB).
Table of Contents
Chapter 1
Getting Started
Chapter 2
Code Style Guide
Chapter 3
Language Highlights
Chapter 4
Dependency Management
Chapter 5
Coding Practices
Chapter 6
Dependency Injection
Chapter 7
Databases
Chapter 8
Templating
Chapter 9
Errors and Exceptions
Chapter 10
Security
Chapter 11
Testing
Chapter 12
Servers and Deployment
Chapter 13
Virtualization
Chapter 14
Caching
Chapter 15
Documenting your Code
Chapter 16
Resources
Chapter 17
Community
Book Details
Title
PHP: The Right Way
Subject
Computer Science
Publisher
Leanpub
Published
2016
Pages
76
Edition
1
Language
English
PDF Size
1.0 MB
License
In 2007, 144 UN member states voted to adopt a Declaration on the Rights of Indigenous Peoples. Australia, Canada, New Zealand and the US were the only members to vote against it. Each eventually changed its position. This book explains why and examines what the Declaration could mean for sovereignty, citizenship and democracy in liberal societies ...
Fundamental rights for all people with disabilities, education and employment are key for the inclusion of people with autism. They play as facilitators for the social inclusion of persons with autism and as multipliers for their enjoyment of other fundamental rights. After outlining the international and European dimensions of the legal protection...
Have you ever wondered how the open source world exists thanks to the contribution of thousands of people all over the world? Is there a way to learn the skills to contribute at maximum, or to improve it?
Open Source is a trending topic every year in the IT world but nobody talks about how to be part of it, instead only to be a consumer.
Join...
This open book adopts a rights-based approach to shed light on the different legal and policy instruments that have been developed to implement circular migration policies in the EU, and their consequences for the rights of migrant workers. It contributes to the understanding of the meaning of this concept in general and in the EU, as well as speci...
Do you know that an empowering word can spark ideas, open doors, change attitudes, and create solutions?
Words can do all these things and much more. They have the potency to redefine personalities, lives, and entire communities. Just think of some of the things words are used for every day:
- To communicate a message
- To express a feeling
-...
A lot of work is required to release an API, but the effort doesn't always pay off. Overplanning before an API matures is a wasted investment, while underplanning can lead to disaster. The second edition of this book provides maturity models for individual APIs and multi-API landscapes to help you invest the right human and company resources f...