An Architect's View

ColdFusion, Software Design, Frameworks and more...

An Architect's View

Fusebox 5.1 - Something for OO programmers too!

December 24, 2006 · 1 Comment

Whilst Fusebox has always been, at heart, a framework that solidly targets procedural programmers, recent releases have increasingly offered facilities for object-oriented programmers as well. Fusebox 4.1 introduced the <class> declaration tag as well as the <instantiate> and <invoke> verbs. Fusebox 5.0 added the <appinit> global fuseaction and the fusebox.appinit.cfm file primarily to support CFC initialization at application startup. That release also added the <argument> child tag for the <invoke> verb to make CFC use easier. Fusebox 5.1 provides sample lexicons for using ColdSpring and Reactor (thanx to Nathan Strutz and Qasim Rasheed). I hope the community will contribute additional lexicons for dealing with CFCs (I'd like to see a lexicon for Transfer, for example). Fusebox 5.1 also provides an object-oriented wrapper for the Fusebox attributes "scope" (the struct that holds URL and form variables). The new event variable is a bean that encapsulates attributes and provides getValue() / setValue() / hasValue() methods which will be more natural for OO developers using Fusebox.

Tags: coldfusion · fusebox

1 response so far ↓

  • 1 shimju // Dec 25, 2006 at 12:15 AM

    Thats Cool!

Leave a Comment

Leave this field empty: