Quantcast
Viewing all articles
Browse latest Browse all 29

Using Interceptors in ColdBox for greater scalabaility

The other day I spoke about how to create your ownCBHelperand inject it into the request for later usage, today I want to to touch a little more on this with the use of interceptors to expand the application further, which will also allow for grater scalability of the application you are writing.

Nolan asked a question on theColdBoxmailing list that I thought I would blog about this, as I think it is a good topic and demonstration of how powerful using interceptors are. Nolan's question was about adding extra things into the header of a document, which he has working to a degree, but has the problem of it duplicating his code.

So lets discover why this is works, and is scalable.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 29

Trending Articles