An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

FW/1 2.0 Release Candidate Available

September 16, 2011 ·

Framework One 2.0 just reached Release Candidate status. Apart from documentation updates, there no remaining open issues. Version 2.1 will focus on Mura plugin interop, an overhaul of the request scope and addition of tracing.

As per the recent Beta release, the main new features (in no particular order) are:

  • custom URL routes with parameter substitution are supported, along with HTTP method restrictions and wildcard routes
  • setLayout() to override layout conventions
  • view() can be called from a controller, as a way to render email or documents for PDF delivery etc
  • controller/service execution can be short-circuited, providing more control over the request lifecycle
  • populate() and autowiring now support property-based injection as well as setter-based injection
  • additional lifecycle hooks for global before() / after() and pre-rendering setupView() - Beta adds setupResponse()
  • baseURL is configurable per-request and per-subsystem (new in Beta)
  • option to not lowercase actions for view lookup - caveat programmer! (new in Beta)
  • ".item" action is now relative to current section instead of default section (new in Beta)
  • complete rewrite of the code to use cfscript - for Adobe ColdFusion 9.0.1 and Railo 3.2.2 or later

In particular, note the last bullet - if you are on earlier CFML engines, you will have to stick with FW/1 1.2 (there will be a 1.3 maintenance release). The mix of tags and script was driving me crazy and I didn't want to add all this new functionality with the code as it is!

Tags: coldfusion · fw1

3 responses

  • 1 Alex // Sep 22, 2011 at 6:31 AM

    Thanks for all your work on this. FW/1 makes life so much better. CF and FW/1 is RAD taken to the extreme. I would seriously pay for this if I had to. But don't get any ideas.
  • 2 Rob // Sep 30, 2011 at 9:02 AM

    Thank you for continuing to work on and support FW/1
  • 3 Sean Corfield // Oct 16, 2011 at 4:10 PM

    RC1 is now available. It fixes the issues reported with buildURL().