Pro PHP Refactoring (Expert's Voice in Open Source)
|
| List Price: | $49.99 |
| Price: | $32.99 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com
25 new or used available from $20.76
Average customer review:(2 customer reviews)
Product 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.
What you’ll learn
- What refactoring is and why you need to refactor code
- What test-driven design is and why you need to test your code
- How to write unit and functional tests with PHPUnit and Selenium Remote Control (RC)
- How to detect “bad smells” in PHP code, and refactor them using test-driven design
- How to refactor a large procedural application affected by many bad smells
Who this book is for
This book is for PHP developers, businesses, and developers relying on legacy PHP apps.
Table of Contents
- Introduction
- Finding “Bad Smells” in Code
- Introduction to Refactoring
- Principles and Rules
- Test-First Development
- Refactoring Tools
- Structuring Behavior
- Changing Class Responsibilities
- Dealing with Data Rationalization
- Reducing to Essential Conditional Executions
- Simplifying Method Calls
- Simplifying Generalization Relationships
- Legacy Code
- Regression Tests
- Refactoring with Patterns
Product Details
- Amazon Sales Rank: #1201735 in Books
- Published on: 2010-07-07
- Original language: English
- Number of items: 1
- Binding: Paperback
- 360 pages
Editorial Reviews
About the Author
Francesco Trucchia worked some years as web engineer on small, medium and large projects for international companies. Now he is the co-founder and chief technology officer of Ideato Srl, an Italian company in the business of web software development and agile methods. He likes to develop with extreme programming (XP) methods (test-driven design, pair programming, KISS, etc.) and he has introduced these practices in Ideato with a lot of positive feedback about the software life cycle process.
Francesco specializes in web engineering, web development, ITC consultant, ITC problem solving, symfony development, PHP development, project management, XP methods, and agile processes.
Jacopo Romei is an engineer with broad interests, and a passion for business and development processes. He's a great open standards and open source supporter. He pushes every project he is involved in to move toward integral agile methodologies, XP above all. He strongly believes that domain knowledge and agile methodologies are the key for success.
