{"product_id":"9781430227281","title":"Pro PHP Refactoring","description":"\u003cp\u003e    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.      \u003c\/p\u003e    What youll learn\u003cul\u003e  \u003cli\u003eWhat refactoring is and why you need to refactor code \u003c\/li\u003e  \u003cli\u003eWhat test-driven design is and why you need to test your code \u003c\/li\u003e  \u003cli\u003eHow to write unit and functional tests with PHPUnit and Selenium Remote Control (RC) \u003c\/li\u003e  \u003cli\u003eHow to detect bad smells in PHP code, and refactor them using test-driven design \u003c\/li\u003e  \u003cli\u003eHow to refactor a large procedural application affected by many bad smells \u003c\/li\u003e \u003c\/ul\u003e Who this book is for      \u003cp\u003e     This book is for PHP developers, businesses, and developers relying on legacy PHP apps.       \u003c\/p\u003e     Table of Contents\u003col\u003e  \u003cli\u003eIntroduction  \u003c\/li\u003e  \u003cli\u003eFinding Bad Smells in Code   \u003c\/li\u003e  \u003cli\u003eIntroduction to Refactoring   \u003c\/li\u003e  \u003cli\u003ePrinciples and Rules  \u003c\/li\u003e  \u003cli\u003eTest-First Development   \u003c\/li\u003e  \u003cli\u003eRefactoring Tools  \u003c\/li\u003e  \u003cli\u003eStructuring Behavior   \u003c\/li\u003e  \u003cli\u003eChanging Class Responsibilities  \u003c\/li\u003e  \u003cli\u003eDealing with Data Rationalization   \u003c\/li\u003e  \u003cli\u003eReducing to Essential Conditional Executions \u003c\/li\u003e  \u003cli\u003eSimplifying Method Calls  \u003c\/li\u003e  \u003cli\u003eSimplifying Generalization Relationships  \u003c\/li\u003e  \u003cli\u003eLegacy Code   \u003c\/li\u003e  \u003cli\u003eRegression Tests   \u003c\/li\u003e  \u003cli\u003eRefactoring with Patterns \u003c\/li\u003e \u003c\/ol\u003e","brand":"Apress","offers":[{"title":"Default Title","offer_id":47134049173744,"sku":"9781430227281","price":39.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9781430227281_p0.jpg?v=1763750223","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9781430227281","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}