Jump to ratings and reviews
Rate this book

Object-Oriented PHP Best Practices: A Small Handbook of Conventions for Writing Readable, Sustainable OOPHP Code

Rate this book
Object-Oriented PHP Best Practices is a book for beginners to object-oriented programming in a PHP environment. Ikram, a web developer who has been building websites since 2001, and his colleagues spent a year rewriting a 450,000-line educational system written in PHP that was an utter and complete mess, the result of a decade of constant changes in programmers in managers, with such wonders as a 2000 line functions doing upwards of 100 database calls to retrieve a student's name, and with band-aids thrown over known issues, and band-aids thrown over these band-aids, until the general accretion of mistakes and bad judgments had led to entire parts of the system being so massively convoluted that no previous programmer had been willing to touch them. As the team refactored the project, Ikram was tasked with taking extensive notes to create a list of conventions that would ease the task of rescuing the project from its tar pit, and more importantly, prevent it from falling back into the pit again as time passed and the project changed hands again. The result was a conventions document that Ikram extended into this book, which summarizes his most important findings. Ikram presents a set of simple yet powerful conventions (sometimes unintuitive) that ensure an object-oriented PHP project stays lean, modular, easy to read and easy to build upon. Most PHP programmers eventually gravitate toward these conventions as they learn painful lessons from past mistakes. This book takes the pain out of the process by identifying these mistakes early and helping you avoid them before you make them.

101 pages, Kindle Edition

Published March 24, 2017

9 people are currently reading
1 person want to read

About the author

Ikram Hawramani

51 books17 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
2 (50%)
3 stars
2 (50%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Onethreethreeseven Yo.
5 reviews7 followers
November 5, 2018
Well written book, but it is definetely not for an advanced programmers with a lot of experience, because it is overly simplified
1 review
Read
January 30, 2019
Pretty basic advices

Name your variables well, don't overcomplicate code and etc. Get it for few bucks, not worth more than that. Not terrible but bellow average book.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.