Easily navigate to key clean code principles specific to PHP development with this hands-on guide
Learn the how and why of writing clean code through practical examples
Skip the superfluous knowledge and grasp everything that’s relevant to the real-world development environment
Description
PHP is a beginner-friendly language, but also one that is rife with complaints of bad code,;yet no clean code books are specific to PHP. Enter Clean Code in PHP. This book is a one-stop guide to learning the theory and best practices of clean code specific to real-world PHP app development environments.
This PHP book is cleanly split to help you navigate through coding practices and theories to understand and adopt the nuances of the clean code paradigm. In addition to covering best practices, tooling for code quality, and PHP design patterns, this book also presents tips and techniques for working on large-scale PHP apps with a team and writing effective documentation for your PHP projects.
By the end of this book, you’ll be able to write human-friendly PHP code, which will fuel your PHP career growth and set you apart from the competition.
Who is this book for?
This book is for early-career PHP developers who wish to avoid writing messy code by learning how to write understandable and maintainable code that sets them apart from rest. The book assumes familiarity with PHP coding and principles, but no knowledge of advanced principles will be necessary.
What you will learn
Build a solid foundation in clean coding to craft human-readable code
Understand metrics to determine the quality of your code
Get to grips with the basics of automated tests
Implement continuous integration for your PHP applications
Get an overview of software design patterns to help you write reusable code
Gain an understanding of coding guidelines and practices for working in teams
El libro es excelente, cubre temas importantes. Recomendado
Feefo Verified review
Laurin DavisDec 30, 2022
5
As a developer with over 20 years’ experience in PHP, I tend to read technical guides with critical eye. The authors seem to have a firm grasp of all facets of the development process, and error on side of being overly thorough, to ensure all readers understand the concepts upon which a clean code foundation is built. With many practical examples and specific direction on how to implement the principles described, this book would be very helpful if you want to either up your game as a developer, want to ensure that you are covering all points with your own process, or are looking for a resource to support your coaching and mentoring of your team.
Amazon Verified review
Michael SypesNov 28, 2022
5
This book will not teach you how to code, but how to think about what you code, which is at least as important. If you are new to programming, you need this information as much as the more common "code examples" books out there.The first part of the book explains the mindset needed to write code that not only functions in a computer, but is readily understood by other humans. Their time is more valuable than server time. While there are a few code examples expressing important points, the book excels at explaining and encouraging "best practices:" What they are, and why they are.The second part of the book provides continued guidance for actually implementing these ideas in practical ways with general directions for installing and configuring popular tools for making the production of clean code simpler and more streamlined, as well as evaluating the quality of your code.If you're new to programming (<3 years) this book is a must. Not just for you, but for your colleagues, present and future. They'll be glad you read it. If you've been programming longer than that, they should be preaching to choir, but you'll more than likely gain valuable insight into the whys and wherefores of what you're (hopefully) doing already, and may pick up a few additional pointers on tooling.
Amazon Verified review
anxiousguyNov 26, 2022
5
As a long-time PHP programmer (since version 4) that's always on the lookout to improve his craft, I get excited to see the tool of my trade is still being written about.To expand on the answer to the titular question, I'd like to offer some insight into the contents of the book. Wasn't everything already covered in other books from a plethora of publishers that came out in the last two decades? Is there something more to be said about PHP, more than 20 years after its initial release? Certainly!PHP was created as a practical, easy-to-use language. It always had an extremely low barrier to entry and that was one of the biggest reasons it gained popularity and adoption in such large numbers. Naturally, many introductory and reference books followed, to ride the way of popularity and help people get on board even quicker.As the language progressed (and the community along with it) and matured, everybody adopted a different style and an opinion on how to use the language in a clean, concise, and collaboratively acceptable manner. Unfortunately, resources and literature on those learnings didn't follow suit. That created a void that Windler and Daubois are addressing with this book.By building upon industry standards and already accepted good practices, authors have created a book that puts you, as a PHP programmer, in the driver's seat - navigating you and giving you advice on how to do it the right way.To write clean, and, as the front page says, human-friendly code in today's world, one needs more than just a knowledge of PHP's syntax. That's where this book excels. It will give you not just an overview, but also an explanation and how-to on many things built around the language.You'll learn about code quality and metrics (and the tools), tests, and what I enjoyed the most - working in a team and writing effective documentation.PHP is alive and well, and publications like this one are proof that it will stay so for the time to come. If you're just starting out or if you're a PHP veteran, there are things here that'll help you level up your game!
Where there is an audiobook version of a title available, you can buy it from the book details for that title. Your audiobook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalized audiobook download file.
Clicking the link will download the audiobook in a ZIP file. Unzip the ZIP file to your desired location to access the audiobook’s .mp3 files. You may play these .mp3 files on any supported player or device of your choice.
Please Note: Packt audiobooks are non-returnable and non-refundable.
Packt audiobook and Licensing: When you buy an audiobook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it, we have tried to balance the need for the audiobook to be usable for you the listener with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your audiobook for your own use onto any machine
You may not pass copies of the audiobook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, audiobook, eBook, or Bundle (Print+eBook) please follow the below steps:
Register on our website using your email address and password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Card, or PayPal)
Where can I access support around an audiobook?
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account