Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Qu v2 notes

Clinton N. Dreisbach edited this page Feb 14, 2014 · 1 revision

Qu v2 should be modular, and allow you to create your own Qu instance easily.

It should be made of the following components:

  • qu-core, the heart of the Qu application
  • lein-qu, a Leiningen template for building a Qu instance
  • qu-mongo, the interface to MongoDB
  • qu-postgres, a data interface to Postgres
  • qu-*, other interfaces

While we eventually want a larger plugin architecture, abstracting and plugging in the data interfaces is enough for now.

qu-core will define several protocols:

  • Query (currently exists)
  • QueryResult/DataResult (haven't decided on name; currently exists as DataResult)
  • DataSource (does not currently exist)

Use Stuart Sierra's component framework for each moving part:

  • web server
  • loader
  • query cache

Use tools.namespace for managing plugins.

Clone this wiki locally