This is a guest post by Eric Peterson.
I had a unique use-case the other day, and I wanted to share the solution with you all.
ColdBox modules have revolutionized the way that CFML developers can reuse and organize code. Modules follow an HMVC, or Hierarchical MVC pattern that allows you to not only break apart your CFML app into smaller chunks, but to stack those pieces into a hierarchy that really makes sense of your code. We also call this module inceptions-- the act of nesting modules inside of each other.
So with that in mind, a question came across the ColdBox Google group today asking about how to access events from within nested modules and how that manifests itself in the URL. Before I responded, I spun up a quick site in CommandBox to test and I found to my dismay that the answer was very difficult to find in our docs. As such, I figured a quick blog post was in order since it's fairly easy to set up if you know what to do.
This is our final installment of the 12 Tips of (CommandBox) Christmas and we hope you've learned some new tricks! In this last segment, we'll cover setting up custom error pages for your CommandBox-based web servers. This applies to all CF engines that you start and can help you add a bit of polish to a CommandBox-powered site you want to make public!
As we continue with our 12 Tips of (ContentBox) Christmas, we at Ortus Solutions are giving you a gift of developer productivity, we will share a few tips and tricks that will keep giving all year around. Brad Wood is also doing 12 Tips of (CommandBox) Christmas.
How do I get started with ContentBox?
Merry Christmas everyone! We hope you had special time with your family and loved ones. You may have a new year's resolution to learn something new. Well, why wait when you can learn something new right now! Today in our 12 tips of (CommandBox) Christmas, we'll do a quick crash course on semantic versioning, or semver as you'll oft see it called. You may think you know everything, but keep reading and I'll bet you learn something.