The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

ColdBox 2.0.1 Request Snapshot Debugger, see your data as events get fired!!

Luis Majano
Oct 15, 2008

 

One of the most coolest features the 2.0.1 release brings is a Request Context snapshot viewer as part of the ColdBox Debugger. This snapshot shows you the state of your request at every specific event execution time. I find this tool extremely amazing, since I can see how my variables change, when they change, which event changed/added/removed them and much more. Look at the screenshot below: ColdBox Debugger As you can see from the screenshot, the debugger has a RC Snapshot column that you can expand and collapse. Once expanded on a specific event, you can see the content of the request collection as the event got executed. You can see the xeh variables, the dbService object and its type, the event variable and more. As your application executes events, the snapshots are taken and will be ready for visualization in the debugger. This is a great tool and a great way to debug your applications. No more cfdump and aborts to see where variables get set. Just look at the snapshot.

ColdBox MVC, Tutorials, Tutorials, Tutorials 0

Dashboard Urgent Update!

Luis Majano
Oct 15, 2008

 

Thanks to AJ Mercer, The application template included in the download for the dashboard became corrupt. I replaced them in the distribution files and I am attaching the zip file to this post. You can download it and place it under the following directory: {DashboardInstall}/model/templates/apptemplate.zip Just replace the old zip file and you should be ok. If not, just download the bundle again. Sorry for the inconvenience.

ColdBox MVC 3

ColdBox Cheat Sheet, come and get it!!

Luis Majano
Oct 15, 2008

 

I just put together a ColdBox cheat sheet for all you ColdBox Developers. This cheat sheet gives you an overview of the most used functions in your every day development, tips and tricks. I have included a copy with the download bits and also in the track site. Now, you can also download it from here. ColdBox Cheat Sheet Again, this is a great way for you to learn the framework and have all the common methods handy. When I get more DONATIONS, I'll create a big old POSTER like the FLEX ones.

ColdBox MVC, News 2

Adam Fortuna: Automatically include your views with ColdBox

Luis Majano
Oct 15, 2008

 

Adam Fortuna created a post on a technique to automatically assign default views to your application, which is very very interesting. I also posted an alternate way of assigning default views/layouts to even any handler by just creating and implementing a preHandler or postHandler method on your handler. Great Snippet Adam!!

ColdBox MVC, Tutorials 1

More ColdBox Guides: Plugin Guide, Reserved Words, Custom Config Files, and more.

Luis Majano
Oct 15, 2008

 

As always, more documentation so you can get to expand your knowledge on ColdBox. The following guides have been created and some have been updated:

New Guides

* Reserved Words & Methods Guide * Load Custom ColdBox Config Files * Plugins Guide

Updated Guides

* FAQ * Start Page

ColdBox MVC, News 0

ColdBox 2.0.2 now out!! Come and get it!! Tons of new stuff.

Luis Majano
Oct 15, 2008

 

Well, yet another ColdBox release!! This one is an exciting one as we approach the 2.1.0 release. More unit testing capabilities, less restrictions, more fixes and more great stuff. This release thanks to God's grace on permitting me do thing I though I could not do. So here is the list of fixes, features and updates. Ohh by the way, a whole new Dashboard is also release, version 2.2.0 with full Railo support, more application generation capabilities, BlueDragon 7 support, and more.

ColdBox 2.0.2

