LightWire and Lighthouse Pro Application Configuration Example
I see a lot of discussions centered around application configuration and the merits of different implementations. Of these, XML cofiguraiton is the most pervasive. A suggested best practice when using xml config files is to keep them outside of the web root to prevent exposing key settings. After recently installing Raymond Camden's Lighthouse Pro, I learned that you can also obfuscate the xml inside a comment block. To try and understand this clever workaround, I openend the hood (a.k.a Appplicaiton.cfc) and noted that with a very small change in onApplicationStart I could introduce both an IoC/DI container and swap out the xml for a programatic config using Peter Bell's LightWire.



Thanks for the tip. I have had very limited exposure to Fusebox and XML config to be honest. Coldspring is the first time I've used it with CF. I used this approach in the example reference in this entry http://www.fancybread.com/blog/index.cfm/2007/4/10....