When: June 30th, 6pm Eastern (3pm PST)
ColdBox at the CFMeetup June 30th
When: June 30th, 6pm Eastern (3pm PST)
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.
WireBox Binder and Configuration Introduction... from Curt Gratz on Vimeo.
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")
So, as you can see, you can do your injections a variety of ways. Now, go, read the docs, and install WireBox and get wiring your model up the easy way.
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.
WireBox Installation and Introduction... from Curt Gratz on Vimeo.
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.
Now, go, read the docs, and install WireBox and get wiring your model up the easy way.
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!