Released Today: ColdFusion on Wheels 0.9.4


We’ve just released ColdFusion on Wheels version 0.9.4 today on CFWheels.org. Thanks to Per Djurner, Tony Petruzzi, and James Gibson for contributing new features and improving the stability of the framework. And thanks to the community for feedback and supporting our efforts. Our presence is really starting to grow.

Improvements

  • There is a new labelPlacement argument on all form helpers that gives you more control over the label tag.
  • The error email now includes more information and also uses the global defaults you have set on sendEmail().
  • When linking you can now leave out the controller and action arguments and the link will point to the current page.
  • The rendering functions now accept a returnAs argument that you can set to “string” when you want to return the result for more processing instead of just displaying it right away.
  • … and more minor changes and bug fixes.

New Functionality

  • All finder methods (findByKey(), findAll(), etc.) can now return either an object, multiple objects in an array, or a query result set. You can decide what you want back by setting the returnAs argument to “object”, “objects” or “query”. The convention is still to return an object when dealing with single records and queries when dealing with multiples.
  • You can now specify a calculated property (maps to a SQL statement instead of directly to a table column) on a model that you can then reference in finders (selecting, ordering by it, etc).
  • The includePartial() function can now handle an array of objects (similar to the way it can iterate over a query).
  • You can pass in a field name in the group argument of includePartial(), and it will call the partial once for each group and pass in a sub query.
  • When specifying a hasMany association, you can now inform Wheels to create a shortcut to an additional model through a join table (very useful when dealing with many to many relationships).
  • You can now edit multiple objects of the same class in the same form, Wheels will automatically create nested structs in the params struct on the receiving end.

Documentation Improvements

Along with this release, I’m personally excited to announce that all of the chapter listings are hyperlinked in the Documentation section.

Here’s what’s new:

We also added information to and improved the following chapters:

Now is the time to try out ColdFusion on Wheels if you’ve been on the fence. We’re pretty much locked on features until we release 1.0 in a couple months.

Comments

  1. I have to be honest, I’ve not had chance to look at installing and using Wheels yet but really do like some of things I’m seeing and I’m a big fan of frameworks. Looks like you guys are making some really excellent progress! When I’ve got a few free moments I’ll have to play around with it.

  2. Chris Peters says:

    Thanks Robert. We’re really going full-force at this time, so I’m hoping that our excitement about what we’ve accomplished will be contagious!

  3. bryce says:

    Note to Chris:

    It is.

    Contagious, that is.

  4. excellent job with the documentation chris!!!! man they look good!

  5. Chris Peters says:

    You know, Raul did a lot of work on documentation too. I kind of feel like a boob for not mentioning him. Crap! Thanks Raul!

  6. Per Djurner says:

    Chris, I completely understand that you left him out. It’s a pain in the ass to mention him because of all those weird characters in his name 😉

  7. Chris Peters says:

    Ha, I’ll be thanking Raul way too much in the future to make up for it. It’ll probably be pretty annoying, but that’s how I roll.

    Hopefully he’ll have the same sense of humor about this as you do. 😉

  8. Peter Amiri says:

    Great job to everyone, Raul included ;-), for getting this release as solid as it can get.

  9. John Farrar says:

    Are you guys going to ever get to 1.0? (Pitty the girl waiting for one of you guys to propose or actually set a wedding date! LOL… teasing sorta.)

  10. Per Djurner says:

    @John: Yes, in November! 🙂

  11. Peter Amiri says:

    John notice how he’s not committing to a year. 😉 Seriously though we’ve been working on this framework for so long and it is starting to show. This will be the third November that I’ve been involved. It feels very solid and the docs are catching up to the coding. Stay tuned we’ll announce a date soon…