An example of using QB as a Subsystem in an FW/1 application.
ColdFusion
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Update example to use qb v5 Oct 26, 2017
src fix indents in codes take 2 Oct 26, 2017
.gitignore Update example to use qb v5 Oct 26, 2017
LICENSE Initial commit Jul 3, 2017
README.md Update README.md Mar 17, 2018
box.json Update example to use qb v5 Oct 26, 2017
server.json Update structure Aug 20, 2017

README.md

FW/1 & QB Example

An example of using QB as a Subsystem in an FW/1 application.

How to use:

  • Make sure you have Commandbox installed.
  • Clone the repo or drop the zipped contents into a directory.
  • Fire up Commandbox by entering box in your terminal and cd into the project root directory.
  • Run install && start.
  • Start hacking away!

No database required! - The example application uses an H2 database that is defined in Application.cfc. See below.

NOTE: This example application is currently set up to support Lucee 4.5+. If you choose to use Lucee 5, you will need to install the H2 extention from the admin. For Adobe ColdFusion to, you will need to either implement the setup for an H2 database yourself or use a different database all together.

To clear or rebuild the database example data, go to either URL:

  • /db/clear
  • /db/populate

Changes in 0.3.0

  • Updated qb to version 5!
  • Replaced regular queryExecute() calls for creating the database schema with qb's SchemaBuilder. Added in version 5
  • Refactored the example application to use FW/1's newer lifecycle structure. See: Alternative Application Structure