* Full Railo 2.0 Support * Full BlueDragon 7 support * Application Template updated with new Unit Testing Suites, and new base unit test handler. * New and Updated Eclipse Snippets with unit test skeletons. * Docs updated to reflect changes * Discovery of CFML engine and version and store in ColdBoxSettings * BlueDragon 7 Charting - Enable for OCM * Samples Gallery updated with i18n Fixes. * Logger plugin compliance to coldfusion 8 eclipse plugins. * Customizable event variable name via config.xml, no more only 'event' you can now choose your own. * ExceptionService - if custom bug report fails, error calling exception handler Fixed. * Unit Testing Controller, Base Test And Test Suites,You can even use the setnextevent method now. * Request Context - New Methods for DefaultLayout, DefaultView, and ViewLayouts * BugReport use new event methods for reporting. * Default View Setting alongside Default Layout, you can now also choose a default view. * IncludeUDF() method for handlers/Plugins - You can now programmatically mix-in methods into any handler and plugin. Advanced OO features. * Critical Fix for Concurrency issue on config reloads * Concurrency locks for OCM - friendlier locks * ColdSpring ColdBox Proxy Factory: ColdboxFactory.cfc, you can now use this factory in your coldspring declarations to get a reference to the current running coldbox controller, instantiate plugins, and configuration beans. * setnextEvent - proxy updates to grab the last part of the cgi script_name Fix * ColdBox OCM - expireAll() new method, will expire all objects in the cache. * Code optimization and cleanup. * Now includes a cheat sheet. As you can see, action-packed like always.


Dashboard 2.2.0

* New Application generator, with unit test suites, event names and much more. * Railo support finalized, will be released later as a railo archive. * Cosmetic additions * Cleanup and optimization.


As always, thank you for your support. Please support open source. You can download the bits from the Downloads location.

ColdBox MVC, News, Releases 5

ColdBox Dashboard supports railo as an archive.

Luis Majano
Oct 15, 2008

 

The ColdBox Dashboard application is now fully functional on Railo 2.0RC and will be distributed as the Railo Archive is prepared for it. As of now, Railo fans will have to wait somewhat for the inclusion of the archive. So please bear with me as the Archive is included. As of now, the dashboard is compiled to work on Adobe ColdFusion 7 & 8, and BlueDragon 6 and 7. Thanks

ColdBox MVC 0

ColdBox: Unit Test your framework application guide!!

Luis Majano
Oct 15, 2008

 

I just updated the previous unit testing guide over at the Trac site with a much more in depth overview of unit testing in ColdBox. It covers on how ColdBox does unit testing for your handlers, how you can create unit tests, unit test suites, how to integrate to Sean Corfields' cfcUnit facade to CFEclipse's CFUnit plugin and much more. In depth with Pictures, for those fellows that like pictures better than words!! Overall, in ColdBox you can create unit tests for your event handlers, which are your application's events. You can then test the entire application without rendering any HTML. This is the first time you can unit test you entire application via events and Coldbox is the first framework to bring it to you. This helps like you have no idea!! TEST TEST TEST!! No more excuses and if it weren't that easy, the ColdBox Dashboard, when you generate an application, it will also generate the unit tests for the application. So all you have to do is fill in the blank!! Come on, is that easy!! Give it a try!!

ColdBox MVC, Tutorials, Tutorials 0

ColdBox Unit Testing your Event Handlers!!

Luis Majano
Oct 15, 2008

 

With the advent of ColdBox 2.0.1 you are now able to unit test your event handlers, plugins, etc. I just completed a step by step guide on how to do this with the provided source in the bundle. Another interesting note is that the ColdBox Dashboard generates applications for you and yes, it also generates the unit tests for it. Unit Testing Handlers Guide So click on the link above to start unit testing your handlers.

ColdBox MVC, Tutorials, Tutorials 1

ColdBox CFEclipse Dictionary & Insight. Happy 4th of July

Luis Majano
Oct 15, 2008

 

Happy 4th of July!! And to commemorate this great holiday, why not have a surprise features. Yes, CFEclipse tag insight, function and scope insight for ColdBox. You can now have insight into the major scopes of ColdBox like event, rc, controller and also all the methods that are used in event handlers, plugins, layouts and views. WOW!! A handy way of coding, and much much faster.

Event Insight

Is this awesome or what!! This will help your development as you can see the latest syntax for the major components of ColdBox. All you need to do, is download the dictionary and follow the instructions found at http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbCFEclipseDictionary

Event Insight

That is it, you will now have function and scope insight right from CFEclipse. I HAVE UPDATED THE DISTRIBUTION ZIP FILE TO INCLUDE THE CFECLIPSE DICTIONARY

ColdBox MVC, News, Releases 3