Quick is an ORM (Object Relational Mapper) written in CFML for CFML. It provides an ActiveRecord and Service-based implementation for working with your database. With it you can map database tables to components, create relationships between components, query and manipulate data, and persist all your changes to your database.
Curious why you would want to use Quick? Check out our explanation here.
You need the following configured before using Quick:
Configure a default datasource in your CFML engine
ColdBox 5+
Add a mapping for quick
in your Application.cfc
Configure your BaseGrammar
in config/ColdBox.cfc
See Getting Started for more details.
Quick supports all databases supported by qb.
Here's a "quick" example to whet your appetite.
We'll show the database structure using a migrations file. This isn't required to use quick
, but it is highly recommended.
Now that you've seen an example, dig in to what you can do with Quick!
Quick is backed by qb. Without qb, there is no Quick.
Quick is inspired heavily by Eloquent in Laravel. Thank you Taylor Otwell and the Laravel community for a great library.
Development of Quick is sponsored by Ortus Solutions. Thank you Ortus Solutions for investing in the future of CFML.
Development of Quick 3.0.0 was heavily sponsored and tested by AvoyaTravel.