Another great cf.Objective() is over – Wheels


Well, another great cf.Objective() is over.  I am still in overdrive, so it is perfect time to post about the Wheels presentation.

The first part focused on the ideas behind Wheels.  Convention Over Configuration (CoC), Don’t Repeat Yourself (DRY), and Model View Controller (MVC), and Simplicity.

The second part, went over how Wheels works, server request are handled, understanding the Operation Trail (URL), and the File Structure.  This part we started by creating the normal, say controller, hello action but starting from the view, then working to the controller.  This was done to show how easy prototyping can be accomplished.

The next part, we worked on the Controller, View, and Model aspects of Wheels. This was helped by the scaffolding plugin.  We showed findOne() vs findAll(), and how to use their attributes to generate more complex sql.

For the View, we modified some of the views like deleting id field from the index.cfm and talked about helpers.

For the last part, we covered Associations and Validation in the model.

The audience asked great questions which is expected from cf.Objective.  It was great to see faces like Sean Corfield (creator of fw1), Mark Mandel (creator of Transfer), John Mason, Andy Mathews (I am pretty sure he was in the far back), and Dan Wilson (managing director of model glue) in the crowd learning about Wheels.  I think it is really great other cf frameworks can gleam ideas from each other and maybe even help each other out.

Like mentioned at the beginning of the presentation, I haven’t contributed any code to the Wheels project except for a couple plugins.  I can’t take credit for any their hard work.  I am someone who found a framework that works for  me after a long journey of trying cf frameworks.  Kudos to the Core Wheels development team and any others who have submitted code.

As for the free t-shirts, we gave them all away but have had requests for more so we maybe able to work something out.

I’ll post the code links later.

Slides – http://bit.ly/9nvTA1 (has recent speaker notes)

Outline – http://bit.ly/cngIZQ

Speaker Notes – http://bit.ly/bGEl82 (speaker notes not recent)

Final Code Examples: http://bit.ly/dlbnJv

Comments

  1. Joey says:

    Mike,
    Were there any code examples too? Cheers.

  2. Mike Henke says:

    Hi Joey, I’ll get the code up this weekend and post the link. Thanks for the interest.

  3. Mike Henke says:

    @Joey, I added the code examples. We started with the say hello example but by creating the view first, then added the controller.

    Next for code, we used the scaffolding plugin and started modifying the code and talking about it.