Menu

ColdBox is a “ColdFusion (CFML) Conventions Based MVC Framework. It provides a set of reusable code and tools that can be used to increase your development productivity as well as a development standard for working in team environments” – http://www.coldbox.org/.

Before we can use this framework to create a web application, let’s quickly get started with a skeleton setup of ColdBox.

Unzipped the ColdBox Bundle, and copy the coldbox folder to your webroot. If inetpub/wwwroot is your webroot, then you should now have a folder called coldbox under there.

Select one of the ColdBox templates from the ApplicationTemplates folder in the unzipped ColdBox Bundle. You can choose from the following templates:

Advanced (if you like to use CF tags)

AdvancedScript (if you like to use CFScript)

REST

Simple

SuperSimple

Rename this template folder to your application name, and place it under your webroot in a location of your choice, e.g. inetpub/wwwroot/apps/myColdBoxApp

Browse the main page to confirm that ColdBox loads (e.g. inetpub/wwwroot/apps/myColdBoxApp/index.cfm). You should see something similar to this page loading (although your version number maybe different to mine):

2. Install Solitary Security Module for ColdBox

Create a new blank database on the database server that will hold the data for this application, including the users and roles for the security module we are about to install

Assign db_dataread, db_datawrite, and db_ddladmin database roles for the Windows user that will access this new database

Log into ColdFusion Admin and create a new data source for this new database