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
boxin your terminal and
cdinto the project root directory.
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:
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