This video shows the basics of setting up a "Binder" with WireBox and how to setup mappings and alias using the WireBox DSL for super simple dependency injection that is easy to read.
Again, this is not even scratching the surface of what the binder in WireBox can do. Below are some other simple changes you could make to the binder or ways you could do injection
So this line
.initArg(name="daoPath",dsl="id:daoPath");Could change to
.initArg(name="",ref="daoPath") //refpoints to an id directly
as one possible alternative, so if we wanted, we could remove the .initArg and do it via annotations
function init(required daoPath inject) or
function init(required daoPath inject="id") or
function init(required daoPath inject="id:daoPath")
This video shows how to download and install the WireBox framework and offers super simple example of dependency injection using WireBox without any configuration or messy XML.
Again, this is not even scratching the surface of what WireBox can do, but I wanted to get you started and thinking. More screencasts will be following to help you go deeper into how WireBox can help you in your development.
Last night we did a presentation on MockBox, the ColdFusion Mocking/Stubbing framework. It was a good crowd and we got really involved in TDD, testing and mocking discussions. If you have never done any kind of mocking and testing, we encourage you to first see our blog post:
And then continue d...
This past few weeks have been a whirlwind but finally I can sit down and post the presentation we gave at Scotch on the Rocks in London a few weeks ago. The conference was my first SOTR and it was really incredible experience. The conference in itself is an experience and seeing friends was great. I had a wonderful time!
Last night I had the honor to share the stage with 8 other amazing developers to do a Pecha Kucha style presentation. It was a ton of fun and I encourage anyone who has a chance to present in this style to take it. It a unique style of presenting. 20 slides, 20 seconds per slide...What would you say?
I spoke on MockBox. Here are my slides if your interested.
Also, here is a video of me presenting. It was taken on my co-workers Blackberry, so the quality is might not be great
To wow the crowd, I also wore a Jedi robe I "happened" to have with me at the conference.
Please also know that we have a full presentations page in our wiki: http:/...