Skip to content

An example of using ColdBox Validation in an FW/1 application.

License

Notifications You must be signed in to change notification settings

tonyjunkes/fw1-cbvalidation-example

Repository files navigation

FW/1 & CBValidation Example

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

Requirements

  • Lucee 5.x+
  • ACF 2016+ (Not tested)
  • FW/1 4.x+

Installation

CommandBox

  • 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!

Usage

From the project root, start CommandBox in your preferred terminal. Make sure you have included the test dependencies project dependencies by running install. Start the server by executing server start. The server instance will be located at http://127.0.0.1:8520.

NOTE: Some features of the module are not implemented. Namely, cbi18n and mixins. That won't stop you from accessing the validation features from DI/1 anywhere in your app.

Running The Application

Once the server has started, you will have a simple FW/1 application to navigate through.

Running Tests With CommandBox & TestBox

Once the server has started, you can run testbox run in the terminal to execute the tests. To view the test results in the browser, you can navigate to http://127.0.0.1:8520/tests/runner.cfm.

About

An example of using ColdBox Validation in an FW/1 application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published