Skip to content

cshapiro/Litepost_CFWheels

Repository files navigation

### CFWheels Blog based on Litepost ###
### author: Cathy Shapiro ###
### cathy@flashprodesign.com ###

This project was started to create a Litepost blog in CFWheels

Convention Over Configuration in CFWheels
-----------------------------------------

IMPORTANT* 
CFWheels will look for a datasource name the same as your folder name, so if you name your DSN the same as your folder you will not need to specify a DSN in CFWheels 

DATABASE CoC*
CFWheels expects all tables to end with an 's'
CFWheels expects all ids to be named 'id'
CFWheels looks for datetime fields named 'createdAt', 'updatedAt', and 'deletedAt' in your tables and if they are present will automatically populate them

INSTALLATION

To install, create a directory called litepost 
create a new database from the litepost.sql file (located in the db folder)
Name your ColdFusion DSN 'litepost'

*If you don't name your datasource the same as your folder, you can tell CFWheels where to look for it in the config/settings.cfm file

SCAFFOLDING

Raul Riera has created a great scaffolding plugin available at cfwheels.org that I used to create all the CRUD. If you are adding more tables, you might want to check to see if there is a new version of this plugin

Adding plugins is easy in CFWheels, just download the zip file and then drop the zip into the plugins directory. CFWheels will unpack it and overwrite the previous version of the plugin

***Update 3/18/2011***
I have abandoned this project and plan to start a new blog project soon. This blog will use all CFWheels conventions. Look for it soon

About

A blog based on the litepost database structure built in ColdFusion with the CFWheels Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published