-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Milestone
Description
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.