CFWheels is a ColdFusion framework that’s based on the same principles used in Ruby on Rails. Learn more at cfwheels.org.
I wanted to learn how to think in this framework, so I bought a great book — Head First Rails. It really explains the philosophy of Rails development with getting bogged down in too much Ruby.
Both to further my own learning and to help others who might have the same interests, I decided to blog about converting some of the Head First Rails examples to CFWheels.
Here are the posts that relate to this project:
Chapter 1: getting started. Really Rapid Rails
- CFWheels Scaffolding Basics – Learn how to quickly create a CFWheels application with scaffolding. Pages 1 – 18.
- Editing the View in CFWheels – Learn how to find and edit the view files. Also, how to add a new field to the database table. Pages 19 – 37.
- CFWheels — Adding a new table with model, view, and controller. Learn how to add a new table and set everything up. Pages 38 – 44.
Chapter 2: beyond scaffolding. Rails apps, made to order
- CFWheels — Creating a Custom Model – Setup the database and model for the MeBay Application. Pages 45 – 51.
- CFWheels — Creating a Custom Controller and View – Setup the initial Controller and View for the MeBay Application. Pages 52 – 55.
- CFWheels — How to Setup and Use Routes – Learn how routes work in CFWheels to provide convenient, pretty URLs. Pages 56 – 62.
- Fixing the Controller and View – How to make the ads actually display by fixing the controller and view. Pages 63 – 72.
- Adding a Custom Index Page – How to add an index page and along with the required route, controller, and view. Pages 73 – 92.
- Using Layouts and Styling in CFWheels – How to use layout files and Stylesheets. Pages 93 – 101.
Chapter 3: inserting, updating, and deleting.