My favorites | Sign in
Project Logo
                
Search
for

NOTE: This wiki contains "bleeding edge" documentation, which may reflect a future version of Wheels. Entries in the wiki may also be incomplete and unedited. Please visit cfwheels.org/docs for the "official" documentation.

Introduction

Handling Requests With Controllers

Database Interaction Through Models

Displaying Views to Users

Working With Wheels

Contributing to Wheels

Sample Applications

The Wheels API

* Not scheduled for the 1.0 release.

Updated Nov 20, 2009 by ch...@clearcrystalmedia.com
Labels: chapter, 1.0, draft
Administration  
Sample application for a simple administrative interface.

This sample application is full of comments, so it's a good way to learn Wheels if you prefer playing around with code rather than reading more abstract tutorials.

This sample application covers how to set up validation rules on a model, make a form for it, save to the database, and so on.

Instructions

Create a new database with a table named users containing the following columns:

Name Type Nullable Primary Key
id int, identity No Yes
firstname varchar(100) No No
lastname varchar(100) No No
email varchar(100) No No
password varchar(20) No No

Add a data source in the ColdFusion or Railo Administrator named cfwheelsUserAdministration, pointing to your new database.

Once that's all done, just download, unzip, and run the application. (It includes with ColdFusion on Wheels 1.0.)

Download

Download Administration Sample


Sign in to add a comment
Hosted by Google Code