Blog
ColdBox 3.0.0 Means Simplicity!
I am preparing to release the M5 milestone for ColdBox 3.0.0 and I am really amazed at how simple ColdBox 3 is becoming not only in syntax but in principle. I am really excited about this release as it is a push forward in ALL areas of development. Lots of modularity and re-architecture has gone into the core and the results have been amazing. A speed and performance improvement of over 20-30% from 2.6.4 on same code bases have usually been seen and that is without adding the speed of engi...
MockBox - It's not just for unit testing
MockBox can have many amazing uses. One well documented use is in assistance in creating complicated unit tests insuring you are only testing one small unit of work, it can be used for many other interesting use cases.
One of the ways we find MockBox useful during our development cycle at Computer Know How is to Mock objects we haven't had the time to complete yet, but we do know what we expect as response. This allows us to continue development without waiting for the piece of something we haven't done yet slow us down, but keep the method calls exactly as they will be in when the object is complete.
So, how do you use MockBox outside of the context of a unit test? Well, its easy.
Inside a ColdBox application.
//get an instance of mockbox to use for mocking things not 100% built yet inside a ColdBox app
mockBox = createObject("component","coldbox.system.testing.MockBox").init();
Outside a ColdBox application.
//get an instance of mockbox to use for mocking things not 100% built yet outside a ColdBox app.
mockBox = createObject("component","mockbox.system.testing.MockBox").init();
Now that MockBox is initialized, we can start mocking objects. Lets say we have a User Object that we haven't had time to build yet. Right now it looks really advanced with lots of cool properties and functions that we spent a ton of time on. Something like this.
cfcomponent hint="I am the User ORM cfc"
/cfcomponent
Very interesting MockBox Post!
ColdBox UK Training Promotion
ColdBox CF Builder Extension 1.4 Released
We are glad to announce another release to our Adobe ColdFusion Builder Extension: ColdBox Platform Utilities. This release focuses on updating the core engine with updates, fixes and the following features:
Version 1.4
- Updated Application template versions to meet ColdBox 3.0.0 standards
- Lots of syntax updates and fixes to internal core and utilities
- Com...
ColdBox Training London, UK May SOTR
We have just opened the registration page for our new ColdBox 3 day training right after Scotch on the Rocks in London, UK. The dates are from May 26-27-28 and I will be the trainer. This is my first visit to SOTR so I am very excited to attend and also be able to train for the first time in the UK. The course we will cover is CBOX-101, which ...
ColdFusion ORM - filtered has[property] gotcha...
I was working more with Coldfusion 9 ORM and found another small caveat I thought I would share. When working with a relationship that is filtered, the implicit "has[property]", the has does not take into account the filter. The implicit get works as expected however. Consider the following persistent cfc...
ColdBox Training in London-Zurich?
I am currently planing to do a european training tour at the end of May for both the UK and Switzerland. The dates for such trainings would be May 26-28 right after Scotch on the Rocks, 2 days of CBOX-101 and 1 day of hands on boot camp coding. Then moving to zurich and doing 3 more days from May 31st- June 2.
This is a huge ordeal for us to plan from all the way over here in Cal...