Blog

Blog Archives - 8 Record(s)

Remove Filter Year: '2008' - Month: '5'

The power of ColdBox Complex Settings.

Posted by Luis Majano
May 30, 2008 00:00:00 UTC
One of my favorite updates to 2.6.0 is the ability to create complex elements on my settings using JSON notation. In previous versions, you had a very limited JSON notation, but now you have the full fledged notation. This is particularly useful if you want to override settings using the environment interceptor. You can actually override datasource elements or any part of the configuration file. It becomes tricky when overriding structures, but the notation helps out incredibly. Let's say that I have a datasource declaration like this on my coldbox configuration file:

But I would like to override or maybe add another datasource element. If I want to override then I can create a setting element on my environment file that can look like this:

This will override the datasources structure with the JSON inflated structure. This is really helpful when overriding complex variables and also for setting up new complex settings.

ColdBox Repository Updates

Posted by Luis Majano
May 30, 2008 00:00:00 UTC
Just some notification that the src folder in the repository has been refactored to make it easier on builds. The folder is now called testharness and the system folder has been pulled out to the root to keep consistency with the actual build.

I have slacked off on this updated, but finally here. So if you do auto builds from SVN, please update.

ColdBox 2.6.0 RC 1 and more news.

Posted by Luis Majano
May 23, 2008 00:00:00 UTC

After much hard work by Team ColdBox, we are glad to put out our first release candidate. Below are some of the new features introduced and the fixes introduced in the release candidate. So please enjoy this release as we approach a final 2.6 version. We will probably have one more release candidate before release and we need all the testing you can give us. If you would like to find out all about the 2.6.0 release, please visit the What's New page in our wiki. Also, please remember that there are a few compatibility issues with version 2.5.X, that may or may not apply to you, so please read the Compatibility Guide to learn if you need to alter something or not. The documentation revisions have started for version 2.6 and all documentation is right now in constant update, not only in English, but in Spanish and Japanese. We are also looking for people or companies interested in the translation efforts, if you are interested, please contact us at [email protected] for more information of how to partner with ColdBox.

Download RC 1

New Features

  • Plugin/Handler Cache integration services re-built. This provides a huge performance boost on object retrievals..
  • New method: uploadFile() on the Utilities plugin for easy file uploading
  • Environment interceptor re factored to include a new method: detectEnvironement() that can be easily extended by your own custom environment interceptor. This will allow you to do any kind of detection algorithm.
  • Query Helper new method: filterNull(qry, field, NULL or IS NOT NULL) a cute utility method to filter out rows.
  • Autowire interceptor can now read cfproperty tags from plugins/handlers/interceptors or anything you send to it. So now the interceptor can inject via cfproperty annotations or via setters. I like cfproperty because of the following:

  • As you can see from above, the cfproperty tag will grab all the properties of type ioc and then will inject them into the object according to the scope attribute you provide. The default scope is the variables scope. How cool is that. The interceptor will still search for setters and will inject them via setter injection if they have not been injected before. cfproperty takes precedence over the setter.
  • The Attesoro i18n tool has been updated to version 1.8
  • The JavaLoader utility has been updated to version 0.6
  • The request context decorator now receives a reference to the ColdBox controller and a getController() method. You can now develop even richer request context objects by using settings, plugins, or anything that you have available from the ColdBox controller. This really expands on the effectiveness of building request context decorators.
  • Interceptor Service: you now have the ability to register and unregister interceptors at runtime. You don't even need to declare them via the config if you want. You can load them up at runtime. You can even now append custom interception points at runtime. This is a great features that can provide auto-registration systems or drop and play functionality to systems by just tapping into the API and register interceptors and observers. Not only that, but you know have access to retrieve the state containers so you can build your own debugging panels, or interact with any of the observable states. You can add/remove and do all kinds of reporting via the interceptor service API.

Bug Fixes-Optimizations

  • Handler dictionaries not clearing on reinitializations or auto reloads
  • ColdBox factory missing a throw() method
  • Unnecessary creation of request context objects during a request. Instead of creating just one it was re-creating about 5-6 objects. This has been fixed and optimized. A common request was optimized by over 100-300 ms due to this bug.
  • ColdBox reader sample application bugs and fixes
  • Flex Tester sample application bugs and fixes
  • Transfer Sample application bugs and fixes
  • Logger plugin was appending an extra OS slash on the log full path
  • Login Sample application refactored
  • Autowire interceptor was not correctly traversing the inheritance tree to find dependencies
  • Handler Service error on exception string when no handlers found in system.
  • Debugging panel css/html cleanup.
  • More unit testing and complete migration to MXUnit for all our test cases and suites.

ColdBox and MVC Demystified.

Posted by Luis Majano
May 21, 2008 00:00:00 UTC
I just updated the ColdBox MVC Guide to help newbies to the whole framework and object oriented approaches get an understanding of how to apply its uses. I am starting a whole set of newbie guides on the wiki to not only guide on Coldbox, but also on basic object oriented principles and guidelines. Your input is much appreciated and also resource links are much appreciated.

ColdBox + Open BlueDragon

Posted by Luis Majano
May 14, 2008 00:00:00 UTC
Sana Ullah of the ColdBox team, just sent me this image. The image says it all, ColdBox + OpenBlueDragon like each other.

CFObjective 2008 Advanced Workshop Resources posted

Posted by Luis Majano
May 04, 2008 00:00:00 UTC
I just posted my Advanced Workshop session given today. It was a great presentation and attendance. If you where not there, you can still check it out by going to the wiki presentations area. The presentation shows all the demos we should have done, I am also uploading the complete workshop source code and the script that was my guide to create the demos.

As a side note, I will be translating the demos to screencasts so you can follow along. It should take me a few weeks, but they will get there.

CFObjective ColdBox Framework 101 session posted

Posted by Luis Majano
May 03, 2008 00:00:00 UTC
I just posted my 101 Framework session given this Friday. It was a great presentation and attendance. If you where not there, you can still check it out by going to the wiki presentations area.

ColdBox Documentation Internationalization Project is here!!

Posted by Luis Majano
May 02, 2008 00:00:00 UTC
This is an announcement that an internationalization translation project is way on its way for the ColdBox documentation. If you go to the official wiki site, you will see two new languages: Japanese and Spanish.

The entire docs are being translated now to these languages and should be done by version 2.6 release if possible. Also, a new group has been created for ColdBox Translators. So if you are interested in helping out in the translation process, become an official translator or just help out, please email us at [email protected]. Right now we have one Japanase translator and one Spanish translator. So please contribute if you have time.

Site Updates

Archives

Entries Search