Modernizing Legacy Applications in PHP

Modernizing Legacy Applications in PHP
  • eBook:
    Modernizing Legacy Applications in PHP
  • Author:
    Paul Jones
  • Edition:
  • Categories:
  • Data:
  • ISBN:
  • ISBN-13:
  • Language:
  • Pages:
  • Format:

Book Description
This book will show you how to modernize your page-based, include-oriented PHP application by extracting and replacing its legacy artifacts. We will use a step-by-step approach, moving slowly and methodically, to improve your application from the ground up. Each completed step in the process will keep your codebase fully operational with higher quality. Please note that this book is about modernizing in terms of practice and technique, and not in terms of tools. We are not going to discuss the latest, hottest frameworks or libraries. Most of the very limited code we do add to your application is specific to this book. When we are done, you will be able to breeze through your code like the wind. Your code will be fully modernized: autoloaded, dependency-injected, unit-tested, layer-separated, and front-controlled.


1. Legacy Applications
2. Prerequisites
3. Implement An Autoloader
4. Consolidate Classes and Functions
5. Replace global With Dependency Injection
6. Replace new With Dependency Injection
7. Write Tests
8. Extract SQL Statements To Gateways
9. Extract Domain Logic To Transactions
10. Extract Presentation Logic To View Files
11. Extract Action Logic To Controllers
12. Replace Includes In Classes
13. Separate Public And Non-Public Resources
14. Decouple URL Paths From File Paths
15. Remove Repeated Logic In Page Scripts
16. Add A Dependency Injection Container
17. Conclusion

Download Modernizing Legacy Applications in PHP PDF or ePUB format free

Free sample

Download in .PDF format

Add comments
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019