Category Selected:

coldbox-mvc

Blog

MockBox 1.2 Released!

Luis Majano |  March 19, 2010
I am happy to announce today a new release for MockBox: version 1.2. This can be downloaded standalone or via ColdBox 3.0.0 Nightly. This release brings in some more stability, faster code generation and some new functionality for you mock enthusiasts!

Read More


ColdBox 3.0.0 Means Simplicity!

Luis Majano |  March 19, 2010

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...

Read More

MockBox - It's not just for unit testing

Curt Gratz |  March 19, 2010

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

Read More

Very interesting MockBox Post!

Luis Majano |  March 16, 2010
Brian Car over at this blog has written an excellent entry on the benefits of Mocking with MockBox.  If you are a newbie to mocking, or an expert mocker :) then head over to his blog and check it out: http://cfcommons.org/index.cfm/blog/2010/3/13/unit-testing-done-right-with-mock-objects


ColdBox UK Training Promotion

Luis Majano |  March 09, 2010
I will be taking lots of ColdBox books to the UK for our UK training and for scotch on the rocks.  Not only that, we are releasing a promotion today for the first 2 students that register for our UK...
Read More

ColdBox CF Builder Extension 1.4 Released

Luis Majano |  March 07, 2010

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...

Read More

ColdBox Training London, UK May SOTR

Luis Majano |  March 03, 2010

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 ...

Read More

ColdFusion ORM - filtered has[property] gotcha...

Curt Gratz |  March 02, 2010

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...

Read More

ColdBox Training in London-Zurich?

Luis Majano |  February 27, 2010

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...

Read More

Donde estan los desarolladores latinos (Brasileiros tambem) de ColdFusion/ColdBox?

Luis Majano |  February 18, 2010
He estado pensando mucho en la comunidad latina ultimamente y viendo como poder ayudar a que crezcamos como comunidad de desarollo.  ColdBox es un projecto totalmente latino y muy orgulloso de ello.  Este blog post es para llamar a los desarolladores de ColdFusion/ColdBox latinos que estubieran interesados en hacer grupos de soporte de ColdBox en español, documentación en español, y mucho mas.  Este es un llamada a organización y para conocernos como comunidad.  Porfavor deja...
Read More