Skip to content

New API for writing list queries #55

@zyxist

Description

@zyxist

The existing API for data tables is quite good, but also quite limiting and counter-intuitive in some places. Especially, it is strictly tied to JS datatables.

We want to have a new API, where:

  • each query is provided as a separate class,
  • we can specify filters for certain fields,
  • support post-processing (e.g. adding pre-generated links),
  • separate the output generation from the data retrieval,
  • support multiple outputs and output negotiation.

A very nice-to-have feature would be automatic generation of filter forms, using the information gathered from the query instance.

The new API shall be available in Cantiga\Components\Data\Query namespace.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions