Code Monkey home page Code Monkey logo

fw1-cbvalidation-example's Introduction

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.

fw1-cbvalidation-example's People

Contributors

tonyjunkes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.