Apache Sling’s tutorials include instructions to build a blog-like application with only 46 lines of code. This post is meant to step through the 46 Line Blog tutorial, accounting for new developments in Sling, and provide more context regarding the inner workings of Sling.
I’ve written about use cases for and benefits of Sling resource decoration. I thought it’d be good to follow up with some more notes I had on resource decoration.
Apache Sling provides a way to “decorate” resources before returning them through the Sling API. Here are some benefits and use cases for using Sling Resource Decoration.