Flattened searching: generalized data retrieval via public service
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 20 Mar 2012 22:44:42 +0000 (18:44 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 22 Mar 2012 14:57:30 +0000 (10:57 -0400)
commit6637e7a489bc816fb9697d57ea38f1c056ab1e4a
tree03d1d6b0e4b9033f1d7fb8379a0415a548573cd6
parent16c872eb017b38dcfbeac9addc21edde1eacbfd5
Flattened searching: generalized data retrieval via public service

For a better overview of what this feature is about than what I could
write here, see docs/TechRef/Flattener/design.txt in this commit.

This is the first new feature (as far as I know) to take advantage of
PCRUD fleshing. Very briefly, imagine issuing a query to PCRUD with lots
of arbitrarily deep fleshing, and getting back a set of flat rows with
the fields you need for display/editing/whatever all neatly picked out
as if ready to be displayed in a table or grid-based UI.

A Dojo grid that knows how to use this can potentially replace and avoid
lots of relatively complex (AutoGrid + custom middle layer
methods)-powered interfaces.  AutoGrid interfaces that just work with
one fieldmapper class at a time, more or less, can just keep doing what
they're doing. Little or no advantage to switcihing to flattened data
in that case.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Fielder.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Flattener.pm [new file with mode: 0644]
docs/TechRef/Flattener/design.txt [new file with mode: 0644]