C H A P T E R  15

image

Refactoring with Patterns

In this chapter we will see how some big refactoring techniques can improve the design of a procedural PHP application by refactoring with design patterns. All of the techniques attempt to solve common design problems with many common models, which helps us make the design of our application better and easier to maintain. Big refactoring techniques, in contrast to refactoring techniques, require a lot of time and care, because we are changing the software at the architectural level. We explain the mechanisms of big refactoring techniques using the legacy PHP application used in previous chapters.

Get Pro PHP Refactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.