Categories


Archives


Recent Posts


Categories


Service Decorators in Practice

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

While this isn’t a straight up decorator tutorial, it does describe a practical application of the pattern which (unlike most of the decorator pattern documentation I’ve read) is a decent way of getting your head around the who/what/where/when/why of this pattern, particularly if you’re interested in Symfony’s built-in decorator support.

Copyright © Alan Storm 1975 – 2019 All Rights Reserved

Originally Posted: 5th March 2019