Cargando…

Clean Code in PHP Expert Tips and Best Practices to Write Beautiful, Human-Friendly, and Maintainable PHP /

Practical lessons, examples, and practices from PHP experts on how to take your PHP skills to a professional level Key Features 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 Ski...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Windler, Carsten
Otros Autores: Daubois, Alexandre
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited, 2022.
Edición:1st edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a22000007a 4500
001 OR_on1348491184
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 221022s2022 enk o 000 0 eng d
040 |a EBLCP  |b eng  |c EBLCP  |d ORMDA  |d OCLCF  |d OCLCO 
020 |a 9781804618752 
020 |a 1804618756 
035 |a (OCoLC)1348491184 
037 |a 9781804613870  |b O'Reilly Media 
050 4 |a QA76.73.P224 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Windler, Carsten. 
245 1 0 |a Clean Code in PHP  |h [electronic resource] :  |b Expert Tips and Best Practices to Write Beautiful, Human-Friendly, and Maintainable PHP /  |c Carsten Windler, Alexandre Daubois. 
250 |a 1st edition. 
260 |a Birmingham :  |b Packt Publishing, Limited,  |c 2022. 
300 |a 1 online resource (264 p.) 
500 |a Description based upon print version of record. 
505 0 |a Cover -- Title Page -- Copyright & Credits -- Contributors -- Table of Contents -- Preface -- Part 1 -- Introducing Clean Code -- Chapter 1: What Is Clean Code and Why Should You Care? -- What this book will cover -- Understanding what clean code is -- The importance of clean code in teams -- The importance of clean code in personal projects -- Summary -- Chapter 2: Who Gets to Decide What "Good Practices" Are? -- Who decides these things anyway? -- Best practices -- where do they really come from? -- Design pattern principles -- Being context-aware -- Being consistent -- get results quicker 
505 8 |a About source code analysis tools -- About testing and its multiple forms -- Summary -- Chapter 3: Code, Don't Do Stunts -- Understanding code -- A bit of history -- The purpose of code -- Be understood, not clever -- A note on maintainability -- Using binary operators and octal, hexadecimal, and binary notations -- Assigning a variable and using gotos -- Excessively using comments -- Using ternary comparisons -- Using abbreviations -- Bringing micro-optimizations to your code -- Recoding the methods of the SPL -- Summary -- Chapter 4: It is about More Than Just Code -- PHP as an ecosystem 
505 8 |a Choosing the right libraries -- A word about semantic versioning -- What is semantic versioning? -- How to deal with semantic versioning -- Stability versus trends -- Summary -- Chapter 5: Optimizing Your Time and Separating Responsibilities -- Naming and organizational conventions -- Class files and interface files -- Executables -- Web assets and resources -- Naming classes, interfaces, and methods -- Naming folders -- Separating responsibilities -- Event dispatching -- Demystifying polymorphism -- interfaces and abstract classes -- Interfaces -- Abstract classes -- Summary 
505 8 |a Chapter 6: PHP is Evolving -- Deprecations and Revolutions -- Old versus new PHP -- Strict typing -- Error reporting -- Attributes -- The version 8 revolution -- Match syntax -- Named arguments -- Read-only classes and properties -- Migrating resources to proper classes -- Protecting your sensitive arguments from leaking -- Summary -- Part 2 -- Maintaining Code Quality -- Chapter 7: Code Quality Tools -- Technical requirements -- Syntax checking and code styling -- The PHP built-in linter -- PHP CS Fixer: a code sniffer -- Static Code Analysis -- phpcpd -- the copy and paste detector 
505 8 |a PHPMD: the PHP mess detector -- PHPStan -- a static analyzer for PHP -- Psalm: A PHP static analysis linting machine -- IDE extensions -- PHP Inspections (EA Extended) -- Intelephense -- Summary -- Further reading -- Chapter 8: Code Quality Metrics -- Technical requirements -- Introducing code quality metrics -- Aspects of software quality -- Code quality metrics -- Gathering metrics in PHP -- phploc -- PHP Depend -- PhpMetrics -- The pros and cons of using metrics -- The pros -- The cons -- Summary -- Further reading -- Chapter 9: Organizing PHP Quality Tools -- Technical requirements 
500 |a Installing code quality tools using Composer 
520 |a Practical lessons, examples, and practices from PHP experts on how to take your PHP skills to a professional level Key Features 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 Book 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. 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 Who this book is 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. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a PHP (Computer program language) 
650 6 |a PHP (Langage de programmation) 
650 7 |a PHP (Computer program language)  |2 fast 
700 1 |a Daubois, Alexandre. 
776 0 8 |i Print version:  |a Windler, Carsten  |t Clean Code in PHP  |d Birmingham : Packt Publishing, Limited,c2022 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781804613870/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL7108420 
994 |a 92  |b IZTAP