Skip to content

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

License

Notifications You must be signed in to change notification settings

tonyjunkes/fw1-qb-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published