URL Conventions

The default ColdBox event will be 'wiki.show', therefore, to display a wiki page, a URL of:

index.cfm?page=pageName

Is all that will be needed.

From there, editing the page would be something like:

index.cfm?page=pageName&event=wiki.edit

This will be easy to convert into SES URLs later down the track.

Object Oriented Design Conventions

We can go with a service layer approach for our domain model.

Database Design Conventions

Primary Keys

  • Table primary keys will be UUID. This will be for ease of migration and updating, and also for its database agnostic nature.

Table Naming

  • All Table names will start with a common prefix: wiki_

Column Naming

  • Column names will be prefixed with the main name of the table. e.g. on table wiki_user the first name column would be named user_fname