Answer the question
In order to leave comments, you need to log in
What book to read on PHP to write relevant code?
I started learning PHP (I have some knowledge of C++98/14, Swift and pure JS) from Kevin Yank's book "PHP and MySQL From Beginner to Professional". This book proposes a structured style of programming that, despite its simplicity, still seems undesirable. What is there to read in order to immediately learn the correct manners of PHP7 and other relevant things?
Answer the question
In order to leave comments, you need to log in
www.phptherightway.com
Also in book format: https://leanpub.com/phptherightway/
"Correct manners" is a very vague concept. Definitely, you should immediately look in the direction of Unit testing (you can use it with or without TDD).
In general, about approaches to PHP, a good PHP book. Programming Objects, Patterns, and Techniques (Mat Zandstra)
Very useful and informative book Refactoring. Improve existing code (Martin Fowler)
I think a lot of people would recommend Gang of Four, but I think it's too heavy to start with. Rather, as a desktop reference-cheat sheet.
As for PHP7, active work is still underway on this version, in paper it is worth waiting until the final release.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question