Strangler fig pattern: Difference between revisions

Content deleted Content added
m WP:GENFIXES on recently created page, added orphan, uncategorised tags
tweak, remove orphan tag (fixed)
Line 1:
{{Short description|Computer science architectural pattern}}
In programming, the '''strangler fig pattern''' or '''strangler pattern''' is an [[Architecturalsoftware pattern|architecturedesign pattern]] that involves wrapping old code.
{{Orphan|date=January 2024}}
 
In programming, the '''strangler fig pattern''' or '''strangler pattern''' is an [[Architectural pattern|architecture pattern]] that involves wrapping old code.
 
One use of this pattern is software rewrites. Code can be divided into many small sections, wrapped with the strangler fig pattern, then that section of old code can be swapped out with new code before moving on to the next section. This is much less risky and more incremental than swapping out the entire piece of software.<ref name=":0">{{Cite book |last=Newman |first=Sam |title=Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith |publisher=[[O'Reilly Media]] |year=2020 |isbn=978-1-492-07554-7 |pages=79–97}}</ref>