ENGLISH

Pro PHP Refactoring

Book information

Publisher
Apress
Year
2010
ISBN
9781430227274, 9781430227281
Language
english
Format
PDF
Filesize
2 MB (2597535 bytes)
Edition
1
Pages
360\353
Time added
2020-08-30 06:11:09

Description

Many businesses and organizations depend on older high-value PHP software that risks abandonment because it is impossible to maintain. The reasons for this may be that the software is not well designed; there is only one developer (the one who created the system) who can develop it because he didn't use common design patterns and documentation; or the code is procedural, not object-oriented. With this book, you'll learn to identify problem code and refactor it to create more effective applications using test-driven design. Front Matter....Pages i-xxi Introduction....Pages 1-3 Finding “Bad Smells” in Code....Pages 5-24 Introduction to Refactoring....Pages 25-46 Principles and Rules....Pages 47-55 Test-First Development....Pages 57-62 Refactoring Tools....Pages 63-84 Structuring Behavior....Pages 85-106 Changing Class Responsibilities....Pages 107-132 Dealing with Data Rationalization....Pages 133-166 Reducing to Essential Conditional Executions....Pages 167-186 Simplifying Method Calls....Pages 187-210 Simplifying Generalization Relationships....Pages 211-249 Legacy Code....Pages 251-264 Regression Tests....Pages 265-276 Refactoring with Patterns....Pages 277-327 Back Matter....Pages 329-335

Similar books