The Ortus BlogBox

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


SES interceptor update for ColdBox 2.5.1

Luis Majano
Oct 15, 2008


Matt Quackenbush submitted this unusual behavior a few days ago and I was finally able to reproduce and fix today. Here is his excerpt:

If I browse to http://localhost/myApp/index.cfm/main/dspHome (or any other explicitly-called event), everything is good to go. However, if I browse to http://localhost/myApp/ or http://localhost/myApp/index.cfm, an exception is thrown that says: The event handler: index.cfm.dspHome is not valid registered event.
ColdBox MVC, Interceptors, Tutorials 1

ColdBox Interceptors Guide updated: Dependency Injection & LifeCycle

Luis Majano
Oct 15, 2008


The ColdBox interceptors guide has been updated with some new cool approaches on how to deal with interceptor dependencies and their life cycles. You can see how they get created and configured so you don't go in loops to know the actual process. The injection of dependencies is also demonstrated when using an IoC framework like ColdSpring/Lightwire and even when you are not.

ColdBox MVC, Interceptors, Tutorials 0

Speaking at CFUNITED 2008

Luis Majano
Oct 15, 2008


I will be speaking at CFUNITED 2008 this year in Washington, DC. I am super excited since I have never been to a CFUNITED conference. So it will be a first experience speaking and attending. My topic will be on ColdBox of course. So if you haven't registered for this conference, then do so now!!

ColdBox MVC, Conferences, Events 3

CF.Objective ColdBox Hands On, Need your Input!!

Luis Majano
Oct 15, 2008


I am super excited to be able to be part of CF.Objective this year. I attended last year and it was an incredible conference. If you have not registered for it, please do. Now, I need your input on what exactly to show on the hands on session. Below is my outline of what I would like to show. However, if you have a specific idea on the topics below, please comment.

ColdBox MVC, Community, Conferences, Events 1

ColdBox 2.5.2 update coming : autowire delight!!

Luis Majano
Oct 15, 2008


For those of you interested in downloading the daily build, I have let
the cat out of the bag today, in which we will have version 2.5.2 in the next coming weeks.

Why the update if we are on schedule for 2.6? Well, these features where left out of 2.5 until I was sure they where ok and now they are.

So what does the update include:

1. Two new interception points: afterHandlerCreation, afterPluginCreation

2. Fixes for using the coldboxproxy with event gateways (Thanks Tom!)

3. API documentation

4. Lightwire updated to include "containsBean" method

5. Due to the popularity of the flash RC persitance via setNextEvent and setNextRoute, the method has been now exposed to the controller and all plugins/handlers/interceptors. You can now persist variables from the collection into the flash RC Ram via the method:

"persistVariables(comma-delimmited list of keys)".

You can now use it to persist on demand. (Thanks Mark!!)

6. One new interceptor: autowire.cfc

This amazing interceptor will autowire your handlers and plugins with beans from the ioc plugin (whether coldspring or lightwire). So you can easily autowire your handlers and plugins with service objects or whatever you want. Man, am I gonna have to configure mooore stuff. Well, not thanks to conventions and metadata. All you do is:

- Declare the 'autowire=true' in your cfcomponent declaration.

- Then just create the getter/setters for your services (*They have to
be the same name as the bean names in your configurations)

And that is IT!!! No configuration, just add the "autowire" metadata parameter
to your handlers and plugins, create the getters and setters and you
are ready to roll.

The interceptor declaration would be:

The debugmode property just spits out to the log files any errors or
information stuff.

So there you go, one more surprise coming probably in about a week and
2.5.2 is a go!!

Enjoy the autowire interceptor!!

ColdBox MVC, News 1

SSL Interceptor by Ernst van der Linden

Luis Majano
Oct 15, 2008


Ernst has just posted his code for an ssl interceptor he just created. It looks awesome so take a look for yourself.

ColdBox MVC, Interceptors, News 4

SSL Interceptor does specific events now, great stuff Ernst

Luis Majano
Oct 15, 2008


Ernst has been busy and has updated his SSL Interceptor to do specific events and even pattern matching for events. So check his article out, truly nice work!!

ColdBox MVC, Interceptors, Tutorials 0

Russ Johnson on ColdBox Viewlets!!

Luis Majano
Oct 15, 2008


Russ Johnson, of Team ColdBox, has written a pretty nifty tutorial on ColdBox Viewlets. From the docs:

A viewlet to me is a self sufficient view. A view that can live on its own, its data is pre-fetched and can just be renderer as is. What in the world is this? Well, imagine a portal, in which each section of the portal is self-sufficient, with controls and data. You don't want to call all the handlers for this data for every single piece. Its not efficient, you need to create a separation. Well, a viewlet is such a separation and all it comes down to, its that its a view that calls an event for data preparation. You can simulate this to a page controller.
ColdBox MVC, Tutorials, Tutorials 0

Spry and ColdBox, what a great combination!

Luis Majano
Oct 15, 2008


Ernst van der Linden has just finalized his Spry Plugin for ColdBox and it totally rocks. It really simplifies the usage of Spry within any ColdBox application. Not only that, but he has compiled an incredible demo application that you can even download and check out online. The demo shows off some of the techniques, but you can do so much more. You can also find more plugins and interceptors at the ColdBox Code Depot Live Demo So please enjoy this great addition.

ColdBox MVC, News, Plugins, Tutorials 0

ColdBox 2.5.2 and New Official ColdBox Website Released Today!

Luis Majano
Oct 15, 2008


ColdBox 2.5.2 is now available! This is an important update that will fix several bugs and some new updates. Also, not only is the new version out, but the new Official ColdBox Website. It has a spanking new look and its full of information for all users. There are several announcements on it, as well as the starting point of turning ColdBox into a Professional Open Source Project. So 2008 will sure be an interesting year for ColdBox, so stay tuned as the website gathers momentum and the next versions are already in the works.

As a sidenote, the entire new website is based on the following technologies that ColdBox recommends as a base for all web development projects:

ColdBox MVC, News, Releases 7